Punnett Square Calculator

Pick each parent's gene pair, or type a cross such as Aa × Aa, and the calculator fills the Punnett square and gives the genotype and phenotype ratios. It works for one, two or three genes.

How to read the result

Plants and animals, people included, carry two copies of each gene, one from each parent. The versions of a gene are called alleles and are written as letters: a capital letter (A) for the dominant allele, which shows whenever it is there, and a small letter (a) for the recessive one, which shows only in aa. The letter pair is the genotype. What you can see is the phenotype.

Each parent passes on only one letter of each pair. The calculator writes one parent's possible letters along the top and the other parent's down the side, then fills every box with one letter from each. Each box is one equally likely outcome. Below the square you get the phenotype ratio and the genotype ratio as fractions and percentages. Tap a result to light up its boxes, or tap a box to see where its letters came from.

Example: Aa × Aa

The four boxes are AA, Aa, Aa and aa, so the genotype ratio is 1 AA : 2 Aa : 1 aa. AA and Aa look the same, so the phenotype ratio is 3 : 1. Each child has a 3 in 4 chance (75%) of the dominant trait and a 1 in 4 chance (25%) of the recessive one. These are chances for every child, not a promise that four children will split exactly three and one.

With two genes the square has 16 boxes, with three genes 64. The calculator also shows the branch method: cross each gene on its own and multiply the chances. That shortcut and the classic ratios hold only for genes that are inherited independently, not for genes that sit close together on the same chromosome.

Questions and answers

What does a Punnett square show?

It shows every combination of alleles that two parents can pass on to a child. Each box is one equally likely outcome, so the share of boxes with a trait is the chance that a child has it.

How do you do a Punnett square?

Write the alleles one parent can pass on along the top and the other parent's down the side. Fill each box with one letter from its column and one from its row, then count the boxes that look alike.

What is the 3:1 ratio?

It is what you get when two Aa parents are crossed and A is fully dominant: 3 boxes out of 4 show the dominant trait and 1 shows the recessive one. Mendel counted almost exactly this in peas: 6,022 yellow and 2,001 green.

What is the difference between genotype and phenotype?

The genotype is the pair of alleles, such as AA, Aa or aa. The phenotype is what you can see, such as purple or white flowers. With complete dominance AA and Aa have the same phenotype.

Can a Punnett square predict what my baby will look like?

Only for traits set by one gene with clear dominance, and even then it gives chances, not a forecast. Eye colour, hair colour and height depend on many genes, so a simple square cannot predict them.