← All animations

๐ŸŸฉ Punnett Squares

When two parents reproduce, each passes on one allele per gene, chosen at random. A Punnett square is a tidy grid that lists every way those alleles can combine in the offspring โ€” and because every cell is equally likely, the grid is the odds. Gregor Mendel found these ratios in pea plants: the famous 3:1 and 9:3:3:1. Build the squares below and watch the predicted ratios appear.

1. The monohybrid cross โ€” one gene, the classic 3:1

One gene with two alleles: B (dominant, e.g. brown) masks b (recessive, e.g. blue). Tap a parent's alleles to flip each between capital and lowercase. The 2ร—2 grid pairs every gamete from one parent with every gamete from the other โ€” all four combinations are equally likely.

Parent 1: Parent 2:
Dominant phenotype (has at least one B) Recessive phenotype (bb)
Bb ร— Bb Genotype 1 BB : 2 Bb : 1 bb Phenotype 3 dominant : 1 recessive

2. The dihybrid cross โ€” two genes, 9:3:3:1

Now track two genes at once, like Mendel's pea seed colour (Y yellow dominant / y green) and seed shape (R round dominant / r wrinkled). Crossing two double-heterozygotes YyRr ร— YyRr gives each parent four equally likely gametes (YR, Yr, yR, yr) because the genes assort independently โ€” the 4ร—4 grid below sorts the 16 outcomes into the famous 9 : 3 : 3 : 1 phenotype ratio.

The ratio is a prediction of probability, not a guarantee. Press Run offspring to actually breed โ€” each child is made by picking one random allele per gene from each parent. With a handful you'll see noisy results; with thousands the tally converges on 9:3:3:1. That's the law of large numbers turning chance into a reliable ratio.

0 offspring bred
Carriers & test-crosses. A heterozygote like Bb looks identical to BB โ€” it shows the dominant trait but secretly carries the recessive allele, which is how recessive traits skip generations and surface in children. To unmask a carrier, breed it with a pure recessive (bb) โ€” a test cross: BB ร— bb gives all dominant offspring, but Bb ร— bb gives a 1:1 split, revealing the hidden b.

3. The ideas behind the grid

Why the squares work โ€” the vocabulary of classical genetics:

This card is about predicting inheritance with the grid and its ratios. For why some alleles are dominant in the first place โ€” and how recessive traits can skip generations โ€” see the sibling Dominant & recessive card.