ToolsConductScience tool
Breeding & GeneticsFree in-browser calculator

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.

PrivateData stays in your browser
LiveNo sign-up required
Open methodFormula shown on this page
CitableMethods and citation included

Calculator

Results update in place

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).

When to use

  • 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

Do not 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

Always order observed counts in the same order as the expected ratio

A monohybrid 3:1 expects [dominant, recessive]. If you flip the order, the test still runs but the result is meaningless.

Pool rare categories before testing

Categories with expected counts below 5 distort the chi-square distribution. Pool them with the nearest larger category before computing.

A non-significant result doesn't prove the model

It only fails to reject it. A larger sample might still find a significant deviation. Treat "consistent with Mendelian" as "no evidence against," not as "confirmed."

Always report the chi-square value, df, and p-value

Reviewers need all three to evaluate the test. Reporting only "p<0.05" hides whether the deviation is biologically meaningful or just a tiny p-value from a huge sample.

1

Method

Expected counts = total observed ×\times (ratio_i / sum(ratio)). Chi-square = Σ((O−E)²/E). df = categories − 1. p-value computed from the regularized lower incomplete gamma function P(df/2, χ²/2) using a Lanczos-approximation log-gamma — accurate to 1e-12. Significance threshold α\alpha = 0.05. Warns when any expected count is below 5 (chi-square approximation invalid).

2

Published

Published 2026-04-06. Calculations support planning and documentation; verify procurement decisions against manufacturer specifications or institutional SOPs.

3

How to cite

How to Cite

ConductScience Mendelian Ratio + Chi-Square Calculator. ConductScience, Inc. 2026. Available at: https://conductscience.com/tools/mendelian-ratio-calculator

Pearson K. On the criterion that a given system of deviations from the probable in the case of a correlated system of variables is such that it can be reasonably supposed to have arisen from random sampling. Philosophical Magazine. 1900;50(302):157-175.

Mendel G. Experiments in plant hybridization. Verh. Naturforsch. Ver. Brünn. 1866.

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

325
Free tools
1,200+
Institutions
100%
Client-side
0
Uploads required