The dihybrid cross explained
Two genes, sixteen cells, and the most famous ratio in genetics. How to set up a dihybrid cross, where 9:3:3:1 comes from, and the shortcut that makes the big grid optional.
A monohybrid cross follows one gene. A dihybrid cross follows two at the same time, such as seed color and seed shape in Mendel's peas. If you can do a 2×2 Punnett square, you already know everything needed except one new step: working out the gametes.
Throughout this article: in pea plants, yellow seeds (Y) are dominant over green (y) and round seeds (R) are dominant over wrinkled (r). The cross is two plants heterozygous for both genes, YyRr × YyRr. This is the cross Mendel used to discover independent assortment.
Step 1: find the gametes
A gamete gets one allele of each gene. So a YyRr gamete has one Y-or-y and one R-or-r. Because the two genes sort independently (they're on different chromosomes), every combination is equally likely, and there are four:
YR Yr yR yr
The easy way to list them is FOIL, the same trick used for multiplying brackets in algebra. In Yy Rr, take the First letters (Y, R), the Outer letters (Y, r), the Inner letters (y, R) and the Last letters (y, r).
Check yourself: every gamete has exactly one letter for each gene. YR is a gamete. Yy isn't: it has two alleles of the same gene and nothing for the other.
A parent that's homozygous for a gene still makes four gametes, just with repeats. YYRr gives YR, Yr, YR, Yr. Keep all four. That keeps the grid at 4×4, so every cell stays equally likely.
Step 2: fill in the 4×4 square
Put one parent's four gametes across the top and the other's down the side, then combine row and column in each cell. Write each gene's alleles together, dominant first: YyRr, never YRyr.
| YR | Yr | yR | yr | |
|---|---|---|---|---|
| YR | YYRR | YYRr | YyRR | YyRr |
| Yr | YYRr | YYrr | YyRr | Yyrr |
| yR | YyRR | YyRr | yyRR | yyRr |
| yr | YyRr | Yyrr | yyRr | yyrr |
YyRr × YyRr. Sixteen equally likely cells, colored by phenotype.
Step 3: count the phenotypes
For each cell, ask two questions. Is there at least one Y? Then it's yellow. Is there at least one R? Then it's round. Grouping the cells gives:
| Phenotype | Genotype pattern | Cells | Probability |
|---|---|---|---|
| Yellow, round | Y_ R_ | 9 | 9/16 |
| Yellow, wrinkled | Y_ rr | 3 | 3/16 |
| Green, round | yy R_ | 3 | 3/16 |
| Green, wrinkled | yy rr | 1 | 1/16 |
That's the 9:3:3:1 ratio. The underscore in Y_ means "either allele": YY and Yy look the same. Mendel's actual counts from this cross were 315 round yellow, 108 round green, 101 wrinkled yellow and 32 wrinkled green, very close to 9:3:3:1.
There are nine different genotypes in the square. In the order YYRR, YYRr, YYrr, YyRR, YyRr, Yyrr, yyRR, yyRr, yyrr, the genotype ratio is 1:2:1:2:4:2:1:2:1. You'll rarely need it, but notice the four YyRr cells on the diagonal from top right to bottom left: a quarter of the offspring are double heterozygotes, just like the parents.
Why 9:3:3:1 is really 3:1 twice
Look at seed color alone: Yy × Yy gives 3/4 yellow and 1/4 green. Seed shape alone: Rr × Rr gives 3/4 round and 1/4 wrinkled. Because the genes assort independently, the chance of a combination is the product of the separate chances:
| Phenotype | Multiply | Result |
|---|---|---|
| Yellow, round | 3/4 × 3/4 | 9/16 |
| Yellow, wrinkled | 3/4 × 1/4 | 3/16 |
| Green, round | 1/4 × 3/4 | 3/16 |
| Green, wrinkled | 1/4 × 1/4 | 1/16 |
This is the product rule, and it's the most useful idea in this article. It works for any cross with independent genes, not just double heterozygotes. Take YyRr × yyRr, and ask for the fraction of offspring that are green and wrinkled:
- Color: Yy × yy gives 1/2 green.
- Shape: Rr × Rr gives 1/4 wrinkled.
- Both: 1/2 × 1/4 = 1/8.
No 16-cell square needed. For three genes the full square has 64 cells, so the product rule stops being a shortcut and becomes the only sensible method. In AaBbCc × AaBbCc, the chance of aabbcc is 1/4 × 1/4 × 1/4 = 1/64, and the phenotype ratio is 27:9:9:9:3:3:3:1.
The dihybrid test cross: 1:1:1:1
Crossing YyRr with a double recessive yyrr is a dihybrid test cross. The yyrr parent only makes yr gametes, so every offspring simply shows which gamete came from the other parent. The four gametes are equally likely, so the four phenotypes appear 1:1:1:1.
This is also how geneticists detect linked genes. If two genes sit close together on the same chromosome, they don't assort independently. The parental combinations then turn up far more often than 1/4 each, and the recombinant ones far less. A test cross that comes out nowhere near 1:1:1:1 is the classic sign of linkage.
Checklist for dihybrid problems
- Write both genotypes with the genes in the same order (YyRr, not RrYy for one parent).
- List four gametes per parent with FOIL. Each has one letter per gene.
- If the question only asks about one phenotype, skip the square and multiply.
- If it gives you offspring counts and asks for parent genotypes, look at each gene's ratio separately: 3:1 means both parents were heterozygous for that gene, 1:1 means one was heterozygous and one homozygous recessive.
Practice dihybrid and trihybrid crosses
Level 2 and 3 problems cover dihybrid crosses, Mendel's pea traits and the product rule, with a worked solution after every answer.
Practice nowTo see any dihybrid or trihybrid cross worked out in full, enter it in the Punnett square calculator.