Skip to main content

Punnett Square Calculator

The Punnett Square Calculator is an interactive genetic cross solver that predicts the inheritance probabilities of offspring traits according to classical Mendelian laws, non-Mendelian inheritance patterns, sex-linked traits, and human ABO/Rh blood groups.

Choose the genetic cross mode to model.

Two letters representing Parent 1 alleles (uppercase = dominant, lowercase = recessive).

Two letters representing Parent 2 alleles.

Defines how heterozygous genotypes manifest phenotypically.

Label for the biological trait being tracked.

Visible trait for homozygous dominant or heterozygous individuals.

Visible trait for homozygous recessive individuals.

Visible phenotype when alleles are blended (incomplete) or co-expressed (codominant).

First gene locus for Parent 1 (e.g. Aa).

Second gene locus for Parent 1 (e.g. Bb).

First gene locus for Parent 2 (e.g. Aa).

Second gene locus for Parent 2 (e.g. Bb).

Maternal genotype across her two X chromosomes.

Paternal genotype (hemizygous male with single X and Y).

E.g. Color Blindness, Hemophilia A, or Duchenne Muscular Dystrophy.

Mother’s phenotypic ABO blood group.

Mother’s Rhesus (D antigen) status.

Father’s phenotypic ABO blood group.

Father’s Rhesus (D antigen) status.

Calculated Result
3 : 1

Mendelian Phenotypic Ratio

Phenotypic Ratio

3 : 1

Genotypic Ratio

2 : 1 : 1

Parent 1 Genotype

Aa (Gametes: A, a)

Parent 2 Genotype

Aa (Gametes: A, a)

Phenotype: Purple

3/4 (75%)

Phenotype: White

1/4 (25%)

Genotype: Aa

2/4 (50%)

Genotype: aa

1/4 (25%)

Genotype: AA

1/4 (25%)

Monohybrid Cross (Law of Segregation) — Mendelian single-gene cross showing allele segregation.

Calculation Breakdown

  1. 1. Segregate Parental Alleles into GametesParent 1 (Aa): [A, a] | Parent 2 (Aa): [A, a]
  2. 2. Fill 2×2 Punnett Square Grid2 Maternal Alleles × 2 Paternal Alleles = 4 Offspring Zygotic Combinations
  3. 3. Compile Genotypic & Phenotypic RatiosGenotypes: Aa (1/2), aa (1/4), AA (1/4) | Phenotypic Ratio: 3 : 1

Phenotypic Probability Distribution

Interactive visualization based on your current inputs

Phenotype Share (%)
0.019385675PurpleWhitePhenotype ClassProbability (%)

What Is the Punnett Square Calculator?

A Punnett square is a fundamental biological diagram invented by British geneticist Reginald C. Punnett in 1905. It provides a visual, probabilistic framework for determining the expected genotypes and phenotypes of offspring resulting from a genetic cross.

The grid operates on basic rules of Mendelian inheritance: each parent contributes one allele per gene locus to each gamete (sperm or egg) through meiosis. Fertilization randomly pairs one maternal allele with one paternal allele to restore the diploid state.

Beyond single-trait crosses, Punnett squares model multi-gene inheritance (dihybrid crosses), non-Mendelian dominance mechanisms (incomplete dominance and codominance), sex-chromosome linkage (X-linked traits), and clinical blood group typing.

How Does the Punnett Square Calculator Work?

1. Gamete Determination: According to Mendel’s Law of Segregation, the two alleles of each parent separate during meiosis. A parent with genotype Aa produces 50% A gametes and 50% a gametes.

2. Independent Assortment: In dihybrid crosses (e.g., AaBb), alleles on different chromosomes assort independently (Law of Independent Assortment). Using the FOIL method, an AaBb parent produces four gametes in equal proportions: AB, Ab, aB, and ab.

3. Matrix Combination: Maternal gametes head the rows, and paternal gametes head the columns. Combining row and column alleles fills each cell of the grid with equal probability (1/4 for 2×2 monohybrid, 1/16 for 4×4 dihybrid).

4. Ratio Aggregation: Genotypes with identical visible traits are grouped to determine the phenotypic ratio (such as the classic 3:1 monohybrid or 9:3:3:1 dihybrid ratio).

Punnett Square Calculator Formula & Variables

The core mathematical equation utilized by this calculator is expressed as:

Law of Segregation: P(Gamete = A) = 1/2 | Independent Assortment: P(AB) = P(A) × P(B) | Fertilization: P(Zygote) = P(Maternal Gamete) × P(Paternal Gamete)

Variable Definitions

