Dihybrid Cross Calculator – Punnett Square Tool
Biology May 10, 2026 22 views

Dihybrid Cross Calculator – Complete Guide with Punnett Square

Use our dihybrid cross calculator to predict genotype and phenotype ratios quickly with an easy Punnett square tool.

Calculator Tool

Dihybrid Cross Calculator
⚠ Please complete all fields before calculating.

Mother's Genotype

/
/

Genotype: AaBb
Gametes:

Father's Genotype

/
/

Genotype: AaBb
Gametes:

4×4 Punnett Square

← Scroll to see full table →

Dom/Dom
Dom/Rec
Rec/Dom
Rec/Rec

Genotype Probabilities

Genotypic Ratio
Phenotypic Ratio

Phenotype Outcomes

📘 Method and formulas

What is a Dihybrid Cross?

A dihybrid cross examines two traits simultaneously. Each parent contributes alleles for both traits, producing a 4×4 Punnett square with 16 possible offspring combinations.

Gamete Formation (Law of Independent Assortment)

A parent AaBb produces 4 gametes:

AB, Ab, aB, ab — each with 25% probability

Classic AaBb × AaBb Ratios

Genotypic: 1:2:1:2:4:2:1:2:1
Phenotypic: 9:3:3:1

Phenotype Rules

  • A_ B_ → Dominant both (9/16)
  • A_ bb → Dom Trait 1, Rec Trait 2 (3/16)
  • aa B_ → Rec Trait 1, Dom Trait 2 (3/16)
  • aa bb → Recessive both (1/16)
Dihybrid Cross Calculator – Complete Guide with Punnett Square (2025)

Whether you are a biology student, genetics teacher, or just curious about how traits are inherited, this complete guide explains everything about the dihybrid cross calculator, how to draw and read a dihybrid Punnett square, and how to interpret the classic 9:3:3:1 phenotypic ratio — with real worked examples and a free interactive calculator at the top of this page.

What Is a Dihybrid Cross?

A dihybrid cross is a genetic experiment — or a mathematical prediction tool — that examines the simultaneous inheritance of two different traits, each controlled by a separate gene located on different chromosomes. The word comes from:

  • Di — meaning "two" (two traits)
  • Hybrid — offspring from parents with different alleles for a trait

This concept was first demonstrated by Gregor Mendel (1822–1884), the father of modern genetics, through his famous experiments on pea plants (Pisum sativum). Mendel crossed plants that differed in seed color (yellow vs. green) and seed shape (round vs. wrinkled) at the same time — a textbook dihybrid cross.

Key Terminology You Must Know

Essential Genetics Terms for Dihybrid Crosses
Term Definition Example
Allele A variant form of a gene A (yellow) or a (green)
Dominant allele Expressed even when only one copy is present A in AA or Aa
Recessive allele Only expressed when two copies are present a in aa
Genotype The actual genetic makeup of an organism AaBb
Phenotype The observable physical trait expressed Yellow, round seeds
Homozygous Two identical alleles for a gene AA or aa
Heterozygous Two different alleles for a gene Aa
Gamete A reproductive cell (sperm or egg) carrying one allele per gene AB, Ab, aB, ab

What Makes a Cross "Dihybrid"?

A cross is called dihybrid when both parents are heterozygous for both traits — written as AaBb × AaBb. This is the most commonly tested scenario in biology classes because it produces the famous 9:3:3:1 phenotypic ratio. However, a dihybrid cross calculator can handle any combination of parent genotypes, not just the classic AaBb case.

Notation Used in Dihybrid Crosses

  • A, B — uppercase letters represent dominant alleles
  • a, b — lowercase letters represent recessive alleles
  • AABB — homozygous dominant for both traits
  • AaBb — heterozygous for both traits (the classic dihybrid parent)
  • aabb — homozygous recessive for both traits

Dihybrid Punnett Square – How It Works

A dihybrid Punnett square is a 4×4 grid used to predict all possible offspring genotypes from a two-trait cross. Unlike the simpler 2×2 monohybrid Punnett square, the dihybrid version has 16 boxes — one for each possible combination of gametes from both parents.

Why 16 Boxes?

Each parent with genotype AaBb can produce 4 different gametes: AB, Ab, aB, and ab. When you cross one parent's 4 gametes against the other parent's 4 gametes, you get 4 × 4 = 16 possible offspring combinations.

