Punnett Square Calculator

Parents (A = dominant allele, a = recessive allele)
Don't know if a parent is a carrier? Estimate carrier frequency with the Hardy–Weinberg calculator →
Inheritance pattern
Most textbook examples use complete dominance. Choose the second option for traits such as snapdragon flower colour or the AB blood group. Following two genes at once? Use the dihybrid cross calculator →
Biology Updated 29 Oct 2026

Builds the 2 × 2 Punnett square for a single gene. Pick each parent's genotype (AA, Aa or aa) and the calculator lists the gametes, fills the grid, and gives the chance of every offspring genotype and phenotype with the genotypic and phenotypic ratios. It handles complete dominance and incomplete dominance or codominance, and shows how many offspring with the dominant trait are hidden carriers.

  • One autosomal gene with exactly two alleles, A (dominant) and a (recessive).
  • Each parent passes either allele with equal probability (Mendel's law of segregation) and fertilisation is random.
  • No mutation, lethal genotypes, linkage, imprinting or environmental effects.
  • Probabilities are expectations for each child, not guaranteed proportions in a family.

Formula

Each parent passes one of its two alleles with probability ½. P(genotype) = boxes with that genotype ÷ 4. Genotypic ratio = counts of AA : Aa : aa divided by their greatest common divisor. Phenotypic ratio (complete dominance) = (AA + Aa) : aa
  • The mother's two alleles head the columns and the father's two alleles head the rows; each box joins one column allele with one row allele, so all four boxes are equally likely.
  • Homozygous parents are still drawn with two identical gametes (A, A or a, a) so that every cross uses the same 4-box grid.
  • With complete dominance one copy of A is enough to show the dominant trait, so AA and Aa share a phenotype. With incomplete dominance or codominance each genotype has its own phenotype, so the phenotypic ratio equals the genotypic ratio.
  • Percentages are rounded to 2 decimal places; the box count in brackets is exact.
  • Carriers among dominant-looking offspring = Aa boxes ÷ (AA + Aa boxes). This is the figure genetic counsellors use for the unaffected sibling of a child with a recessive condition.

Two carriers of a recessive condition (Aa × Aa)

Inputs
  • Mother's genotype (♀): Aa
  • Father's genotype (♂): Aa
  • How the alleles interact: complete

Each parent makes A and a gametes. The grid holds AA, Aa, Aa and aa, so the genotypic ratio is 1 : 2 : 1 (25% AA, 50% Aa, 25% aa) and the phenotypic ratio is 3 : 1. Each child has a 25% chance of the recessive trait. Of the three-quarters that look unaffected, 2 of 3 (66.67%) carry the recessive allele.

Sources & references

Frequently asked questions

What is the difference between genotype and phenotype?
The genotype is the pair of alleles an individual carries, such as AA, Aa or aa. The phenotype is the trait you can observe. With complete dominance, AA and Aa look the same, so three genotypes collapse into two phenotypes.
Why do two unaffected parents sometimes have an affected child?
If both are heterozygous carriers (Aa) of a recessive condition such as cystic fibrosis, each child has a 1 in 4 chance of receiving the recessive allele from both parents (aa). Every pregnancy is an independent draw, so the 25% applies each time regardless of earlier children.
What does a 1 : 2 : 1 or 3 : 1 ratio mean?
They are the expected proportions for a cross of two heterozygotes: 1 part AA, 2 parts Aa and 1 part aa for genotypes, and 3 dominant-looking offspring for every recessive one. Real litters or families are small samples, so observed counts often differ from these averages.
When is a Punnett square not appropriate?
It assumes one gene with two alleles, random gamete formation and no outside influence. It does not predict polygenic traits such as height or skin colour, traits shaped by environment, genes with more than two alleles in play (like the ABO blood group as a whole), or X-linked traits, which need sex-specific squares.
What is the difference between incomplete dominance and codominance?
In incomplete dominance the heterozygote shows a blend, such as pink flowers from red and white parents. In codominance both alleles show fully, as in the AB blood group. In both cases Aa has its own phenotype, so this calculator treats them the same way.
How do I handle two or three genes?
Use the dihybrid cross calculator for two genes (a 4 × 4 square, 16 boxes) or the trihybrid cross calculator for three genes (8 × 8, 64 boxes). For unlinked genes you can also multiply the single-gene probabilities together.

Related calculators

Dihybrid Cross Punnett Square Calculator Builds the 4 × 4 Punnett square for two independently inherited genes. Choose each parent's genotype for gene A (AA, Aa or aa) and gene B (BB, Bb or bb); the calculator lists each parent's four gametes, fills all 16 boxes, and gives the probability of all nine genotypes and four phenotypes along with the reduced genotypic and phenotypic ratios, such as 9 : 3 : 3 : 1 for AaBb × AaBb. Trihybrid Cross Punnett Square Calculator Builds the full 8 × 8 Punnett square for three independently inherited genes. Set each parent's genotype for genes A, B and C (homozygous dominant, heterozygous or homozygous recessive) to see each parent's eight gametes, all 64 boxes, the probability of every offspring genotype and phenotype that can occur, and the reduced genotypic and phenotypic ratios, such as 27 : 9 : 9 : 9 : 3 : 3 : 3 : 1 for AaBbCc × AaBbCc. Hardy–Weinberg Equilibrium Calculator Applies the Hardy–Weinberg principle in three ways. Enter allele frequencies (two to five alleles) to get every expected genotype frequency; start from one known genotype or phenotype frequency, such as the share of people affected by a recessive disease or the share who are carriers, to recover p, q, p², 2pq and q² and the carrier rate as '1 in X'; or enter observed AA, Aa and aa counts to get allele frequencies, expected counts and a chi-square test of whether the sample is in equilibrium. Allele Frequency Calculator Works out allele frequencies three ways. From the prevalence of a recessive condition (as '1 in N' or a percentage) it finds the disease allele frequency q, the normal allele frequency p, the share of non-carriers, carriers and affected people, and the carrier rate as '1 in X'. From AA, Aa and aa genotype counts it counts alleles to get p, q and the minor allele frequency, and from raw allele counts it handles up to five alleles.