📐

Punnett Square Calculator

Math Free Instant Private
Math

### Classical Genetics & Mendelian Inheritance Laws Gregor Mendel's breeding experiments on garden peas in 1865 established the core principles of heredity, formalized through the **Law of.

Reviewed by Miss Saima · MA Mathematics
Last updated:
Editorial Guidelines

⚙ Input Values

📊 Results

Dominant Phenotype Probability
75
%
Recessive Phenotype Probability
25
%
Genotypic Ratio & Percentages
1 AA : 2 Aa : 1 aa (25% AA, 50% Aa, 25% aa)
Phenotypic Ratio
3 Dominant : 1 Recessive (3:1 classic)
✦ Punnett Square Offspring Matrix
Box 1: AA | Box 2: Aa | Box 3: Aa | Box 4: aa
Embed on Your Website

Copy and paste this code into your website.

<iframe src="https://calcusolve.com/calculator/punnett-square-calculator?embed=true" width="100%" height="600" frameborder="0" loading="lazy" title="Punnett Square Calculator"></iframe>

📐 Formula

Formula Reference: Punnett Square Calculator
Input variables:
crossType — Mendelian Cross Type
parent1GenotypeGeneA — Parent 1: Gene A Alleles
parent2GenotypeGeneA — Parent 2: Gene A Alleles
parent1GenotypeGeneB — Parent 1: Gene B Alleles (for Dihybrid)
parent2GenotypeGeneB — Parent 2: Gene B Alleles (for Dihybrid)
Computed outputs:
dominantPhenotypePct — Dominant Phenotype Probability
recessivePhenotypePct — Recessive Phenotype Probability
genotypeRatioString — Genotypic Ratio & Percentages
phenotypeRatioString — Phenotypic Ratio
offspringGridSummary — Punnett Square Offspring Matrix
Mathematical relationships extracted from calculation logic:
domPct = safeDiv(countAA + countAa, 4) * 100
recPct = safeDiv(countaa, 4) * 100
phenoRatio = `countAA + countAa Dominant : countaa Recessive (3:1 classic)`
genoRatio = `Dihybrid 16-Square Phenotype Ratio: phenoRatio (Classic 9:3:3:1 Mendelian)`
Standard: NIST / ISO mathematical definitions

💡 Practical Example

✅

Crossing two heterozygous brown-eyed parents (Aa x Aa, where 'A' is dominant brown and 'a' is recessive blue): Yields a 75% chance of a brown-eyed child and a 25% chance of a blue-eyed child (aa).

📖 About Punnett Square Calculator

Classical Genetics & Mendelian Inheritance Laws

Gregor Mendel's breeding experiments on garden peas in 1865 established the core principles of heredity, formalized through the Law of Segregation and the Law of Independent Assortment.

Core Genetic Terms & Equations

  • Allele: Alternative forms of a single gene locus (represented by capital A for dominant and lowercase a for recessive).
  • Genotype: The internal genetic makeup.
  • Phenotype: The observable physical trait (e.g. purple flowers vs white flowers).
  • Monohybrid Genotypic Ratio (Aa × Aa): 1 AA : 2 Aa : 1 aa
  • Monohybrid Phenotypic Ratio: 3 Dominant : 1 Recessive (aa)
  • Dihybrid Phenotypic Ratio (AaBb × AaBb): 9 (A\_B\_) : 3 (A\_bb) : 3 (aaB\_) : 1 (aabb)
  • Offspring Probability: P(Trait) = Number of Matching CellsTotal Grid Cells (4 or 16)

Autosomal Recessive Genetic Diseases

When both healthy parents are carriers (Aa) for a recessive genetic disorder (e.g. Tay-Sachs, Cystic Fibrosis):

  • 25\% chance child is unaffected non-carrier (AA).
  • 50\% chance child is an asymptomatic healthy carrier (Aa).
  • 25\% chance child inherits the disease (aa).

How to Use This Calculator

