SolveKit

Punnett Square Calculator

Type two parent genotypes and get the full Punnett square with genotype and phenotype ratios. Or start from an observed ratio such as 3:1 and find the crosses that explain it.

By Dr. Priya Nair, science writer and former university physics lecturer · Updated

Punnett Square Calculator

Type each parent’s genotype — one to three genes, uppercase for the dominant allele (Aa, AaBb, AaBbCc).

Offspring phenotypes

PhenotypeRatioProbability

Offspring genotypes

GenotypeRatioProbability

Work backwards: which parents give a ratio?

    How to use this calculator

    Write each parent’s genotype as pairs of letters, one pair per gene, with uppercase for the dominant allele: Aa for a heterozygote, AA or aa for homozygotes, AaBb for two genes. Up to three genes are supported (a trihybrid square has 64 boxes). The square lists each parent’s gametes along the edges, and the tables underneath give the genotype and phenotype ratios with their probabilities. Recessive-phenotype boxes are shaded.

    To work backwards, type an observed phenotype ratio such as 3:1, 1:1 or 9:3:3:1 and choose one or two genes. The calculator lists every pair of parent genotypes that produces that ratio; click one to load it into the square. A 1:1 ratio, for example, points to a test cross Aa × aa.

    The formula

    Gametes per parent = 2ⁿ for n heterozygous genes
    P(offspring) = boxes with that genotype ÷ total boxes
    Independent genes: P = product of single-gene probabilities
    A
    dominant allele
    a
    recessive allele
    A_
    dominant phenotype (AA or Aa)
    aa
    recessive phenotype

    Worked example

    Mendel crossed pea plants heterozygous for seed color (Yy) and seed shape (Rr). What proportion of the offspring are green and wrinkled?

    1. Each parent (RrYy) makes four gamete types: RY, Ry, rY and ry, giving a 4 × 4 square of 16 boxes.
    2. Phenotypes: 9 R_Y_ (round yellow) : 3 R_yy : 3 rrY_ : 1 rryy.
    3. Green and wrinkled (rryy) = 1/16 = 6.25%.

    The classic 9:3:3:1 dihybrid ratio — load it with the “Load example” button.

    Classic Mendelian ratios

    CrossPhenotype ratioGenotype ratio
    Aa × Aa3 : 11 AA : 2 Aa : 1 aa
    Aa × aa (test cross)1 : 11 Aa : 1 aa
    AA × aaall dominantall Aa
    AaBb × AaBb9 : 3 : 3 : 19 genotypes, 1:2:1:2:4:2:1:2:1
    AaBb × aabb1 : 1 : 1 : 11 : 1 : 1 : 1

    Assumptions and limits

    • Complete dominance at every gene. Incomplete dominance or codominance (e.g. ABO blood groups) gives different phenotype ratios — read the genotype table instead.
    • Genes assort independently (no linkage), and all genotypes are equally viable.
    • Ratios are expectations; small families or litters often deviate by chance.

    Frequently asked questions

    What is the probability of a recessive phenotype from two carriers?

    1 in 4 (25%). The Aa × Aa square has one aa box out of four.

    How many boxes does a dihybrid Punnett square have?

    Sixteen: each AaBb parent makes four gamete types, and 4 × 4 = 16.

    What does a 1:1 ratio tell me?

    For one gene with complete dominance, it means one parent is heterozygous and the other homozygous recessive — the basis of the test cross.

    Sources

    Related calculators

    More in Biology & Lab calculators.