Hardy Weinberg Equilibrium Calculator

Updated 6 Dec 2026 · By , HisaabHub · How we check

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

  1. Find q² = recessive cases ÷ population.
  2. Take the square root to get q.
  3. p = 1 − q.
  4. Dominant homozygous = p², carriers = 2pq.
  5. 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.

Hardy Weinberg Equilibrium Calculator table
q (recessive)p (dominant)p² (AA)2pq (Aa)q² (aa)
0.10.90.810.180.01
0.20.80.640.320.04
0.30.70.490.420.09
0.40.60.360.480.16
0.50.50.250.50.25
0.60.40.160.480.36
0.70.30.090.420.49
0.80.20.040.320.64
0.90.10.010.180.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