Hardy-Weinberg Equilibrium Calculator
Calculate allele frequencies p and q and expected genotype frequencies — and test observed genotype counts for Hardy-Weinberg equilibrium with χ².
Calculate allele frequencies p and q and expected genotype frequencies — and test observed genotype counts for Hardy-Weinberg equilibrium with χ².
Results
Enter your details and click Calculate to see your results.
About This Calculator
p + q = 1 and p² + 2pq + q² = 1. From counts p = (2AA + Aa)/(2N); χ² compares observed and expected counts (1 df).
Example
Example: 360 AA, 480 Aa, 160 aa → p = 0.6, q = 0.4.
Assumptions
Random mating, no selection, migration or mutation; large population.
Frequently Asked Questions
How common are carriers of a 1-in-10,000 recessive disease?
q = 0.01 → 2pq ≈ 2% (1 in 50).
Related Calculators
About the Author

Imran Hossain
Professional SEO, Digital Marketer Specialist
I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist
View full profile