A Punnett square is the standard tool biology students and breeders use to predict the odds of a genetic cross before it happens, by laying out every combination of the parents' gametes in a grid. This calculator builds that grid automatically for monohybrid and dihybrid crosses and tallies the exact genotype and phenotype ratios so you can check your own hand-drawn square or explore crosses you haven't tried.

How the grid is built

Each parent's genotype splits into gametes during meiosis — a heterozygous Aa parent produces two types of gametes, A and a, in equal proportion. A Punnett square lines up one parent's possible gametes across the top and the other parent's down the side, then fills in every cell with the offspring genotype formed by combining that row's and column's gamete. A monohybrid cross (one gene) makes a 2x2 grid with 4 cells; a dihybrid cross (two genes, tracked with independent assortment) makes a 4x4 grid with 16 cells, since each parent now produces four gamete types instead of two.

Genotype ratio vs. phenotype ratio

The genotype ratio counts the exact allele combinations that appear in the grid — for Aa x Aa that's 1 AA : 2 Aa : 1 aa. The phenotype ratio groups those genotypes by which trait is actually visible: since a single dominant allele is enough to mask a recessive one, AA and Aa look identical, collapsing the 1:2:1 genotype ratio into a 3:1 phenotype ratio. This distinction is exactly why two individuals that look the same (both showing the dominant trait) can still have different genotypes underneath, and why a test cross — breeding with a known homozygous recessive (aa) — is the classic way to unmask which genotype an individual actually carries.

Why dihybrid crosses give 9:3:3:1

A dihybrid cross tracks two genes that assort independently, meaning the inheritance of one gene doesn't influence the other. Each gene on its own gives the familiar 3:1 dominant-to-recessive split. Combine two independent 3:1 splits and you get four phenotype classes in the proportions 3x3=9, 3x1=3, 1x3=3, and 1x1=1 — the classic 9:3:3:1 ratio that shows up across genetics coursework whenever two unlinked genes are crossed together.