Percentages and Math

Punnett Square Generator

Type the genotype of each parent to see every combination their children can have and how likely each one is.

Your numbers

Two letters per gene, up to 3 genes: Aa, AaBb or AaBbCc. Capital letters are dominant. Example value.

The same genes in the same order. Example value.

Result

AaBb x AaBb phenotype ratio

9:3:3:1

9 genotypes and 4 phenotypes from 16 equally likely combinations.

Phenotype ratio
9:3:3:1
Genotype ratio
4:2:2:2:2:1:1:1:1
Gametes from parent 1
AB, Ab, aB, ab
Gametes from parent 2
AB, Ab, aB, ab
Equally likely combinations
16

Punnett square

Parent 1 \ Parent 2ABAbaBab
ABAABBAABbAaBBAaBb
AbAABbAAbbAaBbAabb
aBAaBBAaBbaaBBaaBb
abAaBbAabbaaBbaabb

Offspring genotypes

GenotypeBoxesFractionChance
AaBb44/1625.00%
AABb22/1612.50%
AaBB22/1612.50%
Aabb22/1612.50%
aaBb22/1612.50%
AABB11/166.25%
AAbb11/166.25%
aaBB11/166.25%
aabb11/166.25%

Offspring phenotypes

PhenotypeBoxesFractionChance
Dominant A, Dominant B99/1656.25%
Dominant A, Recessive b33/1618.75%
Recessive a, Dominant B33/1618.75%
Recessive a, Recessive b11/166.25%
How this was calculated
  1. Each parent makes gametes by taking one allele of each gene. Genes on different chromosomes sort independently, so every combination is equally likely.
  2. Parent 1 makes 4 gametes and parent 2 makes 4, so there are 16 boxes. Each box joins one gamete from each parent.
  3. With complete dominance, an offspring shows the dominant trait whenever it has at least one capital-letter allele for that gene.
  • Real inheritance can differ: linked genes, incomplete penetrance, several genes for one trait and chance in small families all change what you see. The chances are for each child separately, not a promise about a group.

Calculated using SumPanda.com · https://sumpanda.com/punnett-square-generator/

Results are estimates for general information. Verify important figures before relying on them.

Next step

How to use the punnett square generator

  1. Type the genotype of Parent 1 and Parent 2 with two letters per gene, such as Aa for one gene or AaBb for two. Capital letters are dominant alleles. Up to three genes are allowed, and both parents must list the same genes in the same order.
  2. Choose Dominance: complete dominance (a capital letter hides the lower-case allele) or no dominance (each genotype looks different).
  3. Read the ratios in the stats, then the Punnett square (for one or two genes) and the tables of genotypes and phenotypes with each chance.
  4. For three genes the square is too large to show, so the tables carry the answer.

Formula

gametes = every combination of one allele from each gene of a parent

each box of the square = one gamete from parent 1 joined with one gamete from parent 2

chance of an outcome = boxes with that outcome / total boxes

Genes are assumed to sort independently, so every gamete combination is equally likely. A parent with n heterozygous genes makes 2^n gamete types, and the square has 4^n boxes for two such parents.

Crossing two double heterozygotes

AaBb x AaBb makes four gamete types from each parent (AB, Ab, aB, ab), so the square has 16 boxes. With complete dominance the phenotype ratio is 9:3:3:1 and the genotype ratio, from most to least common, is 4:2:2:2:2:1:1:1:1. The genotype AaBb fills 4 of the 16 boxes, a chance of 25%.

For one gene, Aa x Aa gives a 3:1 phenotype ratio and genotypes AA, Aa and aa in the ratio 1:2:1. With no dominance, the heterozygote Aa is its own phenotype and the ratio is 2:1:1. A test cross AaBb x aabb gives 1:1:1:1, and AaBbCc x AaBbCc gives 27:9:9:9:3:3:3:1.

Reading the square

The row labels are the gametes of parent 1 and the column labels are the gametes of parent 2. Each cell shows the genotype of a child who received those two gametes. Counting equal cells gives the genotype ratio, and sorting them by what they look like gives the phenotype ratio.

These are chances for each child separately. Two parents with a 25% chance of a recessive child can have no such children in a family of four, or several, because each child is a fresh draw.

What this model leaves out

Real inheritance has more cases: genes close together on a chromosome travel together, some traits depend on many genes, and some genotypes only partly show their trait. None of that is modeled here. The page is for teaching and for working through standard problems. To test whether a population fits expected proportions, use the Hardy-Weinberg Calculator, and for other chances see the Probability Calculator.

More genetics tools

For population genetics and sequences, try the DNA Sequence Toolkit and Hardy-Weinberg Calculator.

Assumptions and limits

  • Each gene has two alleles, written with the same letter in upper and lower case.
  • Genes sort independently of each other, and there is no linkage.
  • In the complete dominance model, an offspring shows the dominant trait when it has at least one capital letter for that gene.
  • Each gamete type is equally likely, and a repeated allele (as in AA) is counted twice so the boxes stay equally likely.
  • The example genotypes are an illustration. Replace them with your own.

Formulas reviewed October 10, 2026. See the calculation methodology for how SumPanda rounds, tests and sources its formulas.

Frequently asked questions

Why does AA x aa give only one genotype?

Every gamete from the first parent carries A and every gamete from the second carries a, so all children are Aa. With complete dominance they all show the dominant trait.

What does the ratio 9:3:3:1 mean?

Out of 16 equally likely boxes, 9 show both dominant traits, 3 show the first dominant and the second recessive, 3 the reverse and 1 shows both recessive.

Can I enter lower case first, like aA?

Yes. The two letters can be in either order, and the table writes each pair with the capital letter first.

Why is the third gene missing from the square?

Three genes make an 8 by 8 square with 64 boxes, which is too big to read. The tables of genotypes and phenotypes still count all 64.