Biology · Genetics

Punnett square calculator.

Choose each parent's genotype for one or two genes and get the full grid, the genotype and phenotype ratios and the chance of each outcome.

Monohybrid and dihybridComplete dominanceTest cross presetChecked 8 October 2026

Advertisement

Inputs

Punnett square

Pick the parents' genotypes.

Reading a Punnett square

A Punnett square lists the gametes each parent can pass on along its two edges and fills every box with the genotype that results when the two meet (OpenStax Biology 2e, 12.2). This tool assumes autosomal genes, complete dominance (an upper-case allele hides its lower-case partner) and, for two genes, independent assortment. The boxes are counted, so a cross gives exact fractions rather than estimates.

Worked example. Two heterozygous parents, Aa × Aa, give 1 AA : 2 Aa : 1 aa out of 4 boxes, a genotype ratio of 1:2:1 and a phenotype ratio of 3:1, so each child has a 75% chance of the dominant trait. A test cross uses a homozygous recessive partner (OpenStax 12.2): Aa × aa gives 2 Aa : 2 aa, a 1:1 phenotype ratio, while AA × aa gives only 4 Aa. For two double heterozygotes, AaBb × AaBb, the tool shows 16 boxes and a 9:3:3:1 phenotype ratio; Wikipedia notes that 9:3:3:1 is the expected result for unlinked genes and that any other ratio points to something else, such as lethal alleles, epistasis or linked genes.

Frequently asked questions

What is a Punnett square?

A grid that shows every combination of gametes two parents can produce, so you can count the chance of each offspring genotype. It works for single genes that follow simple Mendelian rules.

What is a test cross?

Crossing an organism that shows the dominant trait with one that is homozygous recessive. If the dominant organism is homozygous, all offspring show the dominant trait; if it is heterozygous, about half show the recessive trait (OpenStax Biology 2e, 12.2).

Why is a dihybrid cross 9:3:3:1?

Each gene gives a 3:1 split on its own and the genes are inherited independently, so the chances multiply: 3/4 x 3/4 = 9/16 for both dominant, 3/4 x 1/4 = 3/16 for each mixed case and 1/4 x 1/4 = 1/16 for both recessive.

Can I use it for eye colour or hair colour?

Not reliably. MedlinePlus Genetics says the old single-gene model, with brown dominant over blue, was too simplistic because several genes are involved. Use this tool for single-gene teaching examples.

Does it work for X-linked traits or blood type?

No. X-linked traits have their own grid with sex chromosomes, and ABO blood type has three alleles. Use the X-linked and blood type tools linked on this page.

Sources

Checked

Runs entirely in your browser. Nothing you type is sent or stored.

Teaching model, not advice

A classroom model of single-gene Mendelian inheritance. It does not predict real traits of a person or baby, and it is not medical or genetic-counselling advice.

Advertisement
Advertisement