Hardy-Weinberg Equilibrium Calculator
Find expected two-allele genotype frequencies from allele frequency p under Hardy-Weinberg equilibrium.
Formula
q = 1 − p; f(AA)=p²; f(Aa)=2pq; f(aa)=q².
Allele a frequency q ≈ 1-(0.7) · AA frequency p² ≈ (0.7)^2 · Aa frequency 2pq ≈ 2×(0.7)×(0.3) · aa frequency q² ≈ (0.3)^2
How to use
- Enter allele A frequency p between zero and one.
- Read the complementary allele frequency q.
- Read expected AA, Aa and aa genotype frequencies.
Examples
- p=0.7 gives q=0.3 and genotype frequencies 0.49, 0.42 and 0.09.
Frequently asked questions
Which assumptions apply?
A large randomly mating population without selection, migration or mutation.
Are these percentages?
The outputs are fractions. Multiply by 100 for percentages.
Does this test whether a population is in equilibrium?
No. It predicts frequencies under the model; comparing observed counts needs a separate statistical test.
Sources
Updated: