Pedigree
Tools Practice Learn
Tool

Punnett square calculator

Enter two parents and get the full Punnett square with every step worked out: gametes, the grid, genotype and phenotype ratios, and the product-rule shortcut. Handles one to three genes, incomplete dominance, codominance, ABO blood types and X-linked traits.

Set up the cross
Uppercase is the dominant allele. One gene: Aa. Two genes: AaBb. Three genes: AaBbCc.
Try:
Iᴬ and Iᴮ are codominant, and both are dominant over i. Type A can be IᴬIᴬ or Iᴬi, so pick the genotype, not just the type.
Step 1

Find each parent's gametes

Step 2

Fill in the Punnett square

Step 3

Count the genotypes

Step 4

Read off the phenotypes

Shortcut

Check it with the product rule

Test yourself

Get endless Punnett square problems at three levels, with the answer checked and a worked solution for every one.

Practice Punnett squares

How the Punnett square calculator works

The calculator does what you would do on paper. It splits each parent's genotype into the gametes it can make, places one parent's gametes across the top of a grid and the other parent's down the side, and combines them cell by cell. Every cell is equally likely, so counting cells gives the probability of each genotype and each phenotype.

One, two or three genes

Type one gene pair (Aa) for a monohybrid cross, two (AaBb) for a dihybrid cross, or three (AaBbCc) for a trihybrid cross. A parent with n heterozygous genes makes 2n kinds of gametes, so the grid grows fast: 2×2, then 4×4, then 8×8 with 64 cells. For two or more genes the calculator also shows the product-rule shortcut, which is how you would solve a trihybrid problem on a test without drawing all 64 cells. For a walkthrough of the 4×4 case, see the dihybrid cross explained.

Complete dominance, incomplete dominance and codominance

For each gene you can choose how the alleles interact. With complete dominance, AA and Aa look the same, which gives the classic 3:1 ratio. With incomplete dominance the heterozygote is a blend, like pink snapdragons from red and white parents. With codominance both alleles show at once. The last two both turn the 3:1 ratio into 1:2:1, because the heterozygote becomes its own phenotype. Incomplete dominance vs codominance covers the difference in detail.

Blood types and X-linked traits

The ABO blood group has three alleles, so it gets its own mode: Iᴬ and Iᴮ are codominant and both dominate i. Add the Rh factor to turn it into a dihybrid cross. In X-linked mode the square uses the mother's X chromosomes and the father's X and Y, then reports daughters and sons separately. That separation is the whole point of X-linked problems: a son's only X comes from his mother.

What the calculator assumes

Genes assort independently (no linkage), every genotype survives equally well, and each gene has one of the dominance relationships above. Real traits such as eye color or height involve many genes and won't follow these ratios. For family histories rather than planned crosses, the pedigree analysis tool is the better fit.

Frequently asked questions

What is a Punnett square?

A Punnett square is a grid that shows every way the gametes of two parents can combine. One parent's gametes go across the top, the other parent's down the side, and each cell is one equally likely offspring genotype. Counting cells gives the probability of each genotype and phenotype. Reginald Punnett introduced it in the early 1900s.

How do you do a Punnett square?

Write each parent's genotype, split each genotype into the gametes it can make (one allele per gene), put one parent's gametes across the top and the other's down the side, fill each cell by combining its row and column gamete, then count the cells to get the genotype and phenotype ratios. The full walkthrough is in how to do a Punnett square.

What is the difference between a monohybrid, dihybrid and trihybrid cross?

A monohybrid cross follows one gene and gives a 2×2 square. A dihybrid cross follows two genes and gives a 4×4 square with 16 cells. A trihybrid cross follows three genes and gives an 8×8 square with 64 cells, which is why most people solve trihybrid problems with the product rule instead of drawing the whole grid.

What does a 3:1 ratio mean?

A 3:1 phenotype ratio means that for every four offspring you expect three with the dominant phenotype and one with the recessive phenotype. It comes from crossing two heterozygotes (Aa × Aa), which gives 1 AA : 2 Aa : 1 aa.

What is the phenotype ratio of a dihybrid cross?

Crossing two double heterozygotes (AaBb × AaBb) gives a 9:3:3:1 phenotype ratio: 9 dominant for both traits, 3 dominant for the first only, 3 dominant for the second only, and 1 recessive for both. This assumes the genes assort independently.

How is incomplete dominance different from codominance in a Punnett square?

The Punnett square is drawn the same way. The difference is how you read the heterozygote. With incomplete dominance the heterozygote shows a blend, such as pink flowers from red and white parents. With codominance both alleles show fully, such as blood type AB. In both cases the phenotype ratio of a heterozygous cross is 1:2:1 instead of 3:1.

How do you do a Punnett square for an X-linked trait?

Write the alleles on the sex chromosomes, for example XHXh for a carrier mother and XHY for an unaffected father. The mother's gametes are XH and Xh, the father's are XH and Y. Fill the square as usual, then read daughters and sons separately, because sons get their only X from their mother.

What is the product rule shortcut?

For genes that assort independently, you can solve each gene as its own small monohybrid cross and multiply the probabilities. For AaBbCc × AaBbCc, the chance of aabbcc is 1/4 × 1/4 × 1/4 = 1/64. This gives the same answer as counting cells in the full 64-cell square.