Advanced Punnett Square Calculator

Calculate offspring probabilities for single or two-locus Punnett squares.

Please check your inputs and try again.

Why Multiplication Beats Drawing the Grid

A dihybrid cross needs a 4×4 grid; a trihybrid needs 8×8 with 64 boxes. Beyond two genes, drawing the square becomes impractical — but the product rule handles any number of independently assorting genes.

P(combined) = P(gene 1) × P(gene 2) × ...

For AaBbCc × AaBbCc, the probability of A_B_C_ is simply (3/4)³ = 27/64. No grid required. The classic 9:3:3:1 dihybrid ratio is just (3/4, 1/4) applied twice and multiplied out.

Genes heterozygousGamete typesGrid sizePhenotype classes
1242
24164
38648
41625616

When Independent Assortment Fails

The product rule requires genes to assort independently, which holds only when they are on different chromosomes or far apart on the same one. Linked genes violate it, producing an excess of parental combinations and a deficit of recombinants.

A dihybrid testcross giving anything other than 1:1:1:1 indicates linkage, and the deviation quantifies the map distance directly.

Epistasis Changes the Ratio, Not the Genotypes

InteractionPhenotype ratioExample
Independent9:3:3:1Standard dihybrid
Recessive epistasis9:3:4Coat colour in mice
Dominant epistasis12:3:1Squash fruit colour
Duplicate genes15:1Wheat kernel colour
Complementary genes9:7Flower pigment pathway

Every one of these is still a 9:3:3:1 genotypic outcome. What changes is which genotype classes look alike. In recessive epistasis the 3 and 1 classes merge into a single phenotype, giving 9:3:4 — the underlying Mendelian ratios are intact, but one gene masks the other's expression.

Recognising these modified ratios is how gene interactions were mapped before molecular methods, and the numbers still identify the interaction type from breeding data alone.

Worked Examples

Example 1: AaBb x AaBb (classic dihybrid)
A_B_ = 9/16 = 56.25%
Result: Classic 9:3:3:1 ratio
Mendel's pea plants two-factor cross
Example 2: Aa x Aa (monohybrid)
AA=25%, Aa=50%, aa=25%
Result: 3:1 phenotype ratio (if A dominant)
F2 generation of monohybrid cross
Example 3: Trihybrid without a grid
AaBbCc × AaBbCc, probability of A_B_C_
Result: (3/4)³ = 27/64
Multiplying the single-gene probabilities avoids drawing 64 boxes and generalises to any number of genes.
Example 4: Reading epistasis from a ratio
Observed 9:3:4 instead of 9:3:3:1
Result: Recessive epistasis
Two phenotype classes have merged because one gene in homozygous recessive form masks the other. The genotypic ratio is unchanged.

Common Mistakes

⚠️
Drawing grids for three or more genes

A trihybrid square has 64 boxes. Multiplying single-gene probabilities gives the same answer in one line.

⚠️
Applying the product rule to linked genes

Independent assortment is required. Linked genes give an excess of parental combinations, and a testcross ratio other than 1:1:1:1 reveals it.

⚠️
Interpreting a modified ratio as non-Mendelian

Ratios such as 9:3:4 and 12:3:1 are still 9:3:3:1 genotypically. Epistasis merges phenotype classes without altering inheritance.

⚠️
Expecting exact ratios in small families

These are probabilities. Human pedigrees rarely have enough offspring for observed ratios to approach expectation.

Frequently Asked Questions

Why 9:3:3:1?
From AaBb x AaBb: each gene segregates independently (3:1). Combined: (3:1)x(3:1) = 9:3:3:1. Assumes: dominant/recessive, independent assortment (genes on different chromosomes or far apart).
Epistasis modifications?
9:3:3:1 modified by epistasis. Recessive epistasis (9:3:4). Dominant epistasis (12:3:1). Duplicate dominant (15:1). Complementary genes (9:7). Presence of one gene masks expression of another.
Why use the product rule instead of a Punnett square?
Because grid size grows as 4n. Multiplying single-gene probabilities gives the same result for any number of independently assorting genes.
What does a 9:3:4 ratio indicate?
Recessive epistasis — one gene in homozygous recessive form masks the other, merging two phenotype classes. The genotypic ratio remains 9:3:3:1.
When does the product rule fail?
When genes are linked. Independent assortment is required, and linkage produces an excess of parental allele combinations.
Why is the dihybrid ratio 9:3:3:1?
It is (3/4 dominant, 1/4 recessive) applied to each gene and multiplied: 9/16, 3/16, 3/16 and 1/16.