Genetics · Updated for 2026

Punnett Square Calculator

This Punnett square calculator crosses two parent genotypes and instantly builds the full offspring grid, along with the resulting genotype and phenotype ratios, for both monohybrid (one gene) and dihybrid (two gene) crosses.

Quick answer

A Punnett square represents expected offspring genotype probabilities by listing the gametes each parent can produce and pairing them in a grid. This calculator handles one- and two-gene crosses under a simple Mendelian model: two alleles per gene, complete dominance for phenotype labels, and independent assortment for the two-gene mode.

Enter Parent Genotypes
Punnett square logic: unique gametes(P1) × unique gametes(P2) = offspring grid
Cross type
Grid Cells
—
Unique Genotypes
—
Unique Phenotypes
—
Enter both parent genotypes to calculate (e.g. Aa × Aa)

Step-by-step breakdown

  1. Enter both parent genotypes above to see the gamete logic unfold step by step.
Educational model only. Assumptions: two alleles per gene, complete dominance for phenotype labels, equal segregation, and independent assortment in two-gene crosses. Linked genes, recombination frequencies, sex linkage, codominance, incomplete dominance, epistasis, penetrance, and other non-Mendelian patterns are not modeled. The grid shows expected probabilities under these assumptions, not guaranteed outcomes in a real family or breeding experiment, and it should not be used for medical, reproductive, genetic-counseling, or breeding decisions. The Punnett-square calculation itself is performed in your browser by this page’s JavaScript; see the site’s Privacy Policy for site-level data practices.
What this calculator does

Use a Punnett Square to Model Simple Mendelian Crosses

A Punnett square is a probability model. It lists possible parental gametes and combines them to show the expected frequencies of offspring genotypes. For a heterozygous monohybrid cross such as Aa × Aa, equal segregation gives the familiar 1:2:1 genotype ratio and, under complete dominance, a 3:1 phenotype ratio.

In the two-gene mode, this calculator generates one allele from each gene for every gamete and treats those genes as assorting independently. For AaBb × AaBb, that produces four gamete types per parent and 16 grid cells. Under complete dominance and independent assortment, the expected phenotype ratio is 9:3:3:1.

Those assumptions matter. Genes that are linked can depart from independent-assortment expectations, and phenotype categories can differ when inheritance involves codominance, incomplete dominance, epistasis, or other mechanisms. Use this tool for the simple model it states rather than as a universal genetics predictor.

How it works

How This Punnett Square Generator Builds the Grid

Each parent’s genotype splits into possible gametes, the allele combinations that could end up in a sperm or egg cell. The calculator lines up one parent’s gametes across the top and the other’s down the side, then fills in every possible offspring combination.

Reading this calculator’s notation

For this simple model, uppercase and lowercase forms of the same letter represent the two alleles of one gene; uppercase is treated as dominant for phenotype grouping. Aa is heterozygous, while AA and aa are homozygous.

Monohybrid vs. dihybrid

A monohybrid cross tracks one gene (e.g. Aa × Aa, a 2×2 grid). A dihybrid cross tracks two genes at once (e.g. AaBb × AaBb, a 4×4 grid), assuming the genes assort independently.

Genotype vs. modeled phenotype

Genotype is the allele combination, such as Aa. In this calculator’s complete-dominance model, any genotype containing the uppercase allele is grouped into the dominant phenotype category.

Where the classic 3:1 comes from

Crossing two heterozygotes for one gene (Aa × Aa) produces genotypes in a 1:2:1 ratio (AA:Aa:aa), which collapses to a 3:1 phenotype ratio since both AA and Aa show the dominant trait.

Worked examples

Punnett Square Calculator Examples

These examples use the same simple Mendelian assumptions as the calculator: equal segregation, complete dominance for phenotype grouping, and independent assortment in the two-gene example.

Example 1 · Monohybrid

Aa × Aa

Gametes from each parentA, a
Grid combinations4
Genotype ratio1 AA : 2 Aa : 1 aa
3 : 1 phenotype ratio

Under complete dominance, AA and Aa are grouped together as the dominant phenotype.

