Polyatic Punnett Square Calculator
All tools

Punnett square calculator

Type both parents. Get the square, the genotype and phenotype ratios as exact fractions, and the working.

The cross

Name the traits (optional)

Names show in the key, the ratios and the exports, for example tall and short for T and t.

Examples

Practice sheet

A worksheet of mixed problems: one gene, two and three genes, incomplete dominance, X-linked and blood type. The same seed always gives the same sheet, so a class can share one.

The square

Parent 1's gametes run across the top, parent 2's down the side; each cell is one equally likely child.

    Ratios

    Phenotype ratio

    Genotype ratio

    How to use it

    1. Pick the inheritance pattern. Dominant is Mendel's peas: one capital letter is enough to show the trait. Incomplete (incomplete dominance or codominance) gives the heterozygote its own look (red × white snapdragons give pink). X-linked puts the gene on the X chromosome. Blood type uses the ABO alleles, with Rh as an optional second gene.
    2. Type each parent's genotype, two letters per gene: Aa, AaBb, AaBbCc, up to four genes. Or pick one from the list under the box.
    3. Read the square and the ratios. Choose any outcome under Probability of to see the multiplication behind it.

    How big the square gets

    Each gene a parent is heterozygous for doubles its gametes: one gene gives 2, two give 4, three give 8, four give 16. This page always writes every gamete out, even when two are identical, so the cells stay equally likely and you can count them: 2 × 2 for one gene, 4 × 4 (16 cells) for two, 8 × 8 (64) for three. Four genes need 16 × 16 = 256 cells; that is drawn as a scrolling table, because nobody can read it as a picture, and the ratios underneath are what you want from it.

    Worked example: AaBb × AaBb

    1. Gametes of each parent: AB, Ab, aB, ab, each 1/4.
    2. The 4 × 4 square has 16 cells. Count the phenotypes: 9 cells have at least one A and one B, 3 have A but bb, 3 have aa but B, and 1 is aabb. That is the 9 : 3 : 3 : 1 ratio.
    3. You do not need the square for a single outcome. Split it by gene and multiply: P(aabb) = P(aa) × P(bb) = 1/4 × 1/4 = 1/16, and P(A_bb) = 3/4 × 1/4 = 3/16. The page writes this line out for whatever you choose.
    4. The genotypes come out as 1 : 2 : 1 : 2 : 4 : 2 : 1 : 2 : 1 (AABB, AABb, AAbb, AaBB, AaBb, Aabb, aaBB, aaBb, aabb), nine genotypes behind four phenotypes.

    With three genes, AaBbCc × AaBbCc gives 64 cells and a phenotype ratio of 27 : 9 : 9 : 9 : 3 : 3 : 3 : 1; the chance of the all-recessive aabbcc is (1/4)³ = 1/64.

    X-linked crosses: daughters and sons are read apart

    Write the allele as a superscript on the X: X^HX^h for a carrier mother, X^HY for a father (the ^ is optional; XHXh works). Sons get their only X from their mother, so they show whatever allele she passes. Daughters get one X from each parent. For a carrier mother and an unaffected father, no daughter is affected but half are carriers, and half of the sons are affected: 1/2 of sons, which is 1/4 of all children. That is why haemophilia and red-green colour blindness are far more common in men.

    Blood type: ABO and Rh

    ABO is one gene with three alleles. IA and IB are each dominant over i, and together they are codominant: IAIB is type AB. So type A is IAIA or IAi, type B is IBIB or IBi, and type O is only ii. Two IAi × IBi parents can have children of all four types, each with probability 1/4. Rh is a separate gene: the D allele (Rh positive) is dominant, so two Rh-negative (dd) parents have only Rh-negative children. Tick Add Rh to cross both genes in a 4 × 4 square, for example P(O negative) = P(O) × P(Rh−).

    Sources for these rules, fetched 2026-10-24: ABO, ABO blood group system (section “Genetics”, https://en.wikipedia.org/wiki/ABO_blood_group_system); Rh, Rh blood group system (section “Inheritance”, https://en.wikipedia.org/wiki/Rh_blood_group_system).

    What it cannot do

    • Textbook single-gene inheritance only. Each gene is one locus with simple dominance, incomplete dominance or codominance.
    • Eye colour and hair colour are not single-gene traits. They depend on many genes, so a Punnett square for them gives wrong answers: brown-eyed parents can have a blue-eyed child, and the reverse happens too. The same goes for height, skin colour and most real human traits.
    • No linkage and no epistasis. Genes are assumed to sort independently; genes close together on one chromosome do not, and one gene masking another (such as the 9 : 3 : 4 of coat colour in Labradors) is not modelled.
    • Not a paternity or medical test. It gives textbook probabilities for genotypes you type. Rare blood types such as Bombay (hh) and cis-AB break the simple ABO rules, which is one reason blood type cannot prove or rule out parentage. For a real family question, see a genetic counsellor.
    • Only one X-linked gene at a time, and only two alleles per gene except ABO's three.
    • Nothing is uploaded or saved. The square is worked out on this device; reloading the page starts again.

    Questions

    What is the difference between genotype ratio and phenotype ratio?

    The genotype ratio counts the allele combinations; the phenotype ratio counts what you would see. For Aa × Aa they are 1 AA : 2 Aa : 1 aa and 3 dominant : 1 recessive, because AA and Aa look the same. With incomplete dominance the heterozygote looks different, so both ratios are 1 : 2 : 1.

    What is a test cross?

    Crossing an organism showing the dominant trait with a homozygous recessive one (A_ × aa). If any offspring show the recessive trait, the parent was Aa, and you expect 1 : 1. Pick Test cross in the examples to see it.

    Why do my real results not match the ratio exactly?

    A Punnett square gives probabilities, not counts. Each child is a fresh draw, so a family of four from Aa × Aa has all four showing the dominant trait about a third of the time ((3/4)4 ≈ 0.32). The ratio appears only over many offspring.