Hardy Weinberg Equilibrium Calculator
Quick answer: in Hardy-Weinberg equilibrium p + q = 1 and p² + 2pq + q² = 1. If 16% of people show a recessive trait, q² = 0.16, so q = 0.4, p = 0.6 and carriers (2pq) = 48%.
Advertisement
How to use the Hardy-Weinberg equation
- Find q² = recessive cases ÷ population.
- Take the square root to get q.
- p = 1 − q.
- Dominant homozygous = p², carriers = 2pq.
- Check that the three genotype values add to 1.
Roman Urdu: Jab aabadi mein gene ki tadad na badle to Hardy-Weinberg lagu hota hai.
Hardy Weinberg Equilibrium Calculator table
Quick reference values you can check your own numbers against.
| q (recessive) | p (dominant) | p² (AA) | 2pq (Aa) | q² (aa) |
|---|---|---|---|---|
| 0.1 | 0.9 | 0.81 | 0.18 | 0.01 |
| 0.2 | 0.8 | 0.64 | 0.32 | 0.04 |
| 0.3 | 0.7 | 0.49 | 0.42 | 0.09 |
| 0.4 | 0.6 | 0.36 | 0.48 | 0.16 |
| 0.5 | 0.5 | 0.25 | 0.5 | 0.25 |
| 0.6 | 0.4 | 0.16 | 0.48 | 0.36 |
| 0.7 | 0.3 | 0.09 | 0.42 | 0.49 |
| 0.8 | 0.2 | 0.04 | 0.32 | 0.64 |
| 0.9 | 0.1 | 0.01 | 0.18 | 0.81 |
p + q = 1. Each row sums to 1.00 across p², 2pq and q².
Advertisement
Assumptions and limits
The law holds only with random mating, no mutation, no migration, no selection and a large population. A Nash equilibrium is a game-theory idea and is a different topic. For percentages use the percentage of a total calculator; more science tools are on the calculators hub.
Official sources
Questions people ask
What is the Hardy-Weinberg equation?
p² + 2pq + q² = 1, with p + q = 1.
How do I find q from recessive cases?
Take the square root of the recessive fraction. 0.09 gives q = 0.3.
How do I find the carrier frequency?
Carriers = 2pq. With p = 0.7 and q = 0.3 the carrier rate is 42%.
When does Hardy-Weinberg not apply?
When there is selection, mutation, migration, small population or non-random mating.
Is a Nash equilibrium the same?
No. Nash equilibrium belongs to game theory, not genetics.
Advertisement