Example 2 · Testcross pattern

Aa × aa

Parent 1 gametesA, a
Parent 2 gametesa, a
Genotype ratio1 Aa : 1 aa
1 : 1 phenotype ratio

This expected ratio follows from the simple complete-dominance model; observed offspring can vary by chance.

Example 3 · Dihybrid

AaBb × AaBb

Gametes from each parentAB, Ab, aB, ab
Grid combinations16
Unique genotypes9
9 : 3 : 3 : 1 phenotype ratio

This classic ratio requires independent assortment and complete dominance at both genes.

Common mistakes & edge cases

Punnett Square Mistakes to Avoid

!

Mixing up which letter is dominant

In this calculator’s notation, uppercase and lowercase forms of the same letter represent the two alleles of one gene. A monohybrid entry such as Ab is rejected because the letters do not identify the same modeled gene.

!

Forgetting genotype letter order for dihybrid crosses

A dihybrid genotype like AaBb must list both alleles of gene A first, then both alleles of gene B. Entering the letters out of order changes which trait each pair represents.

!

Assuming independent assortment always applies

The dihybrid mode assumes independent assortment. Genes on different, non-homologous chromosomes generally follow the independent-assortment model used here. Genes close together on the same chromosome can be linked, while recombination can make genes farther apart on the same chromosome behave more like independently assorting genes.

!

Treating codominant or incomplete-dominance traits like simple dominance

This calculator assumes one allele fully masks the other. Traits involving codominance (such as ABO blood-group alleles) or incomplete dominance follow different phenotype rules and won’t match this calculator’s complete-dominance output.

!

Confusing genotype ratio with phenotype ratio

A monohybrid Aa × Aa cross gives a 1:2:1 genotype ratio but only a 3:1 phenotype ratio, since both AA and Aa look the same outwardly. Quoting the wrong one changes the interpretation of a result.

FAQ

Punnett Square Calculator: Frequently Asked Questions

How do I enter a genotype into this Punnett square calculator?+
For a monohybrid cross, use two letters for one gene, like Aa. For a dihybrid cross, use four letters covering two genes back-to-back, like AaBb, where the first pair is gene A and the second pair is gene B.
What do uppercase and lowercase letters mean?+
In this calculator’s simplified notation, uppercase and lowercase forms of the same letter represent the two alleles of one modeled gene, and uppercase is treated as dominant for phenotype grouping.
Why does the calculator assume independent assortment?+
The two-gene mode assumes independent assortment. Genes on different, non-homologous chromosomes generally fit the independent-assortment model used here. Linked genes on the same chromosome can produce different expected frequencies, and recombination affects how strongly linkage is observed.
Does this handle codominance or incomplete dominance?+
No, this tool assumes simple, complete dominance where one allele fully masks the other. Traits involving codominance (such as ABO blood-group alleles) or incomplete dominance follow different phenotype rules than this calculator’s complete-dominance model.
Can I cross more than two genes?+
This calculator supports monohybrid (1 gene) and dihybrid (2 gene) crosses. Trihybrid crosses and beyond follow the same logic but produce much larger grids (8×8 or more), which get unwieldy to display and are usually solved with the forked-line method instead.
Why do phenotype and genotype ratio totals differ?+
Genotype ratios count distinct allele combinations, while this calculator’s phenotype ratios group genotypes by the modeled trait category they express under complete dominance. Because AA and Aa are both assigned to the dominant category, a 1:2:1 genotype ratio becomes a 3:1 modeled phenotype ratio.
Who built this

About This Calculator

UF

Umer Farooq

Founder & Developer, CalcsDone

I build and maintain CalcsDone calculators and document their assumptions, limitations, examples, and sources. This page implements a simplified Mendelian probability model; it does not claim to model every inheritance pattern.

Which calculator do you need?

More Calculators on CalcsDone

Continue with the Science & Math collection, explore another calculation tool, or review how CalcsDone documents formulas and assumptions.

Sources & methodology

Punnett Square Calculator References

These references support the Mendelian segregation, independent-assortment, linkage, and classic ratio concepts used or discussed on this page.

Scroll to Top