Chi Square Genetics

Enter observed phenotype counts and choose a Mendelian ratio to calculate chi-square, p-value, and whether your cross results match predictions.

Use the Chi Square Genetics

Cross Setup

Critical Values at α = 0.05

df χ² critical Common ratio
13.8413:1, 1:1, 2:1
25.9911:2:1
37.8159:3:3:1, 1:1:1:1, 3:1:3:1
49.488Custom 5-class

Enter observed counts and click Calculate Chi-Square to see results.

Summary

The chi-square goodness-of-fit test is the standard statistical method for evaluating whether observed phenotype counts from a genetics cross match the expected Mendelian ratios. You select a ratio (such as 3:1 for a monohybrid dominant cross or 9:3:3:1 for a dihybrid cross), enter your observed counts, and the calculator computes expected counts, the chi-square statistic, degrees of freedom, and the p-value. A p-value below 0.05 indicates a statistically significant departure from the predicted Mendelian ratio.

How it works

  1. Select a Mendelian ratio preset or enter a custom ratio for your cross.
  2. Enter the observed count for each phenotype class.
  3. The tool calculates expected counts based on the total and the chosen ratio.
  4. Chi-square (χ²) is computed as the sum of (observed − expected)² / expected across all classes.
  5. Degrees of freedom equal the number of phenotype classes minus one.
  6. The p-value is derived from the chi-square distribution to determine statistical significance.

Use cases

  • Analyze monohybrid cross results against the 3:1 dominant-to-recessive ratio.
  • Test dihybrid cross data against the 9:3:3:1 ratio.
  • Evaluate codominance or incomplete dominance crosses using the 1:2:1 ratio.
  • Verify testcross results against the expected 1:1 ratio.
  • Assess lab or classroom genetics experiment data for significant deviation.
  • Determine whether observed F2 phenotype counts support Mendelian inheritance.
  • Check for linkage or other non-Mendelian effects in experimental crosses.
  • Quickly calculate chi-square for any custom phenotype ratio.

Frequently Asked Questions

Last updated: 2026-09-30 · Reviewed by Nham Vu