Ad Space — Top Banner

Hardy-Weinberg Equation

Predict allele and genotype frequencies in a stable population.
The foundation of population genetics and evolution studies.

The Formula

p² + 2pq + q² = 1    and    p + q = 1

The Hardy-Weinberg equation predicts genotype frequencies in a population that is not evolving. It uses two alleles of a gene: the dominant allele (p) and the recessive allele (q).

Variables

SymbolMeaning
pFrequency of the dominant allele
qFrequency of the recessive allele
Frequency of the homozygous dominant genotype (AA)
2pqFrequency of the heterozygous genotype (Aa)
Frequency of the homozygous recessive genotype (aa)

Example 1

In a population, 16% show the recessive phenotype. Find all genotype frequencies.

q² = 0.16, so q = √0.16 = 0.4

p = 1 - q = 1 - 0.4 = 0.6

p² = 0.36 (homozygous dominant)

2pq = 2 × 0.6 × 0.4 = 0.48 (heterozygous carriers)

AA = 36%, Aa = 48%, aa = 16%

Example 2

The dominant allele frequency is 0.7. Find the genotype distribution.

p = 0.7, q = 1 - 0.7 = 0.3

p² = 0.49, 2pq = 0.42, q² = 0.09

AA = 49%, Aa = 42%, aa = 9%

When to Use It

Use the Hardy-Weinberg equation when:

  • Predicting genotype frequencies from allele frequencies
  • Testing whether a population is in genetic equilibrium
  • Estimating the number of carriers of a recessive trait
  • Studying evolution — deviations from Hardy-Weinberg indicate evolutionary forces

Ad Space — Bottom Banner

Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.