Structure of the Dihybrid Punnett Square

Dihybrid Punnett Square: AaBb × AaBb
♂ \ ♀ AB Ab aB ab
AB AABB AABb AaBB AaBb
Ab AABb AAbb AaBb Aabb
aB AaBB AaBb aaBB aaBb
ab AaBb Aabb aaBb aabb

Gamete Formation: The Law of Independent Assortment

Each parent produces gametes through meiosis. According to Mendel's Law of Independent Assortment, alleles for different genes segregate independently into gametes. So a parent with genotype AaBb will produce four gamete types in equal proportions:

Gametes Produced by an AaBb Parent
Gamete Allele from Trait 1 Allele from Trait 2 Frequency
AB A (dominant) B (dominant) 25%
Ab A (dominant) b (recessive) 25%
aB a (recessive) B (dominant) 25%
ab a (recessive) b (recessive) 25%

How to Read the Dihybrid Punnett Square

Each cell in the Punnett square represents one possible offspring genotype. Since all 16 cells are equally likely, each one represents a 1/16 (6.25%) probability. If the same genotype appears in multiple cells, its probability increases proportionally.

For example, in the AaBb × AaBb cross above:

  • AaBb appears in 4 out of 16 cells → probability = 4/16 = 25%
  • AABB appears in 1 out of 16 cells → probability = 1/16 = 6.25%
  • aabb appears in 1 out of 16 cells → probability = 1/16 = 6.25%

Dihybrid Cross Punnett Square – Step-by-Step Example

Let's solve a complete dihybrid cross Punnett square problem from start to finish using Mendel's original pea plant experiment as the example.

The Problem

A yellow, round-seeded pea plant (AaBb) is crossed with another yellow, round-seeded pea plant (AaBb). Predict the genotype and phenotype ratios of the offspring.

  • Trait 1 — Seed Color: A = Yellow (dominant), a = Green (recessive)
  • Trait 2 — Seed Shape: B = Round (dominant), b = Wrinkled (recessive)

Step 1 – Identify Parent Genotypes

Both parents are AaBb — heterozygous for both seed color and seed shape.

Step 2 – List All Possible Gametes

Using the FOIL method (combining one allele from each gene):

  • Parent 1 (♀): AB, Ab, aB, ab
  • Parent 2 (♂): AB, Ab, aB, ab

Step 3 – Fill the 4×4 Punnett Square

Complete Dihybrid Cross: Seed Color × Seed Shape (AaBb × AaBb)
♂ \ ♀ AB Ab aB ab
AB AABB
Yellow, Round
AABb
Yellow, Round
AaBB
Yellow, Round
AaBb
Yellow, Round
Ab AABb
Yellow, Round
AAbb
Yellow, Wrinkled
AaBb
Yellow, Round
Aabb
Yellow, Wrinkled
aB AaBB
Yellow, Round
AaBb
Yellow, Round
aaBB
Green, Round
aaBb
Green, Round
ab AaBb
Yellow, Round
Aabb
Yellow, Wrinkled
aaBb
Green, Round
aabb
Green, Wrinkled

Step 4 – Count the Phenotype Outcomes

Phenotype Results from AaBb × AaBb Cross
Phenotype Genotypes Included Count (out of 16) Probability Ratio Part
Yellow & Round (A_ B_) AABB, AABb, AaBB, AaBb (×4) 9 56.25% 9
Yellow & Wrinkled (A_ bb) AAbb, Aabb 3 18.75% 3
Green & Round (aa B_) aaBB, aaBb 3 18.75% 3
Green & Wrinkled (aa bb) aabb 1 6.25% 1

Final Phenotypic Ratio: 9 : 3 : 3 : 1

Step 5 – Verify Using the Product Rule

You can also calculate dihybrid probabilities by multiplying the individual monohybrid probabilities. For Aa × Aa: P(A_) = 3/4, P(aa) = 1/4. For Bb × Bb: P(B_) = 3/4, P(bb) = 1/4.

  • P(A_ B_) = 3/4 × 3/4 = 9/16
  • P(A_ bb) = 3/4 × 1/4 = 3/16
  • P(aa B_) = 1/4 × 3/4 = 3/16
  • P(aa bb) = 1/4 × 1/4 = 1/16

