Understand the method
What does the hardy-weinberg equilibrium calculation mean?
The Hardy–Weinberg principle describes the genotype frequencies expected in a large, randomly mating population with no selection, mutation, or migration. Departures from those proportions indicate that one of those assumptions is being violated.
When to use it
Use it as a null model in population genetics and to estimate allele frequencies from observed genotype counts.
Formula
In plain text: Use the relationship shown in the interactive formula panel.
Variables and units
| Symbol | Meaning |
|---|---|
| p | frequency of one allele |
| q | frequency of the other, p + q = 1 |
| p², 2pq, q² | expected genotype frequencies |
How to use the calculator
- Enter each known value in its labeled field.
- Select the answer precision you want.
- Choose Calculate answer to see the result and working.
Worked example
With p = 0.70 and q = 0.30, expected genotype frequencies are 0.49, 0.42, and 0.09, which sum to one.
Common mistakes
- Allele frequencies must sum to one, and genotype frequencies must also sum to one.
- The model does not describe small populations or assortative mating.
- Observed deviation does not identify which assumption failed.
Interpret the result
A strong mismatch between observed and expected frequencies is evidence that selection, drift, or non-random mating is acting.