How to do Punnett squares
A Punnett square is a grid that shows every way two parents' alleles can combine in their offspring.
Pp × Pp: PP, Pp, Pp, pp. Three boxes have a P, so 3 violet : 1 white.Why it works. Each parent passes on one of its two alleles, each with an equal chance. The grid lists every pairing of egg and sperm, so the boxes are equally likely, and counting boxes gives the expected share of each kind of offspring.
Move it yourself
Grow Pp × Pp seeds one at a time and watch the count head for 3 : 1.
Your turn
Violet (P) is dominant over white (p). You cross Pp × pp. What fraction of the offspring are white?
Or just show the answer
The Pp parent gives P or p; the pp parent gives only p. The boxes are Pp, Pp, pp, pp, so 2 of 4 are white.
Watch out for
Putting both of a parent's alleles in one gamete.
A gamete gets one allele of each gene: a Pp parent makes P gametes and p gametes.
Expecting exactly 3 violet in every 4 seeds.
3 : 1 is a chance. Small families vary; big counts come close.
Giving the genotype ratio as the phenotype ratio.
1 PP : 2 Pp : 1 pp is the genotype ratio. PP and Pp look the same, so the phenotypes are 3 : 1.

Stuck on your own homework?
Open DuckyHelper and say it out loud. It sees your screen, so it works through your own problem with you and draws it, like the board above.
“Can you set up the Punnett square for the cross in my homework?”
Plus is $14 a month for your first 3 months. DuckyHelper is an app for Mac (Apple silicon, macOS 14 or later), Windows and Linux.
Read the whole guide as text
A Punnett square is a grid that shows every way two parents' alleles can combine in their offspring. Write one parent's possible gametes across the top and the other's down the side, then fill each box with one allele from each. Count the boxes to get the expected genotype and phenotype ratios. For example, Aa × Aa gives 1 AA : 2 Aa : 1 aa, which is a 3 : 1 phenotype ratio when A is dominant.
Worked example
In peas, violet flowers (P) are dominant over white (p). Cross two heterozygous plants, Pp × Pp. What are the genotype and phenotype ratios?
- Each parent makes two kinds of gametes, P and p. Write one parent's across the top and the other's down the side.
- Fill each box with one allele from the top and one from the side: PP, Pp, Pp, pp.
- Count the genotypes: 1 PP, 2 Pp, 1 pp.
- Any plant with a P is violet, so 3 boxes are violet and 1 is white.
Answer: Genotypes 1 PP : 2 Pp : 1 pp; phenotypes 3 violet : 1 white
Sources
- OpenStax Biology 2e, 12.2 Characteristics and Traits, accessed 2026-10-01
- OpenStax Biology 2e, 12.3 Laws of Inheritance, accessed 2026-10-01