This product rule shortcut is why a dihybrid cross calculator is so powerful — it automates both methods simultaneously.

Understanding the 9:3:3:1 Phenotypic Ratio

The 9:3:3:1 ratio is the hallmark result of a dihybrid cross between two double heterozygous parents (AaBb × AaBb). It is one of the most important ratios in all of genetics.

What Each Number Means

The 9:3:3:1 Dihybrid Cross Ratio Explained
Ratio Part Phenotype Fraction Percentage Genotype Pattern
9 Dominant for BOTH traits 9/16 56.25% A_ B_ (at least one A and one B)
3 Dominant Trait 1, Recessive Trait 2 3/16 18.75% A_ bb
3 Recessive Trait 1, Dominant Trait 2 3/16 18.75% aa B_
1 Recessive for BOTH traits 1/16 6.25% aa bb

When Does the 9:3:3:1 Ratio NOT Apply?

The 9:3:3:1 phenotypic ratio only appears under specific conditions. It breaks down when:

  • Gene linkage: The two genes are located on the same chromosome and are inherited together more often than expected
  • Incomplete dominance: Heterozygotes show an intermediate phenotype (e.g., red × white = pink)
  • Codominance: Both alleles are fully expressed simultaneously (e.g., AB blood type)
  • Epistasis: One gene masks the expression of another gene
  • Non-heterozygous parents: If either parent is not AaBb, a different ratio results

A dihybrid cross calculator handles all standard genotype combinations, while the 9:3:3:1 ratio is specific to the classic AaBb × AaBb scenario.

Genotypic Ratio of a Dihybrid Cross

While the phenotypic ratio is 9:3:3:1, the genotypic ratio is more detailed because it distinguishes between genetically different organisms that look the same (e.g., AABB and AaBb both appear yellow and round, but have different genotypes).

Complete Genotypic Ratio for AaBb × AaBb
Genotype Count (out of 16) Percentage Zygosity
AABB 1 6.25% Homozygous dominant both
AABb 2 12.50% Homozygous A, Heterozygous B
AAbb 1 6.25% Homozygous dominant A, recessive b
AaBB 2 12.50% Heterozygous A, Homozygous B
AaBb 4 25.00% Heterozygous both (most common)
Aabb 2 12.50% Heterozygous A, Homozygous recessive b
aaBB 1 6.25% Homozygous recessive a, dominant B
aaBb 2 12.50% Homozygous recessive a, Heterozygous B
aabb 1 6.25% Homozygous recessive both

Genotypic ratio: 1 : 2 : 1 : 2 : 4 : 2 : 1 : 2 : 1

Notice that AaBb is the most common genotype at 25%, because there are four different gamete combinations that can produce it: (AB + ab), (Ab + aB), (aB + Ab), and (ab + AB).

Monohybrid vs Dihybrid Cross – Key Differences

Understanding the difference between a monohybrid and dihybrid cross is a common exam topic. Here is a clear comparison:

Monohybrid vs Dihybrid Cross Comparison
Feature Monohybrid Cross Dihybrid Cross
Number of traits studied 1 2
Parent genotype (classic) Aa × Aa AaBb × AaBb
Punnett square size 2×2 (4 cells) 4×4 (16 cells)
Number of gamete types per parent 2 4
Phenotypic ratio 3 : 1 9 : 3 : 3 : 1
Number of distinct phenotypes 2 4
Number of distinct genotypes 3 9
Mendel's law demonstrated Law of Segregation Law of Independent Assortment

A Simple Rule for Scaling

For any hybrid cross, the number of possible gametes per parent is 2n, where n is the number of heterozygous gene pairs. So:

  • Monohybrid (Aa): 21 = 2 gametes
  • Dihybrid (AaBb): 22 = 4 gametes
  • Trihybrid (AaBbCc): 23 = 8 gametes

Mendel's Laws Behind the Dihybrid Cross

The dihybrid cross is grounded in two fundamental laws established by Gregor Johann Mendel through his pea plant experiments between 1856 and 1863.

Law 1: Law of Segregation

Every organism carries two alleles for each trait. During gamete formation (meiosis), these two alleles separate so that each gamete carries only one allele for each gene. When fertilization occurs, the offspring receives one allele from each parent, restoring the two-allele condition.

