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 |
|---|---|---|
| 1 | 3.841 | 3:1, 1:1, 2:1 |
| 2 | 5.991 | 1:2:1 |
| 3 | 7.815 | 9:3:3:1, 1:1:1:1 |
| 4 | 9.488 | 3:1:3:1 |
Enter observed counts and click Calculate Chi-Square to see results.
χ² Statistic
—
Degrees of Freedom
—
p-value
—
Note: One or more expected counts are below 5. The chi-square approximation may be unreliable. Consider collecting more data or combining categories.
Observed vs. Expected Breakdown
| Class | Observed (O) | Expected (E) | (O−E)²/E |
|---|---|---|---|
| Total |
Interpretation
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
- Select a Mendelian ratio preset or enter a custom ratio for your cross.
- Enter the observed count for each phenotype class.
- The tool calculates expected counts based on the total and the chosen ratio.
- Chi-square (χ²) is computed as the sum of (observed − expected)² / expected across all classes.
- Degrees of freedom equal the number of phenotype classes minus one.
- 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
Related tools
Last updated: 2026-05-29 ·
Reviewed by Nham Vu