Punnett Square Calculator
Choose a cross type and parent genotypes to draw the Punnett square with genotype and phenotype ratios.
A = dominant allele, a = recessive allele (and B / b for the second trait). Ratios assume simple Mendelian dominance with no linkage.
Aa times Aa. Every biology student meets this cross, draws the little four-box grid, and counts out the famous 3:1 ratio — but scaling up to two traits turns the grid into sixteen boxes and the counting into real work.
The calculator above draws the grid for you. Choose a monohybrid or dihybrid cross, pick each parent’s genotype, and it renders the full Punnett square with the genotype ratio, the phenotype ratio, and the key probabilities.
This guide explains how the squares are built, what the ratios mean, and how to check your homework against the classic Mendelian landmarks.
What Does the Punnett Square Calculator Do?
You choose the cross type — monohybrid for one trait, dihybrid for two — and then select each parent’s genotype from a dropdown. Monohybrid parents range over AA, Aa, and aa; dihybrid parents over AABB, AaBb, aabb, AAbb, and aaBB.
Pressing Calculate renders the square as a grid: parent 1’s gametes across the top, parent 2’s down the side, and each offspring genotype in its cell. Below the grid, labeled rows report the genotype ratio, the phenotype ratio, and the headline probability.
The note under the results names the two landmarks to check against: the 1:2:1 genotype ratio and 3:1 phenotype ratio of the classic Aa × Aa cross, and the 9:3:3:1 phenotype ratio of the classic AaBb × AaBb cross.
How to Use the Punnett Square Calculator
Select the cross type first, because it changes the genotype dropdowns. Monohybrid mode offers the three single-trait genotypes; dihybrid mode offers the five two-trait combinations.
Pick Parent 1 and Parent 2 genotypes. The defaults are the classic teaching crosses — Aa × Aa and AaBb × AaBb — so your first calculation is one click away.
Press Calculate to draw the square and the ratios. Changing the cross type resets the dropdowns, so set the mode before choosing parents; press Reset to start over.
How a Monohybrid Square Is Built
Each parent contributes one gamete carrying one allele. An Aa parent makes A and a gametes in equal numbers, so the square pairs each of parent 1’s gametes with each of parent 2’s.
The formula behind the grid is a simple product:
offspring genotype = parent 1 gamete + parent 2 gamete
For Aa × Aa, the four cells are AA, Aa, Aa, and aa — each equally likely at one in four. The calculator sorts each cell’s alleles so Aa never appears as aA, keeping the grid readable.
Reading the Genotype Ratio
The genotype ratio counts the actual allele combinations: for Aa × Aa, that is 1 AA : 2 Aa : 1 aa. These are the genetic facts of the cross, before dominance hides anything.
Genotype ratios change with the parents. AA × aa gives 0 : 4 : 0 — every offspring is Aa — while Aa × aa gives 0 : 2 : 2. The calculator recomputes the counts from the drawn grid every time.
Students often confuse this row with the phenotype row below it. Genotypes are what the offspring carry; phenotypes are what you see — and dominance makes those two stories different.
Reading the Phenotype Ratio
The phenotype ratio applies dominance: every genotype containing A shows the dominant trait. For Aa × Aa, the three A-containing cells (AA, Aa, Aa) give a 3 : 1 dominant-to-recessive ratio.
This is the famous Mendelian ratio, and the calculator’s 75% “chance of dominant trait” is the same number in probability form. Three of four boxes, three-to-one odds, seventy-five percent — one fact, three costumes.
Recessive traits only appear in aa offspring, which is why two carrier parents can have a child showing a trait neither parent shows. The square makes that surprise visible before it happens.
How a Dihybrid Square Is Built
Two traits mean each gamete carries two alleles, one per trait. An AaBb parent makes four gamete types — AB, Ab, aB, ab — in equal numbers, assuming the genes are not linked.
The 4 × 4 grid pairs every gamete of one parent with every gamete of the other, producing sixteen equally likely offspring boxes. The calculator draws all sixteen, each cell showing its full four-letter genotype like AaBb.
Sixteen boxes is where hand-drawing gets error-prone and the calculator earns its keep: every cell is placed by rule, not by tired eyes.
Reading the Dihybrid Phenotype Ratio
With two dominant traits, offspring fall into four visible classes: both dominant (A_B_), first dominant only (A_bb), second dominant only (aaB_), and neither (aabb).
For the classic AaBb × AaBb cross, the counts are 9 : 3 : 3 : 1 across the sixteen boxes — Mendel’s second great ratio. The calculator reports it exactly, plus the 56% chance of showing both dominant traits (9 ÷ 16 = 56.25%, rounded).
The sixteen-box total row confirms the denominator. If your hand-drawn grid has fifteen boxes, you have found your error before it costs marks.
Worked Example: Aa x Aa Monohybrid
Both parents are heterozygous carriers, Aa and Aa.
First: choose monohybrid mode, set both parents to Aa, and press Calculate.
The gametes are A and a from each parent, giving cells AA, Aa, Aa, aa — one each in the four boxes.
Then: the genotype ratio is 1 : 2 : 1, the phenotype ratio is 3 : 1, and the chance of the dominant trait is 75%.
Answer: 1:2:1 genotypes, 3:1 phenotypes — the textbook cross, confirmed box by box.
Worked Example: AA x aa Monohybrid
One homozygous dominant parent and one homozygous recessive parent.
First: set Parent 1 to AA and Parent 2 to aa, then press Calculate.
Parent 1 makes only A gametes and parent 2 only a gametes, so all four cells are Aa.
Then: the genotype ratio is 0 : 4 : 0, the phenotype ratio is 4 : 0, and every offspring shows the dominant trait.
Answer: 100% heterozygous offspring — uniformity is the signature of this cross.
Worked Example: AaBb x AaBb Dihybrid
Both parents heterozygous for two traits.
First: choose dihybrid mode, set both parents to AaBb, and press Calculate.
Sixteen cells fill the grid; counting the A_B_ class gives 9, A_bb gives 3, aaB_ gives 3, and aabb gives 1.
Then: the phenotype ratio is 9 : 3 : 3 : 1, the both-dominant chance is 56%, and the total row confirms 16 offspring squares.
Answer: 9:3:3:1 — Mendel’s dihybrid ratio, drawn and counted automatically.
Worked Example: AABB x aabb Dihybrid
One parent dominant for both traits, the other recessive for both.
First: set the parents to AABB and aabb in dihybrid mode, then press Calculate.
Parent 1 makes only AB gametes and parent 2 only ab, so all four cells are AaBb.
Then: every offspring shows both dominant traits — the phenotype ratio collapses to a single class.
Answer: sixteen identical AaBb offspring — the dihybrid analogue of the uniform monohybrid cross.
Edge Case: Linked Genes
The calculator assumes independent assortment — the genes are on different chromosomes or far apart on the same one. Linked genes break this assumption and skew the ratios.
With linked genes, parental gamete combinations appear more often than recombinant ones, so the 9:3:3:1 ratio degrades toward the parental classes. No Punnett square with equal box probabilities can show this.
The info line under the calculator states the assumption plainly: simple Mendelian dominance with no linkage. When your real cross deviates from 9:3:3:1, linkage is the first suspect.
Common Punnett Square Mistakes
The most common mistake is miscounting the dihybrid grid — sixteen boxes, not twelve or fifteen. The calculator’s total row exists because this error is so frequent.
The second mistake is reporting the genotype ratio as the answer when the question asked for phenotypes. A 1:2:1 grid is a 3:1 visible outcome; the calculator shows both rows so you pick the right one.
The third mistake is forgetting that each box is equally likely. The 3:1 ratio describes probabilities across many offspring, not a guarantee that any particular four children will split three to one.
Where Punnett Squares Are Useful
Students use them to learn probability through genetics — the square is really a visual multiplication of two independent 50/50 events, which is why the math generalizes.
Breeders of plants and animals use the same logic at larger scale to predict the odds of desired trait combinations before committing generations of work.
Genetic counselors use the underlying probabilities (with far more sophisticated models) to explain recurrence risks to families — the Aa × Aa 25% recessive figure is the simplest version of that conversation.
How to Interpret Your Result Correctly
Match the question to the row. “What fraction are carriers?” is a genotype question (the 2 in 1:2:1); “what fraction show the trait?” is a phenotype question (the 3 in 3:1).
Check against the landmarks. Any Aa × Aa cross must give 1:2:1 and 3:1; any AaBb × AaBb cross must give 9:3:3:1. If yours does not, recheck the parent genotypes.
Remember the assumptions. Simple dominance, no linkage, no lethality, large numbers — the square is exact within its model and approximate outside it.
Frequently Asked Questions
1. What is a Punnett square?
It is a grid that predicts offspring genotypes from parental genotypes. One parent’s gametes run across the top, the other’s down the side, and each cell combines them — offspring = gamete 1 + gamete 2.
2. What is the difference between genotype and phenotype?
Genotype is the allele combination carried (AA, Aa, aa); phenotype is the visible trait. Dominance hides recessive alleles, so the 1:2:1 genotype ratio appears as a 3:1 phenotype ratio.
3. What does Aa x Aa produce?
Genotypes in a 1:2:1 ratio (AA : Aa : aa) and phenotypes in a 3:1 ratio, with a 75% chance of the dominant trait. The calculator draws all four boxes to show it.
4. What does AaBb x AaBb produce?
Phenotypes in the classic 9:3:3:1 ratio across sixteen boxes: 9 both dominant, 3 and 3 single dominant, 1 neither. The both-dominant chance is 9 ÷ 16, about 56%.
5. Why are there 16 boxes in a dihybrid cross?
Each parent makes 4 gamete types (AB, Ab, aB, ab), and 4 × 4 = 16 combinations. Every box is equally likely at 1 in 16.
6. What do uppercase and lowercase letters mean?
Uppercase (A, B) marks dominant alleles; lowercase (a, b) marks recessive ones. One uppercase allele is enough to show the dominant trait.
7. Can two parents without a trait have a child with it?
Yes, for recessive traits. Two Aa carriers each look dominant but have a 25% chance of an aa child showing the recessive trait — the square’s bottom-right box.
8. What is independent assortment?
The principle that the two traits separate independently into gametes, giving the equal 9:3:3:1 classes. The calculator assumes it; linked genes violate it.
9. How do I read the genotype ratio row?
As counts of each allele combination among the boxes. A 1:2:1 row means one AA box, two Aa boxes, and one aa box out of every four.
10. Why does the calculator sort alleles in each cell?
So Aa never appears as aA. Consistent ordering keeps the grid scannable and the genotype counting unambiguous.
11. What if the parents have the same genotype?
Nothing special happens — the square is symmetric. Aa × Aa and Aa × Aa are the same cross; the calculator handles identical parents the same as different ones.
12. Does the square work for more than two traits?
The math extends — three traits need 64 boxes — but this calculator covers one and two traits, which is where the teaching and most practical use lives.
13. Why is my ratio not exactly 9:3:3:1?
If the parents are the classic double heterozygotes, check for entry errors. In real breeding, small families deviate by chance and linked genes skew the classes systematically.
14. What does the 56% figure mean?
The probability that a random offspring shows both dominant traits in the AaBb × AaBb cross: 9 of 16 boxes, or 56.25%, rounded to 56%.
15. Is my cross data saved anywhere?
No. The square is drawn entirely in your browser and nothing is transmitted or stored. Reset or close the page and it is gone.