In a dihybrid cross: An AaBb parent segregates its A alleles (A goes to some gametes, a goes to others) AND its B alleles independently.

Law 2: Law of Independent Assortment

Alleles for different traits assort into gametes independently of each other — provided the genes are on different chromosomes (or far apart on the same chromosome). This means the inheritance of seed color does not influence the inheritance of seed shape.

Why this matters: Independent assortment is the biological reason a dihybrid cross parent produces 4 gamete types in equal 25% frequencies (AB, Ab, aB, ab), rather than just 2. This is the foundation of the entire 4×4 Punnett square calculation.

Important Limitation

Mendel's Law of Independent Assortment applies only to genes on different chromosomes or genes that are far apart on the same chromosome. Genes that are close together (linked genes) violate this law and require more advanced calculations beyond the standard dihybrid Punnett square.

Real-World Applications of Dihybrid Crosses

The dihybrid cross is not just a classroom exercise. It has significant real-world applications across medicine, agriculture, and research.

1. Agricultural Breeding

Farmers and plant scientists use dihybrid cross predictions to breed crops with desired combinations of traits — such as high yield (Trait 1) AND disease resistance (Trait 2). By knowing the expected offspring ratios, breeders can plan how many plants to grow to reliably obtain a target genotype.

2. Animal Breeding

Livestock breeders use dihybrid cross principles to predict which offspring will carry two valuable traits simultaneously — for example, high milk production AND heat tolerance in cattle.

3. Genetic Counseling

When two parents are each carriers (heterozygous) for two different recessive genetic conditions, a dihybrid cross helps estimate the probability that their children could inherit both conditions. A dihybrid cross calculator makes these probability estimates fast and accurate.

4. Scientific Research

Researchers use dihybrid cross analysis to test whether two genes are linked (on the same chromosome) or unlinked. Deviations from the expected 9:3:3:1 ratio indicate gene linkage or other non-Mendelian effects, which guides further molecular investigation.

5. Model Organism Studies

In model organisms like fruit flies (Drosophila melanogaster), mice, and zebrafish, dihybrid crosses are routinely performed to map genes, understand developmental pathways, and study disease mechanisms.

How to Use the Dihybrid Cross Calculator

Our free dihybrid cross calculator at the top of this page makes solving any two-trait Punnett square fast and error-free. Here is exactly how to use it:

  1. Select Mother's Genotype: Choose the allele for Trait 1 (A or a) and Trait 2 (B or b) from the dropdown menus under "Mother's Genotype."
  2. Select Father's Genotype: Do the same for the father under "Father's Genotype."
  3. Name your traits (optional): Enter the name of Trait 1 and Trait 2 to make the results easier to read (e.g., "Seed Color" and "Seed Shape").
  4. Click Calculate: The calculator instantly generates the full 4×4 Punnett square, all 9 possible genotype probabilities, and the phenotypic ratio with percentage breakdown.
  5. Read your results: Review the Punnett square, the genotype probability grid, and the phenotype outcome table.

What the Calculator Shows You

  • 4×4 Punnett Square — color-coded by phenotype category
  • Genotype probabilities — percentage and fraction for all 9 possible genotypes
  • Genotypic ratio — simplified ratio of all genotype frequencies
  • Phenotypic ratio — simplified ratio of the 4 phenotype categories
  • Phenotype outcome table — which genotypes produce which observable traits

Example Inputs to Try

Common Dihybrid Cross Scenarios
Mother Father Expected Phenotypic Ratio Scenario Name
AaBb AaBb 9:3:3:1 Classic dihybrid cross (F2)
AABB aabb All AaBb (100% dominant both) P generation cross (F1)
AaBb aabb 1:1:1:1 Test cross
AABb AaBb 3:1 for each trait independently One parent homozygous dominant A
AABB AABB All AABB (100%) Both homozygous dominant

Frequently Asked Questions About Dihybrid Cross Calculator

What is a dihybrid cross?

A dihybrid cross is a genetic cross between two organisms that differ in exactly two traits, each controlled by a separate gene. It produces a 4×4 Punnett square with 16 possible offspring genotypes and follows Mendel's Law of Independent Assortment. The classic example is AaBb × AaBb, which yields a 9:3:3:1 phenotypic ratio in the offspring.

What is the phenotypic ratio of a dihybrid cross?

