Punnett Square Generator for Genetics

Generate Punnett squares for monohybrid and dihybrid crosses. See genotype and phenotype ratios instantly.

Andreas · April 15, 2026 · 4 min read
Punnett Square Generator for Genetics

You're studying Mendelian genetics and the homework says: cross a heterozygous tall pea plant (Tt) with another heterozygous tall plant (Tt). What are the expected genotype and phenotype ratios of the offspring? You draw a 2×2 grid, put T and t across the top and down the side, fill in the boxes, and count: 1 TT, 2 Tt, 1 tt. Genotype ratio 1:2:1. Phenotype ratio 3:1 (three tall to one short).

That's manageable for one gene. But what about a dihybrid cross — TtBb × TtBb? Now it's a 4×4 grid with 16 cells and you're counting combinations of two traits. That's where mistakes happen.

Monohybrid or dihybrid, your choice

The Punnett square generator handles both. For a monohybrid cross, enter the genotypes of both parents (like Tt and Tt, or Aa and aa). The tool draws the grid, fills in all offspring genotypes, and calculates the genotype ratio and phenotype ratio. Dominant alleles are highlighted in one color, recessive in another, so you can see the distribution at a glance.

For a dihybrid cross, enter two-gene genotypes (like AaBb and AaBb). The tool generates the full 4×4 grid with all 16 possible offspring. For AaBb × AaBb, you'll see the classic 9:3:3:1 phenotype ratio — 9 showing both dominant traits, 3 showing dominant A and recessive B, 3 showing recessive A and dominant B, and 1 showing both recessive traits.

Learning by tweaking

The value of the tool is in experimentation. What happens when you cross a homozygous dominant (AA) with a heterozygous (Aa)? All offspring are phenotypically dominant, but the genotype ratio shifts to 1:1 (AA:Aa). What about Aa × aa? Now you get a 1:1 phenotype ratio — half dominant, half recessive. This is the classic test cross used in genetics to determine whether an organism with a dominant phenotype is homozygous or heterozygous.

The Punnett square generator makes these explorations instant. Change one parent's genotype and the entire grid updates. It's faster than drawing grids by hand, and it eliminates counting errors in the dihybrid case.

For the molecular side of genetics — how DNA encodes proteins — the DNA translator handles transcription and translation.

Related Tools

Comments