SymbolVariable Meaning & Units
A, aDominant and recessive alleles at a single locus
P(Zygote)Probability of offspring inheriting a specific diploid genotype
Xᴬ, XᵃNormal and mutant alleles on sex-linked X chromosome
Iᴬ, Iᴮ, iCodominant and recessive alleles of human ABO blood group

A Punnett square arranges maternal gametes along one axis and paternal gametes along the other. By calculating the cross-product of independent gamete probabilities, it illustrates Mendel’s laws of segregation and independent assortment, predicting exact genotypic and phenotypic frequencies.

How to Use the Punnett Square Calculator

  1. Select your desired inheritance mode: Monohybrid (1 trait), Dihybrid (2 traits), Sex-Linked (X-linked), or Blood Type (ABO & Rh).
  2. For Monohybrid crosses, enter two allele letters for each parent (e.g., "Aa" and "Aa") and choose whether the inheritance is complete dominance, incomplete dominance, or codominant.
  3. For Dihybrid crosses, enter the two allele pairs for each parent across both gene loci (e.g., "Aa" and "Bb").
  4. For Sex-Linked crosses, specify whether the mother is unaffected, a carrier, or affected, and whether the father is unaffected or affected.
  5. For Blood Type crosses, select the mother and father ABO blood group and Rh factor (+ or -).
  6. Examine the resulting Punnett grid, genotypic ratio, phenotypic ratio, and clinical risk interpretations.

Step-by-Step Example Calculation

Classic Pea Plant Monohybrid Cross (Aa × Aa)

Input Values:

mode:monohybrid
p1Alleles:Aa
p2Alleles:Aa
dominancePattern:complete
traitName:Flower Color
domPhenotype:Purple
recPhenotype:White
Worked Steps: Crossing two heterozygous purple pea plants (Aa × Aa) produces a 3:1 phenotypic ratio (75% Purple, 25% White) and a 1:2:1 genotypic ratio (25% AA, 50% Aa, 25% aa).

Understanding Your Result

Phenotypic Ratio: The proportion of offspring displaying each physical trait (e.g., 3 Purple : 1 White).

Genotypic Ratio: The proportion of specific genetic allele combinations (e.g., 1 AA : 2 Aa : 1 aa).

Zygotic Grid Cells: Visual table illustrating each possible fertilization event with equal likelihood.

Risk Assessments: For sex-linked traits, distinct probabilities are reported for male offspring (sons) versus female offspring (daughters). For blood typing, Rh incompatibility risks and RhoGAM indications are highlighted.

Factors That Affect the Result

  • Genetic Linkage: Genes located close together on the same chromosome do not assort independently because they tend to be inherited together unless separated by meiotic crossing-over.
  • Epistasis: Interactions where one gene locus masks or alters the phenotypic expression of a second independent gene locus (e.g., coat color in Labrador retrievers).
  • Pleiotropy & Lethal Alleles: Some mutant alleles cause multiple phenotypic effects or result in embryonic lethality when homozygous (e.g. Achondroplasia or yellow coat in mice, skewing phenotypic ratios to 2:1).
  • Penetrance & Expressivity: Environmental factors and modifier genes can affect whether an individual carrying a genotype actually manifests the trait (incomplete penetrance) or the severity of expression.

When Should You Use This Calculator?

  • Biology & Genetics Education: Mastering Mendelian genetics principles, meiotic segregation, and test crosses.
  • Clinical & Genetic Counseling: Estimating recurrence risks for autosomal recessive disorders (e.g., Cystic Fibrosis, Sickle Cell Disease) or X-linked disorders (e.g., Hemophilia A).
  • Animal & Plant Breeding: Predicting coat colors, horn characteristics, disease carrier statuses, and hybrid crop vigor.
  • Obstetric Blood Compatibility: Checking parental ABO and Rh compatibility to anticipate hemolytic disease of the newborn.

Assumptions & Limitations

  • Assumes independent segregation of chromosomes without meiotic non-disjunction or aneuploidy.
  • Assumes autosomal genes are not genetically linked on the same chromosome unless specifically adjusted.
  • Assumes full penetrance and equal viability of all zygotic genotypes unless lethal alleles are involved.

Frequently Asked Questions

Calculation Accuracy & Reference Note

Calculations adhere to classical Mendelian meiotic probability models and International Society of Blood Transfusion (ISBT) standards for ABO and Rh(D) antigen inheritance.

Standard Reference: Mendel, G. (1866). Versuche über Pflanzen-Hybriden; Punnett, R. C. (1905). Mendelism; International Society of Blood Transfusion (ISBT) Genetic Blood Group Nomenclature.