Punnett Square Dihybrid

Enter two-gene parent genotypes (e.g. AaBb x AaBb) and instantly see the 4x4 Punnett square with all 16 offspring combinations, genotype counts, and phenotype ratios.

Parent Genotypes

Gene 1
Gene 2
 
Gene 1
Gene 2
 
Examples:

Enter parent alleles above to generate the dihybrid Punnett square.

Summary

Enter two-gene parent genotypes (e.g. AaBb x AaBb) and instantly see the 4x4 Punnett square with all 16 offspring combinations, genotype counts, and phenotype ratios.

How it works

  1. Enter the two alleles for Gene 1 (e.g., A and a) and Gene 2 (e.g., B and b) for Parent 1.
  2. Enter the same for Parent 2.
  3. The tool generates all four gamete combinations for each parent (e.g., AB, Ab, aB, ab).
  4. The 4x4 grid is filled by pairing each of Parent 1's four gametes with each of Parent 2's four gametes, giving 16 offspring cells.
  5. Each cell shows the two-gene genotype (e.g., AaBb). Cells are color-coded by phenotype class.
  6. Genotype counts and phenotype ratios are tallied and displayed as ratio bars below the grid.

Use cases

  • Predict offspring ratios for a two-trait cross in genetics homework or exams.
  • Verify the classic 9:3:3:1 phenotype ratio for AaBb x AaBb crosses.
  • Model independent assortment of two unlinked genes.
  • Explore how changing parent genotypes shifts the expected offspring ratios.
  • Assist plant and animal breeders in estimating multi-trait expression rates.
  • Demonstrate Mendel's Law of Independent Assortment in classroom settings.

Frequently Asked Questions

Last updated: 2026-07-01 · Reviewed by Nham Vu