Punnett Square Calculator

Generate Punnett squares to visualize and predict the outcomes of genetic crosses.

Parent 1 Alleles

Parent 2 Alleles

Punnett Square

Aa
AAAAa
aAaaa

Genotype Frequencies:

AA1/4 (25%)
Aa2/4 (50%)
aa1/4 (25%)

Phenotype Frequencies:

Dominant3/4 (75%)
Recessive1/4 (25%)

About Punnett Squares

A Punnett square is a diagram used to predict the genotypes of offspring from a genetic cross. It shows all possible combinations of alleles from both parents. Use uppercase letters for dominant alleles and lowercase for recessive alleles.

What Is a Punnett Square Calculator?

A Punnett square calculator is a genetics tool that predicts the possible genotypes and phenotypes of offspring from a single-gene (monohybrid) cross between two parents. Named after the British geneticist Reginald Punnett, the square is a simple grid that organizes every combination of alleles that the parents can contribute to their offspring. This calculator takes the two alleles carried by each parent, builds a 2×2 grid of all four equally likely combinations, and then tallies the resulting genotype and phenotype ratios for you.

In this tool you enter four single-letter alleles: two for Parent 1 and two for Parent 2. By convention, an uppercase letter represents a dominant allele and a lowercase letter represents a recessive allele (for example, A versus a). The calculator pairs each allele from Parent 1 with each allele from Parent 2, sorts each resulting genotype so the dominant allele is written first, and counts how many of the four offspring boxes fall into each genotype and phenotype class. The classic heterozygous cross Aa × Aa instantly returns the familiar 1:2:1 genotype ratio and 3:1 phenotype ratio that every introductory genetics course teaches.

Whether you are a biology student checking homework, a teacher building examples, or a curious hobbyist exploring inheritance in pets or plants, this Punnett square calculator removes the arithmetic guesswork and shows the complete probability breakdown for any monohybrid cross you can describe with two letters per parent.

How the Punnett Square Calculation Works

The logic behind the Punnett square rests on Mendel's Law of Segregation: each parent carries two alleles for a gene but passes only one allele to each offspring, chosen at random. Because each parent contributes one of two alleles, there are 2 × 2 = 4 equally likely allele combinations. The calculator generates every one of these combinations by placing Parent 1's two alleles down the rows and Parent 2's two alleles across the columns.

For each cell, the calculator joins one allele from each parent into a two-letter genotype. It then sorts the pair so the dominant (uppercase) allele appears first, ensuring that aA and Aa are counted as the same genotype rather than two different ones. After all four cells are filled, it counts how often each unique genotype appears out of four and converts those counts to percentages.

To determine the phenotype, the calculator inspects each genotype: if at least one allele is uppercase (dominant), the offspring shows the dominant trait; if both alleles are lowercase, it shows the recessive trait. This mirrors complete dominance, where a single dominant allele masks the recessive one. The totals are always expressed out of four offspring, which is why ratios such as 3:1 (dominant:recessive) or 1:1 emerge so naturally from these crosses.

Offspring Probability from a Monohybrid Cross

P(genotype) = (count of matching cells) / 4

Where:

  • count of matching cells= Number of the four 2x2 grid cells producing that genotype (after sorting dominant allele first)
  • 4= Total offspring boxes, since each of 2 parental alleles pairs with 2 from the other parent (2 x 2)
  • P(genotype)= Probability (or expected fraction) of offspring with that genotype

Genotype vs. Phenotype Ratios Explained

Two ratios matter when reading the output of a Punnett square calculator. The genotype ratio describes the genetic makeup of the offspring (which alleles they carry), while the phenotype ratio describes the observable traits those genes produce. They are not the same: several different genotypes can produce the same visible trait under complete dominance.

The table below summarizes the four classic monohybrid crosses and the ratios this calculator returns for each. Notice how a heterozygous cross produces both a genotype ratio and a phenotype ratio, whereas crosses between homozygous parents produce a single uniform outcome.

