Punnett Square Calculator
Calculate genetic cross outcomes, genotype ratios, and phenotype probabilities using a Punnett square.
Parent Alleles
Tip: Use uppercase for dominant alleles (A) and lowercase for recessive alleles (a).
Punnett Square
| A | a | |
|---|---|---|
| A | AA | aA |
| a | aA | aa |
Phenotype Ratio
Genotype Ratios
About Punnett Squares
A Punnett square is a diagram used to predict the genotypes of offspring from a genetic cross.
Homozygous: Two identical alleles (AA or aa)
Heterozygous: Two different alleles (Aa)
Dominant: Expressed when at least one copy is present
Recessive: Only expressed when homozygous
What Is a Punnett Square Calculator?
A Punnett square calculator is a genetics tool that predicts the possible genotypes and phenotypes of offspring produced by a genetic cross. Named after the British geneticist Reginald Punnett, the Punnett square is the standard diagram taught in introductory biology to visualize how alleles from two parents combine during sexual reproduction. This calculator automates the process: you enter each parent's two-allele genotype and it instantly fills in the four offspring boxes, tallies the genotype ratio, and computes the phenotype probability split.
Each parent carries two copies of a gene, called alleles. During meiosis, the two alleles separate so that each gamete (egg or sperm) carries only one. When fertilization occurs, one allele from each parent unites to form the offspring's genotype. The Punnett square lays the two possible gametes of one parent across the top and the two possible gametes of the other parent down the side, then fills each interior cell with the combination. For a single gene, this produces a 2×2 grid with exactly four equally likely outcomes.
This genetics calculator handles any monohybrid cross you type in. By convention, an uppercase letter (such as A) represents a dominant allele and a lowercase letter (such as a) represents a recessive allele. The tool normalizes each genotype so the dominant allele is written first, counts how many of the four boxes share each genotype, and reports both the genotype ratio and the phenotype ratio. Whether you are studying Mendelian inheritance, checking homework, or estimating the odds for a particular trait, the Punnett square calculator gives the answer in seconds.
How the Punnett Square Calculator Works
The calculator treats each parent as a pair of alleles. Parent 1 supplies alleles labeled P1a and P1b; Parent 2 supplies P2a and P2b. The four offspring boxes are every pairing of one allele from each parent: P1a+P2a, P1a+P2b, P1b+P2a, and P1b+P2b. Because each of the four combinations is equally likely, each box represents a 25% chance, or one quarter, of the possible offspring.
After building the grid, the tool normalizes every genotype so the dominant (uppercase) allele appears first. This means "aA" and "Aa" are recognized as the same heterozygous genotype rather than counted separately. It then tallies how many of the four boxes match each unique genotype to produce the genotype ratio, and converts each count to a percentage using the formula percentage = (count / 4) × 100.
For the phenotype ratio, the calculator applies complete dominance: a genotype shows the dominant phenotype if it contains at least one uppercase allele, and the recessive phenotype only when both alleles are lowercase. The classic heterozygous cross Aa × Aa therefore yields a 3:1 dominant-to-recessive phenotype ratio and a 1:2:1 genotype ratio. The tool also classifies each parent as homozygous dominant, homozygous recessive, or heterozygous based on its two alleles.
Punnett Square Offspring and Ratios
Where:
- P1a, P1b= The two alleles of Parent 1
- P2a, P2b= The two alleles of Parent 2
- count= Number of the four boxes sharing a given genotype
- percentage= Probability of that genotype among offspring (count out of 4)
Dominant, Recessive, Genotype, and Phenotype
Understanding the vocabulary makes Punnett squares far easier to read. The genotype is the actual genetic makeup written as two allele letters, such as AA, Aa, or aa. The phenotype is the observable trait that results, such as a flower being purple or white. A dominant allele masks the effect of a recessive one, so a single dominant copy is enough to express the dominant phenotype.
Genotypes fall into three categories based on the two alleles:
- Homozygous dominant (AA): two identical dominant alleles. The organism shows the dominant trait and passes only the dominant allele to offspring.
- Heterozygous (Aa): one dominant and one recessive allele. The organism still shows the dominant trait but is a carrier of the recessive allele.
- Homozygous recessive (aa): two identical recessive alleles. This is the only genotype that displays the recessive phenotype under complete dominance.
This distinction explains why two parents with a dominant trait can produce offspring with a recessive trait. If both parents are heterozygous carriers (Aa × Aa), one quarter of their offspring are expected to be homozygous recessive (aa) and therefore display the recessive phenotype, even though neither parent does. The Punnett square calculator captures exactly this outcome.
Reading the Genotype and Phenotype Ratios
The calculator returns two complementary summaries. The genotype ratio describes the exact genetic combinations, while the phenotype ratio describes the visible traits. They are not always the same number because several genotypes can produce the same phenotype.
The table below shows the standard ratios produced by the most common single-gene crosses. These are the outcomes the calculator reproduces when you enter the matching parent genotypes:
| Cross | Genotype Ratio | Phenotype Ratio |
|---|---|---|
| Aa × Aa | 1 AA : 2 Aa : 1 aa | 3 dominant : 1 recessive |
| AA × aa | 4 Aa (all heterozygous) | 4 dominant : 0 recessive |
| Aa × aa | 2 Aa : 2 aa | 2 dominant : 2 recessive (1:1) |
| AA × Aa | 2 AA : 2 Aa | 4 dominant : 0 recessive |
Notice that the cross AA × aa produces all heterozygous offspring with a uniform dominant phenotype, while the cross Aa × aa, called a test cross, splits 1:1. Geneticists use test crosses precisely because a 1:1 ratio reveals that the dominant-looking parent was heterozygous rather than homozygous.
Where Punnett Squares Are Used
Punnett squares are far more than a classroom exercise. In agriculture and animal breeding, breeders use them to plan crosses that increase the frequency of desirable traits, such as disease resistance in crops or coat color in livestock. By predicting genotype ratios, a breeder can estimate how many offspring of a planned mating will carry a target allele.
In genetic counseling, a simplified Punnett analysis helps families understand the probability that a child will inherit a recessive condition such as cystic fibrosis or sickle cell trait when both parents are known carriers. A cross between two carriers (Aa × Aa) predicts a 25% chance of an affected child, a 50% chance of a carrier, and a 25% chance of an unaffected non-carrier, which mirrors the calculator's 1:2:1 genotype output.
The tool is also a study aid for biology, AP Biology, and genetics courses, where students must master monohybrid crosses before advancing to dihybrid crosses, incomplete dominance, codominance, and linkage. While this calculator focuses on a single gene with complete dominance, the same allele-combination logic underpins those more advanced topics. Pairing the Punnett square calculator with a chi-square genetics calculator lets you compare predicted ratios against observed experimental counts to test whether real data fit Mendelian expectations.
Worked Examples
Monohybrid Cross: Aa x Aa
Problem:
Both parents are heterozygous for a trait (Aa). Predict the genotype and phenotype ratios of their offspring.
Solution Steps:
- 1List the four offspring boxes from each allele combination: A+A = AA, A+a = Aa, a+A = Aa, a+a = aa.
- 2Normalize and count genotypes: AA appears 1 time, Aa appears 2 times, aa appears 1 time, giving a 1:2:1 genotype ratio.
- 3Apply complete dominance: AA, Aa, and Aa all carry a dominant allele (3 dominant); only aa is recessive (1 recessive).
- 4Convert to percentages with (count / 4) x 100: AA = 25%, Aa = 50%, aa = 25%.
Result:
Genotype ratio 1 AA : 2 Aa : 1 aa; phenotype ratio 3 dominant : 1 recessive (75% dominant, 25% recessive).
Test Cross: Aa x aa
Problem:
A heterozygous parent (Aa) is crossed with a homozygous recessive parent (aa). What are the expected offspring ratios?
Solution Steps:
- 1Build the boxes: A+a = Aa, A+a = Aa, a+a = aa, a+a = aa.
- 2Count genotypes: Aa appears 2 times and aa appears 2 times, a 2:2 (1:1) genotype ratio.
- 3Apply dominance: the two Aa offspring show the dominant phenotype and the two aa offspring show the recessive phenotype.
- 4Compute percentages: Aa = 50% dominant, aa = 50% recessive.
Result:
Genotype ratio 2 Aa : 2 aa; phenotype ratio 2 dominant : 2 recessive (1:1), the signature result of a test cross.
Homozygous Cross: AA x aa
Problem:
A homozygous dominant parent (AA) is crossed with a homozygous recessive parent (aa). Determine the offspring outcomes.
Solution Steps:
- 1Form the boxes: A+a = Aa, A+a = Aa, A+a = Aa, A+a = Aa.
- 2Count genotypes: all four boxes are Aa, so the genotype ratio is 4 Aa (uniform).
- 3Apply dominance: every offspring carries one dominant allele, so all four show the dominant phenotype.
- 4Compute percentages: Aa = 100% of offspring, 100% dominant phenotype, 0% recessive.
Result:
All offspring are heterozygous Aa and display the dominant phenotype (100% dominant), the F1 generation of a classic Mendelian cross.
Tips & Best Practices
- ✓Always use uppercase for dominant alleles and lowercase for the matching recessive allele so the calculator classifies phenotypes correctly.
- ✓Remember each of the four boxes is a 25% chance, so percentages always come in multiples of 25 for a single-gene cross.
- ✓A 3:1 phenotype ratio is the fingerprint of a heterozygous cross (Aa x Aa).
- ✓A 1:1 phenotype ratio signals a test cross (Aa x aa) and reveals a heterozygous dominant parent.
- ✓Genotype ratios are more detailed than phenotype ratios; report both when answering genetics questions.
- ✓Use the preset buttons (Aa x Aa, AA x aa, Aa x aa, AA x Aa) to quickly check the classic Mendelian crosses.
- ✓Probabilities predict expected outcomes over many offspring, not a guaranteed split in a single small litter or family.
- ✓Compare predicted ratios with observed data using a chi-square test to check whether a cross follows Mendelian inheritance.
Frequently Asked Questions
Sources & References
Last updated: 2026-06-05
Help us improve!
How would you rate the Punnett Square Calculator?
Editorial Note
MyCalcBuddy Editorial Team
This page is maintained as an educational calculator reference.
Formula Source: Standard Mathematical References
by Various