Skip to content
Omnikalc

Dihybrid cross calculator: 9:3:3:1 ratios and expected offspring

Choose the genotypes of two parents for two genes to get the probability of each phenotype, the chance of AaBb and the expected number of offspring.

Updated on
Your inputs

Value out of range

Results

Dominant for both traits (A_B_)

56.25%

Dominant for A, recessive for B (A_bb)
18.75%
Recessive for A, dominant for B (aaB_)
18.75%
Recessive for both traits (aabb)
6.25%
Heterozygous for both genes (AaBb)
25.00%
Expected offspring dominant for both traits
90.0
Expected offspring recessive for both traits
10.0

When two traits are inherited together, such as seed shape and seed colour in Mendel’s peas, a single Punnett square becomes a 16-box grid. This calculator does the bookkeeping for a dihybrid cross: choose the genotype of each parent for two genes and read the probability of each phenotype, the chance of a double heterozygote and the expected number of offspring in each class.

How the calculation works

Each parent passes on one allele per gene; the chance it is the dominant one is 1 for AA, ½ for Aa and 0 for aa.

  • P(offspring is aa) = (1 − chance from parent 1) × (1 − chance from parent 2)
  • P(dominant phenotype for A) = 1 − P(aa), and the same for B
  • P(A_B_) = P(A dominant) × P(B dominant); the other classes follow in the same way
  • P(AaBb) = P(Aa) × P(Bb)
  • Expected count = probability × number of offspring

The two genes are assumed to assort independently with complete dominance.

Example

Cross two parents that are AaBb (the default). Each gene gives a dominant phenotype with probability 0.75. So A_B_ is 0.75 × 0.75 = 56.25 %, A_bb and aaB_ are each 18.75 %, and aabb is 6.25 %: the 9 : 3 : 3 : 1 ratio. With 160 offspring you expect 90 dominant for both traits and 10 recessive for both. A quarter (25 %) of the offspring are AaBb themselves.

Why it matters

The ratio is the signature of two unlinked genes, and a departure from it is a clue. Geneticists use it to test whether genes are linked, and breeders use it to plan how many plants or animals they need to raise to get a rare double-recessive. A 1-in-16 class needs about 48 offspring to be 95 % sure of at least one.

Good to know

If one parent is homozygous dominant for a gene, every offspring shows the dominant trait for that gene, so the ratio collapses. A test cross of an AaBb with an aabb gives 1 : 1 : 1 : 1. Real counts scatter around the expected numbers, so use a chi-square test to decide whether a result fits the ratio. This tool is for education.

In practice

Enter the genotypes you suspect for a pair of parents and compare the expected counts with what you observe. If the double-recessive class is far larger or smaller than predicted, the genes may be linked or a genotype may be lethal.

The Punnett square calculator handles one gene, the Hardy-Weinberg calculator follows allele frequencies in a population, and the chi-square calculator tests a result against the expected ratio.

Frequently asked questions

What is a dihybrid cross?

A dihybrid cross follows two genes at once. Crossing two parents that are heterozygous for both genes (AaBb × AaBb) gives four phenotypes in the classic ratio 9 : 3 : 3 : 1, as Mendel found with round yellow and wrinkled green peas.

What does the 9:3:3:1 ratio mean?

Out of 16 equally likely offspring, 9 show both dominant traits, 3 show the first dominant and the second recessive, 3 the reverse, and 1 shows both recessive traits. In percent, 56.25, 18.75, 18.75 and 6.25.

Why can I multiply the two genes' probabilities?

Because Mendel's law of independent assortment says the genes are inherited separately when they sit on different chromosomes or far apart on the same one. Linked genes, which sit close together, break this rule.

What other assumptions are made?

Complete dominance (the heterozygote looks like the dominant homozygote), no lethal genotypes, and equal chances for every gamete. Incomplete dominance, epistasis or linkage change the ratios.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.