Enter your Mendelian Cross Type — choose from Monohybrid Cross (1 Gene / 4-Box Square), Dihybrid Cross (2 Independent Genes / 16-Box Square), Parent 1: Gene A Alleles — choose from Heterozygous (Aa), Homozygous Dominant (AA), Homozygous Recessive (aa), Parent 2: Gene A Alleles — choose from Heterozygous (Aa), Homozygous Dominant (AA), Homozygous Recessive (aa), Parent 1: Gene B Alleles (for Dihybrid) — choose from Heterozygous (Bb), Homozygous Dominant (BB), Homozygous Recessive (bb), and Parent 2: Gene B Alleles (for Dihybrid) — choose from Heterozygous (Bb), Homozygous Dominant (BB), Homozygous Recessive (bb). Results update instantly as you type — adjust any value to compare scenarios.

The Formula

Formula Reference: Punnett Square Calculator

Input variables:

crossType — Mendelian Cross Type

parent1GenotypeGeneA — Parent 1: Gene A Alleles

parent2GenotypeGeneA — Parent 2: Gene A Alleles

parent1GenotypeGeneB — Parent 1: Gene B Alleles (for Dihybrid)

parent2GenotypeGeneB — Parent 2: Gene B Alleles (for Dihybrid)

Computed outputs:

dominantPhenotypePct — Dominant Phenotype Probability

recessivePhenotypePct — Recessive Phenotype Probability

genotypeRatioString — Genotypic Ratio & Percentages

phenotypeRatioString — Phenotypic Ratio

offspringGridSummary — Punnett Square Offspring Matrix

Mathematical relationships extracted from calculation logic:

domPct = safeDiv(countAA + countAa, 4) * 100

recPct = safeDiv(countaa, 4) * 100

phenoRatio = countAA + countAa Dominant : countaa Recessive (3:1 classic)

genoRatio = Dihybrid 16-Square Phenotype Ratio: phenoRatio (Classic 9:3:3:1 Mendelian)

Standard: NIST / ISO mathematical definitions

Worked Example

Crossing two heterozygous brown-eyed parents (Aa x Aa, where 'A' is dominant brown and 'a' is recessive blue): Yields a 75% chance of a brown-eyed child and a 25% chance of a blue-eyed child (aa).

Understanding Your Result

Evaluate your result in the context of your specific use case and relevant industry standards or reference values. A single calculated result is a starting point — test two to three scenarios to understand how sensitive the outcome is to your key input assumptions. For high-stakes decisions, verify your result against a secondary source or subject-matter expert before acting.

💡 Mathematical Rigor & Applied Context

  • This calculator applies exact mathematical definitions following conventions established by NIST and international standards bodies.
  • Rounding errors accumulate across multi-step calculations. For precision-critical work, maintain extra significant figures through all intermediate steps.
  • Many mathematical concepts have multiple valid formulations — if a result seems unexpected, verify which convention or definition applies to your context.
  • Dimensional analysis (unit tracking) is the fastest way to catch formula errors. Every term in an equation must have consistent, compatible units.
  • Numerical methods used in digital calculators introduce floating-point precision limits (~15 significant digits for IEEE 754 double precision).
  • For statistical and probabilistic calculations, always specify whether you are working with population parameters or sample statistics — formulas differ.
  • Visualizing a problem geometrically or testing with known boundary values (zero, infinity, negative) reveals hidden errors faster than algebraic checking.
  • When in doubt, validate your result against a simplified hand calculation or a published worked example from a textbook or standards document.

Results are for informational and educational purposes only. Always verify critical decisions with a qualified professional.

❓ Frequently Asked Questions

How do you set up a Punnett square?

Draw a 2x2 grid for one gene. Separate Parent 1's two alleles across the top columns and Parent 2's two alleles down the left rows, then fill each of the 4 boxes by combining row and column letters.

What is the phenotypic ratio of an Aa x Aa cross?

The phenotypic ratio of a heterozygous monohybrid cross is 3 dominant to 1 recessive (75% dominant physical trait, 25% recessive physical trait).

What is the genotypic ratio of an Aa x Aa cross?

The genotypic ratio is 1 AA : 2 Aa : 1 aa (25% homozygous dominant, 50% heterozygous, 25% homozygous recessive).

What is a dihybrid cross?

A dihybrid cross tracks the inheritance of two different unlinked genes simultaneously using a 4x4 (16-box) Punnett square (classic 9:3:3:1 ratio).

Can two parents with dominant traits have a child with a recessive trait?

Yes. If both parents are heterozygous carriers (Aa), there is a 25% (1 in 4) mathematical probability of having a child with the homozygous recessive (aa) trait.

Try Other Calculators