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.

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
49.4883:1:3:1

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

Summary

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

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-07-01 · Reviewed by Nham Vu