Skip to main content

How to Calculate Hardy-Weinberg

What is Hardy-Weinberg?

The Hardy-Weinberg principle states that in a large randomly mating population free from evolution, allele and genotype frequencies remain constant. p²+2pq+q²=1.

Step-by-Step Guide

  1. 1p + q = 1 (allele frequencies)
  2. 2p² + 2pq + q² = 1 (genotype frequencies)
  3. 3p² = AA · 2pq = Aa · q² = aa
  4. 4Five conditions: random mating, no mutation, no migration, large N, no selection

Worked Examples

Input
p = 0.7
Result
AA=49%, Aa=42%, aa=9%
0.7²=0.49; 2×0.7×0.3=0.42; 0.3²=0.09

Ready to calculate? Try the free Hardy-Weinberg Calculator

Try it yourself →

Settings

PrivacyTermsAbout© 2026 PrimeCalcPro