Cross Offspring Genotypes Genotype Ratio Phenotype Ratio
Aa × Aa AA, Aa, Aa, aa 1 : 2 : 1 3 dominant : 1 recessive
Aa × aa Aa, Aa, aa, aa 0 : 2 : 2 1 dominant : 1 recessive
AA × aa Aa, Aa, Aa, Aa all Aa all dominant
AA × Aa AA, AA, Aa, Aa 2 AA : 2 Aa all dominant

Because this calculator treats any uppercase allele as dominant, every genotype containing at least one capital letter is grouped into the dominant phenotype. This is the standard assumption of complete dominance and matches the way introductory genetics problems are scored.

How to Use the Punnett Square Calculator

Using the Punnett square calculator takes only a few seconds once you know your parental genotypes. Follow these steps to predict any monohybrid cross.

  1. Choose a letter for the gene. Pick any single letter to represent the trait, such as B for fur color or T for plant height.
  2. Enter Parent 1's two alleles. Type the first and second allele into the Parent 1 fields. Use an uppercase letter for the dominant form and a lowercase letter for the recessive form.
  3. Enter Parent 2's two alleles. Repeat for Parent 2, using the same letter so the cross compares like with like.
  4. Read the grid. The 2×2 Punnett square fills in automatically, showing all four offspring genotypes with the dominant allele listed first.
  5. Check the ratios. Review the genotype frequencies (each out of four) and the dominant-versus-recessive phenotype percentages below the grid.

Each field accepts a single character, so make sure both parents use matching letters (for example both use A and a) rather than mixing genes. The calculator always reports results out of four offspring because a monohybrid cross has exactly four equally probable allele pairings.

Real-World Applications of Punnett Squares

The Punnett square is more than a classroom exercise; it is a practical first step in genetic prediction across biology, agriculture, and animal breeding. Breeders use monohybrid crosses to estimate how often a desirable trait, such as coat color in dogs or seed shape in peas, will appear in the next generation before committing to a breeding plan.

In human genetics, simplified Punnett squares help illustrate the inheritance of single-gene conditions like cystic fibrosis or sickle cell trait, where two carrier parents (each Aa) have a one-in-four chance of producing an affected child. While real genetic counseling uses far more detailed models, the Punnett square communicates the core probability clearly and intuitively.

Plant scientists and horticulturists apply the same logic to predict flower color, fruit traits, and disease resistance. Because the calculator returns exact fractions out of four, it is easy to scale up: if a cross predicts a 3:1 dominant-to-recessive ratio, you can expect roughly 75% of a large seedling batch to display the dominant trait. The square also reinforces foundational concepts (segregation, dominance, and heterozygosity) that lead naturally into more advanced topics such as dihybrid crosses, test crosses, and Hardy-Weinberg population genetics.

Worked Examples

Heterozygous Cross (Aa x Aa)

Problem:

Both parents are heterozygous for a trait, carrying alleles A (dominant) and a (recessive). Predict the offspring genotype and phenotype ratios.

Solution Steps:

  1. 1Set Parent 1 = A, a and Parent 2 = A, a.
  2. 2Fill the 2x2 grid by pairing each allele: A+A = AA, A+a = Aa, a+A = Aa (sorted to Aa), a+a = aa.
  3. 3Count genotypes out of four: AA = 1, Aa = 2, aa = 1, giving the 1:2:1 genotype ratio.
  4. 4Determine phenotypes: AA, Aa, and Aa all carry a dominant allele (3 dominant), while aa is recessive (1 recessive).

Result:

Genotypes: 25% AA, 50% Aa, 25% aa. Phenotypes: 75% dominant, 25% recessive (3:1).

Test Cross (Aa x aa)

Problem:

A heterozygous parent (A, a) is crossed with a homozygous recessive parent (a, a) to reveal the unknown genotype.

Solution Steps:

  1. 1Set Parent 1 = A, a and Parent 2 = a, a.
  2. 2Pair the alleles: A+a = Aa, A+a = Aa, a+a = aa, a+a = aa.
  3. 3Count genotypes out of four: Aa = 2, aa = 2.
  4. 4Determine phenotypes: the two Aa offspring are dominant, the two aa offspring are recessive.

Result:

Genotypes: 50% Aa, 50% aa. Phenotypes: 50% dominant, 50% recessive (1:1).

Homozygous Dominant x Homozygous Recessive (AA x aa)

