Punnett square calculator
Enter both parent genotypes, two letters per gene — Aa and Aa, or AaBb and AaBb.
Free · no signup Runs in your browser
Two letters per gene, up to two genes.
Capital is dominant, lower case recessive.
Phenotype breakdown
How do you do a Punnett square?
List each parent's possible gametes along the two axes of a grid, then fill each cell by combining the row and column alleles. Every cell is an equally likely offspring genotype. A monohybrid cross of Aa by Aa gives a 1:2:1 genotype ratio and the familiar 3:1 phenotype ratio.
Reading the grid
Each cell is one equally likely outcome, not one offspring. A 3:1 phenotype ratio means each individual offspring has a 75% chance of showing the dominant trait, and says nothing about what a litter of four will actually look like.
That distinction matters more than it sounds. Four offspring from a 3:1 cross showing four dominant phenotypes is entirely unremarkable, and does not indicate that the cross was wrong.
The grid also treats Aa and aA as the same genotype, which is why the genotype list below the square is shorter than the number of cells.
How the cross is built
Gametes first, then every combination of them.
each parent contributes one allele per genegametes = every combination of one allele from each geneAa → A, a (2 gametes)AaBb → AB, Ab, aB, ab (4 gametes)grid size = gametes of parent 1 × gametes of parent 2Aa × Aa → 2 × 2 = 4 cellsAaBb × AaBb → 4 × 4 = 16 cells
The classic 9:3:3:1 dihybrid ratio falls straight out of a 4×4 grid, and it depends on the two genes assorting independently. Genes sitting close together on the same chromosome are inherited together more often than chance, and a Punnett square will overstate the recombinant classes for those.
The square also assumes simple dominance. Incomplete dominance, codominance, lethal alleles and sex linkage all produce ratios a basic square does not predict.
Worked example: a monohybrid cross
Two heterozygous parents, Aa crossed with Aa, for a simple dominant trait.
- Parent 1 gametesA, a
- Parent 2 gametesA, a
- Grid cellsAA, Aa, aA, aa
- Genotype ratio1 AA : 2 Aa : 1 aa
- Phenotype ratio3 dominant : 1 recessive
Each offspring has a 75% chance of the dominant phenotype and a 25% chance of the recessive one.
Note that two of the four cells are Aa, which is why the genotype ratio is 1:2:1 rather than 1:1:1:1. The grid has four cells but only three distinct genotypes.
What a Punnett square cannot model
- Linked genes on the same chromosome, which do not assort independently
- Incomplete dominance, where the heterozygote shows an intermediate trait
- Codominance, where both alleles are expressed fully
- Sex-linked traits, which need the X and Y chromosomes represented
- Polygenic traits, where many genes each contribute a small effect
- Epistasis, where one gene masks the expression of another
Common questions
What is the 9:3:3:1 ratio?
The phenotype ratio from a dihybrid cross between two double heterozygotes, such as AaBb by AaBb. Nine offspring show both dominant traits, three show the first only, three show the second only, and one shows both recessive traits. It requires the two genes to assort independently.
Why do I get 1:2:1 and not 1:1:1:1?
Because Aa and aA are the same genotype. The four-cell grid contains AA, Aa, aA and aa, and the two middle cells are identical, so the genotype ratio collapses to 1 AA : 2 Aa : 1 aa.
Can I do a trihybrid cross?
This calculator handles up to two genes, giving a 4×4 grid. A trihybrid cross needs an 8×8 grid with 64 cells, which is rarely worth drawing — the ratios are usually derived by multiplying the probabilities of each gene separately instead.
Does a 3:1 ratio mean 3 of my 4 offspring will show the trait?
No. It means each offspring independently has a 75% chance. Small numbers of offspring routinely deviate from the ratio, and four dominant phenotypes in a row from a 3:1 cross happens about a third of the time.
Where these numbers come from
- Nature Education — Punnett squares and Mendelian inheritance Definition and standard use of the Punnett square.
Last verified 2026-08-01 The method on this page is checked against the sources above at least once a year. Spotted something out of date? Tell us and we will fix it.
Related calculators
RSD calculator
Relative standard deviation and coefficient of variation, with sample and population options.
Open calculatorpH calculator
Convert between pH, pOH and hydrogen or hydroxide ion concentration.
Open calculatorAverage percentage
Average percentages correctly by weighting each one by its sample size.
Open calculatorSheep gestation
Lambing dates by breed, with the management milestones that matter in between.
Open calculatorMulank
Root number and destiny number from a birth date, with the arithmetic shown.
Open calculatorDarakaraka
All seven chara karakas from real planetary positions, computed in your browser.
Open calculator🧮 Maths and science calculators
Homework tools that explain the method rather than just handing over an answer.
See all 30 calculators in this section