When two double heterozygous parents (AaBb × AaBb) are crossed, the standard phenotypic ratio is 9:3:3:1. This means out of every 16 offspring: 9 show both dominant traits, 3 show dominant Trait 1 with recessive Trait 2, 3 show recessive Trait 1 with dominant Trait 2, and 1 shows both recessive traits. This ratio only applies when both genes assort independently.

How do you draw a dihybrid Punnett square?

Draw a 4×4 grid. List all 4 gametes from the mother (AB, Ab, aB, ab) across the top columns. List all 4 gametes from the father down the left rows. Fill in each of the 16 cells by combining the row gamete with the column gamete — the first two letters come from one parent and the second two from the other. Sort each pair so dominant alleles come first (e.g., write Aa not aA).

What is the genotypic ratio of a dihybrid cross AaBb × AaBb?

The genotypic ratio for AaBb × AaBb is 1 AABB : 2 AABb : 1 AAbb : 2 AaBB : 4 AaBb : 2 Aabb : 1 aaBB : 2 aaBb : 1 aabb. This simplifies to the ratio 1:2:1:2:4:2:1:2:1 across 9 distinct genotypes. AaBb is the most frequent genotype at 25% (4/16).

What is the difference between a monohybrid and dihybrid cross?

A monohybrid cross (Aa × Aa) studies one trait at a time, produces a 2×2 Punnett square with 4 cells, and results in a 3:1 phenotypic ratio. A dihybrid cross (AaBb × AaBb) studies two traits simultaneously, produces a 4×4 Punnett square with 16 cells, and results in a 9:3:3:1 phenotypic ratio. The dihybrid cross also demonstrates Mendel's Law of Independent Assortment, which the monohybrid cross does not.

Who invented the Punnett square?

The Punnett square was invented by British geneticist Reginald Crundall Punnett (1875–1967) in the early 1900s. He co-founded the journal Genetics and developed the square as a teaching tool to visualize the outcomes of genetic crosses. It was built on the foundational work of Gregor Mendel, whose pea plant experiments from the 1860s established the basic rules of inheritance.

Can I use a dihybrid cross calculator for homozygous parents?

Yes. A dihybrid cross calculator works for any parent genotype combination — AABB × aabb, AABB × AaBb, AAbb × aaBB, or any other mix. The grid always has 16 cells, but the probability distribution changes depending on how many heterozygous gene pairs are involved. For example, AABB × AABB always produces 100% AABB offspring.

What is a test cross in a dihybrid cross?

A dihybrid test cross involves crossing an organism of unknown genotype with a homozygous recessive organism (aabb). The offspring phenotype ratios reveal the unknown parent's genotype. For example, if the cross produces offspring in a 1:1:1:1 ratio, the unknown parent must be AaBb (heterozygous for both traits). If all offspring show dominant phenotypes, the unknown parent is AABB.

What does the dihybrid cross calculator show?

The dihybrid cross calculator on this page generates the full 4×4 Punnett square with color-coded phenotype categories, percentage probabilities for all 9 possible genotypes, the simplified genotypic ratio, the simplified phenotypic ratio, and a complete phenotype outcome table. It works for all combinations of homozygous and heterozygous parent genotypes.

Is a dihybrid cross the same as a two-trait Punnett square?

Yes — the terms "dihybrid cross," "two-trait Punnett square," and "dihybrid Punnett square" all refer to the same thing. They all describe a 4×4 genetic grid used to predict the offspring of two parents carrying two different independently assorted traits.

Summary

The dihybrid cross calculator is an essential tool for anyone studying genetics. Whether you are working through a textbook problem, preparing for an exam, or exploring real breeding scenarios, understanding the dihybrid Punnett square gives you the power to predict genetic outcomes with precision.

Key takeaways from this guide:

  • A dihybrid cross examines two traits simultaneously using a 4×4 Punnett square with 16 cells
  • The classic AaBb × AaBb cross produces a 9:3:3:1 phenotypic ratio
  • The genotypic ratio is 1:2:1:2:4:2:1:2:1 with AaBb being the most common at 25%
  • The math is based on Mendel's Law of Independent Assortment
  • Each parent with genotype AaBb produces 4 gamete types: AB, Ab, aB, ab — each at 25%
  • Use the dihybrid cross calculator above to solve any parent genotype combination instantly