Problem:

A true-breeding dominant parent (A, A) is crossed with a true-breeding recessive parent (a, a), the classic F1 parental cross.

Solution Steps:

  1. 1Set Parent 1 = A, A and Parent 2 = a, a.
  2. 2Pair the alleles: A+a = Aa for all four cells.
  3. 3Count genotypes out of four: Aa = 4 (every offspring is heterozygous).
  4. 4Determine phenotypes: every Aa offspring carries a dominant allele, so all show the dominant trait.

Result:

Genotypes: 100% Aa. Phenotypes: 100% dominant. All F1 offspring are uniform heterozygotes.

Homozygous Dominant x Heterozygous (BB x Bb)

Problem:

A homozygous dominant parent (B, B) is crossed with a heterozygous parent (B, b) for a single trait.

Solution Steps:

  1. 1Set Parent 1 = B, B and Parent 2 = B, b.
  2. 2Pair the alleles: B+B = BB, B+b = Bb, B+B = BB, B+b = Bb.
  3. 3Count genotypes out of four: BB = 2, Bb = 2.
  4. 4Determine phenotypes: both BB and Bb carry a dominant allele, so all four offspring are dominant.

Result:

Genotypes: 50% BB, 50% Bb. Phenotypes: 100% dominant (no recessive offspring possible).

Tips & Best Practices

  • Always use the same letter for both parents so the cross compares one gene, like A and a rather than mixing A and B.
  • Write the dominant allele in uppercase and the recessive allele in lowercase to get accurate phenotype grouping.
  • Remember that a 3:1 phenotype ratio signals a cross between two heterozygous parents (Aa x Aa).
  • A 1:1 phenotype ratio is the hallmark of a test cross (Aa x aa), useful for revealing an unknown genotype.
  • Convert fractions to percentages for large samples: a 3:1 ratio means roughly 75% of offspring show the dominant trait.
  • Use the genotype ratio, not just the phenotype ratio, when tracking carriers of a recessive allele.
  • For inheritance of single-gene disorders, two carrier parents (Aa x Aa) give a 25% chance of an affected child.
  • Double-check that each input box contains exactly one letter, since the calculator reads a single character per allele.

Frequently Asked Questions

A Punnett square is used to predict the probable genotypes and phenotypes of offspring from a genetic cross between two parents. It organizes every possible allele combination into a grid so you can read off the expected ratios at a glance. This calculator automates that process for any monohybrid (single-gene) cross.
Use an uppercase letter for the dominant allele and the matching lowercase letter for the recessive allele, such as A and a. The calculator treats any genotype containing at least one uppercase letter as showing the dominant phenotype. Be sure both parents use the same letter so the cross compares the same gene.
A monohybrid Punnett square is a 2x2 grid because each parent contributes one of two alleles, giving 2 multiplied by 2, which equals four equally likely offspring combinations. Every genotype and phenotype frequency is therefore expressed as a fraction of these four boxes. That is why ratios like 3:1 and 1:1 appear so often in genetics problems.
The genotype ratio describes the genetic makeup of the offspring, such as 1 AA : 2 Aa : 1 aa for a heterozygous cross. The phenotype ratio describes the observable traits, which for the same cross is 3 dominant : 1 recessive because both AA and Aa look dominant. Different genotypes can share a phenotype under complete dominance.
No, this tool is designed for monohybrid crosses involving a single gene with two alleles per parent. A dihybrid cross tracks two genes at once and requires a 4x4 grid with sixteen boxes and a 9:3:3:1 phenotype ratio. For two-gene problems you would need a dedicated dihybrid Punnett square tool.
No, the calculator assumes complete dominance, meaning a single dominant allele fully masks the recessive allele. It groups every genotype with an uppercase allele into the dominant phenotype. Incomplete dominance (blended traits) and codominance (both traits shown) would produce additional intermediate phenotypes that this simple model does not display.

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.

Source

Formula Source: Standard Mathematical References

by Various

UpdatedLast reviewed: May 2026
CheckedFormula checks are based on standard references and internal QA review.

Privacy choices

MyCalcBuddy uses necessary storage for the site to work. Optional analytics, notifications, and future advertising features stay off unless you allow them.