Punnett square calculator

Enter the genotypes of both parents, one letter pair per gene, and see the full Punnett square with every offspring genotype, the phenotype ratio (for example 3 : 1 or 9 : 3 : 3 : 1) and the share of each class.

One letter pair per gene, capital = dominant allele: Aa, AaBb, AaBbCc (up to 3 genes, the same genes in both parents).
Phenotype ratio9 : 3 : 3 : 1
ABAbaBab
ABAABBAABbAaBBAaBb
AbAABbAAbbAaBbAabb
aBAaBBAaBbaaBBaaBb
abAaBbAabbaaBbaabb

Phenotypes

PhenotypeShare of offspring
A_B_9/16 (56.25 %)
A_bb3/16 (18.75 %)
aaB_3/16 (18.75 %)
aabb1/16 (6.25 %)

Genotypes

GenotypeShare of offspring
AABB1/16 (6.25 %)
AABb2/16 (12.5 %)
AAbb1/16 (6.25 %)
AaBB2/16 (12.5 %)
AaBb4/16 (25 %)
Aabb2/16 (12.5 %)
aaBB1/16 (6.25 %)
aaBb2/16 (12.5 %)
aabb1/16 (6.25 %)

Genotype ratio: 1 : 2 : 1 : 2 : 4 : 2 : 1 : 2 : 1

Phenotypes assume complete dominance: A_ means at least one dominant allele A, aa means two recessive alleles. Genes are assumed to be unlinked.

Runs in your browser: nothing you enter is sent anywhere.

How to use

  1. Type the genotype of each parent, one letter pair per gene: a capital letter is the dominant allele, a small one the recessive allele (Aa, AaBb, AaBbCc).
  2. Both parents must have the same genes; their order does not matter (BbAa is read as AaBb).
  3. Read the phenotype ratio at the top, then the square itself and the tables with the share of each phenotype and genotype.

How it works

Each parent passes one allele of every gene to a gamete. For n genes a parent has 2ⁿ gamete combinations (2, 4 or 8), listed with the first gene changing slowest: AaBb gives AB, Ab, aB, ab. The square combines every gamete of parent 1 (rows) with every gamete of parent 2 (columns), so all cells are equally likely. Counting identical cells gives the genotype ratio; grouping them by phenotype — A_ when at least one dominant allele is present, aa otherwise — gives the phenotype ratio. Ratios are reduced by their common divisor.

Worked example

AaBb × AaBb: 4 × 4 = 16 cells. The phenotypes are A_B_ 9/16 (56.25 %), A_bb 3/16 (18.75 %), aaB_ 3/16 (18.75 %) and aabb 1/16 (6.25 %), so the phenotype ratio is 9 : 3 : 3 : 1. There are nine genotypes in the ratio 1 : 2 : 1 : 2 : 4 : 2 : 1 : 2 : 1 — the most common one is AaBb with 4/16 (25 %).

A monohybrid cross Aa × Aa gives AA 1/4, Aa 2/4, aa 1/4 (1 : 2 : 1) and the phenotype ratio 3 : 1.

Tips

  • A homozygous parent such as aabb still gets a full row of gametes (four identical ab), so the square keeps 16 cells and the shares stay right.
  • Use different letters for different genes, not A and a for one gene and A for another trait.
  • Three genes give an 8 × 8 square of 64 cells and the classic 27 : 9 : 9 : 3 : 9 : 3 : 3 : 1 phenotype ratio for AaBbCc × AaBbCc.

Frequently asked questions

What is a Punnett square?

It is a grid that lists the possible gametes (egg or sperm alleles) of one parent along one side and of the other parent along the other side. Each cell combines one gamete from each parent, so the cells show every equally likely offspring genotype.

Why is the dihybrid ratio 9 : 3 : 3 : 1?

AaBb makes four gametes (AB, Ab, aB, ab) in equal shares, so the square has 16 cells. With complete dominance 9 cells show both dominant traits (A_B_), 3 only the first (A_bb), 3 only the second (aaB_) and 1 both recessive (aabb).

What is a test cross?

Crossing an individual with a dominant phenotype to a homozygous recessive one (aa or aabb). If the offspring split 1 : 1 (or 1 : 1 : 1 : 1 for two genes), the tested parent was heterozygous; if all show the dominant trait, it was homozygous.

Does it work for incomplete dominance or linked genes?

The square and the genotype ratio are right in any case. The phenotype ratio assumes complete dominance and independent assortment; for incomplete or codominance read the genotype ratio instead, and linked genes need recombination frequencies that this calculator does not use.

More in Education

All tools in this category: Education ·Updated November 4, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.