Hardy–Weinberg Equilibrium Calculator
Allele and genotype frequencies under Hardy–Weinberg equilibrium, plus a chi-square test from observed genotype counts.
How to use the Hardy–Weinberg Equilibrium Calculator
- Fill in what you know of: Recessive phenotype frequency q² (or use counts), Observed AA count, Observed Aa count, Observed aa count — leave the unknown empty.
- The results (Allele frequency p (A), Allele frequency q (a), AA (p²), Aa (2pq), aa (q²), χ² (1 df), Equilibrium test) are calculated instantly as you type.
- Use “Copy link” to share the calculation with the same input values.
Formula
- p + q = 1
- p² + 2pq + q² = 1