Pedigree
Tools Practice Learn
Punnett squares

How to do a Punnett square

Five steps take you from two parent genotypes to the probability of every possible offspring. Here they are, followed by worked examples that cover most homework and exam questions.

A Punnett square is a grid that lists every way two parents' gametes can combine. One parent's gametes go across the top, the other's down the side, and each cell is one possible child. Every cell is equally likely, which is the whole trick: once the grid is filled in, a probability is just a count of cells.

The five steps

The running example is one of Mendel's crosses. In pea plants, the allele for purple flowers (P) is dominant over the allele for white flowers (p). Two heterozygous purple plants are crossed. What fraction of the offspring will have white flowers?

  1. Write the parents' genotypes. Pick one letter for the gene: uppercase for the dominant allele, lowercase for the recessive one. "Heterozygous" means one of each, so both parents are Pp. The cross is written Pp × Pp.
  2. List each parent's gametes. A gamete (egg or sperm) gets one copy of each gene, not two. A Pp plant makes two kinds of gamete in equal numbers: P and p. This is Mendel's law of segregation.
  3. Draw the grid. One parent's gametes go across the top, the other's down the left side. Two gametes each way gives a 2×2 grid. It doesn't matter which parent goes where.
  4. Fill in each cell. Each cell gets the allele from the top of its column plus the allele from the start of its row. Write the dominant allele first by convention, so it's Pp, never pP.
  5. Count. Count the cells for each genotype, then group the genotypes that look the same to get the phenotypes.
Pp
PPPPp
pPppp
purple (3/4)white (1/4)

Pp × Pp. Three of the four cells have at least one P and are purple. One cell, pp, is white.

The genotypes come out as 1 PP : 2 Pp : 1 pp. PP and Pp both have a P allele, so both are purple. The phenotype ratio is 3 purple : 1 white, and the answer to the question is 1/4 white.

Ratios versus probabilities. "3:1" means three purple for every one white. As a probability, that is 3/4 purple and 1/4 white: each cell is out of the total of four, not out of the other group. Mixing these up is the most common mistake on Punnett square questions.

Worked example: a test cross

You have a purple plant and don't know if it's PP or Pp. The standard way to find out is to cross it with a white plant (pp), which can only pass on p. This is called a test cross. If the purple plant is Pp:

pp
PPpPp
ppppp
purple (1/2)white (1/2)

Pp × pp gives half purple, half white: a 1:1 ratio.

If it were PP, every cell would be Pp and every offspring purple. So a single white offspring proves the purple parent was Pp. Notice that the pp parent's two gametes are both p. You still write both. Keeping the grid at 2×2 keeps every cell equally likely, so the counting still works.

Worked example: blood type

ABO blood type is controlled by one gene with three alleles: IA, IB and i. IA and IB are codominant, so someone with both is type AB. Both are dominant over i. A heterozygous type A parent (IAi) and a heterozygous type B parent (IBi) can have a child of any blood type:

IBi
IAIAIBIAi
iIBiii
type A (1/4)type AB (1/4)type B (1/4)type O (1/4)

IAi × IBi: each of the four blood types has a 1/4 chance.

The method doesn't change with three alleles. Each parent still has two alleles and still passes one on. Only the reading of the cells changes. For more on codominance, see incomplete dominance vs codominance.

Worked example: an X-linked trait

Hemophilia A is X-linked recessive: the allele is on the X chromosome. Write the allele as a superscript on the X: XH is normal, Xh causes hemophilia. A carrier mother is XHXh. An unaffected father is XHY. His gametes are XH and Y, because the Y carries no copy of this gene.

♀ \ ♂XHY
XHXHXHXHY
XhXHXhXhY
carrier daughterunaffected daughteraffected sonunaffected son

Carrier mother × unaffected father. Daughters are in the left column, sons in the right.

Read X-linked squares by column. The left column is daughters: none affected, half carriers. The right column is sons: half affected. Watch the wording of the question:

Common mistakes

More than one gene

With two genes, each gamete gets one allele of each gene, so a double heterozygote (AaBb) makes four kinds of gamete and the square becomes 4×4. That's the dihybrid cross and its famous 9:3:3:1 ratio, covered step by step in the dihybrid cross explained. With three genes the square has 64 cells, and the product rule is the faster route.

Try it yourself

Check your work with the step-by-step calculator, or get endless practice problems with worked solutions.

Practice Punnett squares

Any cross from this article can go straight into the Punnett square calculator, which shows the gametes, the grid and the ratios for crosses of up to three genes.

← Back to Learn The dihybrid cross explained →