Free tool

Punnett Square Calculator

Enter two parent genotypes for one gene (Aa x Aa) or two genes (AaBb x AaBb) to get each parent's gametes, the full Punnett square, and the genotype and phenotype ratios with percentages.

Built for General Biology and AP Biology genetics

The cross

Use one letter per gene, capital for the dominant allele: Aa, BB, AaBb. Both parents need the same genes. Assumes complete dominance and independent assortment.

Result

Enter two genotypes to see the Punnett square.

Punnett squares get easy once gametes and ratios are automatic. Encodr keeps genetics like this on a spaced-repetition schedule so it holds until the exam.

Get started free

How a Punnett square works

Each parent makes gametes that carry one allele of each gene (Mendel's law of segregation). With two genes on different chromosomes, the alleles sort into gametes independently of each other (the law of independent assortment), so an AaBb parent makes four gamete types in equal numbers: AB, Ab, aB and ab. Write one parent's gametes across the top and the other's down the side. Each box is one equally likely offspring genotype.

Monohybrid example: Aa x Aa gives 1 AA : 2 Aa : 1 aa, a 1:2:1 genotype ratio. With complete dominance AA and Aa look the same, so the phenotype ratio is 3 dominant : 1 recessive (75% and 25%).

Dihybrid example: AaBb x AaBb gives a 4 x 4 square of 16 boxes and a 9:3:3:1 phenotype ratio: 9/16 show both dominant traits, 3/16 and 3/16 show one recessive trait each, and 1/16 is aabb. The same answer comes from the product rule: 3/4 x 3/4 = 9/16 for both dominant traits.

Test cross: crossing a dominant-looking individual with a homozygous recessive (aa) reveals its genotype. An AA parent gives all dominant offspring; an Aa parent gives a 1:1 ratio.

In the phenotype column, A_ means at least one dominant A allele (AA or Aa). The ratios assume complete dominance and unlinked genes. Incomplete dominance, codominance, epistasis and linked genes change the phenotype ratio. See the General Biology I flashcards for those cases.

From the blog

Punnett squares: monohybrid and dihybrid crosses

How to set up a Punnett square, get genotype and phenotype ratios, run a test cross, and skip the 16-box grid with the product rule.

Read →

What's in General Biology I: the 16 units, in order

A unit-by-unit tour of Encodr's free General Biology I course, from the science of biology to biotechnology, mapped to OpenStax Biology 2e chapters 1-17.

Read →

How to study for a general biology exam

A plan for intro biology exams: learn the vocabulary early, quiz processes in order, practice the genetics math, and space review across the unit.

Read →

First-year biology, chemistry and physics, compared

What General Biology I and II, General Chemistry I and II, and College Physics I and II each cover, how they fit together, and free flashcards for each.

Read →

Related tools

Hardy-Weinberg Calculator

Get p, q, p^2, 2pq and q^2 from a recessive phenotype frequency, an allele frequency, or genotype counts, with a chi-square test.

Open tool →

Bacterial Growth Calculator

Free bacterial growth calculator: final population, number of generations or generation time from Nn = N0 x 2^n, with the working shown.

Open tool →

Serial Dilution Calculator

Free serial dilution calculator: total dilution factor across steps and CFU/mL from a plate count, with the 30-300 colony countable-range check.

Open tool →

BMR and TDEE Calculator

Estimate resting energy with the Mifflin-St Jeor equation, then multiply by an activity factor for total daily energy expenditure, in metric or US units with the working shown.

Open tool →

Macronutrient Calculator

Convert grams of carbohydrate, protein, fat and alcohol to kilocalories, or a calorie target and percent split to grams, checked against AMDR ranges.

Open tool →

All free tools