Mendelian Ratio + Chi-Square Calculator

Test observed offspring counts against expected Mendelian ratios for monohybrid, dihybrid, test cross, incomplete dominance, or any custom ratio with chi-square goodness-of-fit.

Breeding & GeneticsChi-SquareClient-Side

Try it out

Load example mendelian ratio calculator data to see the full workflow

Cross & Observed Counts

Classic 3:1 dominant : recessive ratio for one segregating gene.

In the same order as the expected ratio categories.

Chi-Square Goodness-of-Fit

Chi-square (χ²)
0
df = 1
p-value
1
α = 0.05
Result
Consistent with expected

Observed vs Expected

CategoryObservedExpected(O−E)²/E
Dominant75750
Recessive25250
Interpretation: Observed ratio is consistent with the expected Mendelian inheritance (p = 1.0000).
  • Validating the inheritance pattern of a new mutant or QTL
  • Teaching introductory genetics with real cross data
  • Detecting linkage in a dihybrid cross
  • Comparing multiple offspring batches against the same expected ratio
  • Quick sanity check before publishing a cross

Don't use for

  • When expected counts in any category are below 5 — use Fisher's exact test
  • For continuous traits — use a quantitative genetics approach
  • For more than ~6 categories without binning — chi-square loses power

Classic Mendelian Cross Patterns

Monohybrid (Aa ×\times Aa) → 3:1

Two heterozygotes for a single gene. Three dominant phenotypes for every one recessive. The classic Mendel pea cross: tall ×\times tall → 75% tall, 25% dwarf.

Dihybrid (AaBb ×\times AaBb) → 9:3:3:1

Two heterozygotes for two unlinked genes. Nine show both dominants, three show one dominant + one recessive (each way), one shows both recessives. Mendel's second law of independent assortment.

Test cross (Aa ×\times aa) → 1:1

A heterozygote crossed with a homozygous recessive. Used to confirm whether a dominant-phenotype individual is heterozygous (1:1 expected) or homozygous (no recessives).

Incomplete dominance (Aa ×\times Aa) → 1:2:1

When the heterozygote shows an intermediate phenotype (e.g., red ×\times white snapdragons → pink). Three distinguishable categories instead of two.

Common non-Mendelian ratios
  • 9:3:4 — recessive epistasis (one gene masks another)
  • 12:3:1 — dominant epistasis
  • 9:7 — complementary gene action
  • 13:3 — dominant suppression
  • 15:1 — duplicate dominant genes

When Deviations Are Biologically Real

Most chi-square deviations are not random noise — they're the start of an interesting biological story. The five most common explanations:

Linkage

Two genes on the same chromosome don't segregate independently. A dihybrid cross will deviate from 9:3:3:1 toward the parental combinations. Use a recombination frequency calculator to estimate the genetic distance.

Lethal alleles

Some genotypes die in utero or during development. A 1:2:1 incomplete dominance cross becomes 0:2:1 (or 2:1) if the homozygous dominants are lethal. Yellow mouse coat color is the classic example.

Sex-linked inheritance

Genes on the X or Y chromosome give sex-specific ratios. A monohybrid for an X-linked recessive shows 50% affected males but 0% affected females in the F1 of a heterozygous mother ×\times wild-type father.

Penetrance and expressivity

Some genotypes don't always express the expected phenotype. The cross deviates from the Mendelian ratio in a consistent direction.

Genotyping or scoring errors

Always rule this out first. If your deviation is huge and unexpected, audit the scoring before invoking biology.

Frequently Asked Questions