On this page
Hardy-Weinberg equilibrium predicts genotype frequencies from allele frequencies when a population meets specific assumptions. At a diploid locus with two alleles, and describe allele copies, while , , and predict the proportions of individuals with each genotype. This distinction lets you estimate carrier frequency from a recessive phenotype and check whether measured genotype counts fit the model.
Prerequisites: an allele is a version of a gene, and a diploid individual has two copies at an autosomal locus. Under complete dominance, and share a phenotype while has the recessive phenotype; review genetics probability if you need a refresher on genotype probabilities.
Hardy-Weinberg Principle
Define what each frequency counts
For a locus with exactly two alleles, let be the frequency of allele and the frequency of allele . Since these are the only allele types at the locus, their dimensionless fractions sum to one:
These values count allele copies in the population gene pool, not people. The dominant allele does not have to be more common: dominance describes how an allele affects phenotype when paired with another allele, not how often it occurs.
With random pairing of gametes, the probability that an gamete meets another gamete is . A heterozygote forms in two mutually exclusive ways: an gamete can meet an gamete, or an gamete can meet an gamete. Each pairing has probability , so adding them gives . The probability of two gametes meeting is .
The three expected genotype fractions sum to one because they are the expansion of :
| Quantity | What is counted | Equilibrium expression |
|---|---|---|
| allele frequency | copies among all locus copies | |
| Recessive genotype frequency | individuals among all individuals | |
| Heterozygote frequency | individuals among all individuals | |
| Dominant phenotype frequency | or individuals, if dominance is complete |
Know the assumptions
The model assumes random mating, no mutation at the locus, no gene flow into or out of the population, no natural selection among genotypes at that locus, and a very large population so chance changes from genetic drift are negligible. An infinite population is the mathematical ideal; larger real populations generally experience less drift than smaller ones.
Each assumption blocks a different mechanism. Mutation changes allele identities. Gene flow moves allele copies between populations and can change frequencies when those populations differ. Selection changes how much different genotypes contribute to later generations. Drift changes allele frequencies through chance sampling. Random mating makes gamete pairing independent of genotype at the locus.
Apply each condition to the population and locus in the question. A population is not shown to be in equilibrium merely because it is large or because its genotype percentages add to 100%. Under the model, allele frequencies persist from generation to generation, and random gamete union produces the genotype proportions , , and .
From a recessive phenotype to carriers
For a fully penetrant autosomal recessive condition in a two-allele model, only individuals are affected. If equilibrium applies, the affected fraction estimates . Take its nonnegative square root to find , calculate , then use for the carrier fraction. Cystic fibrosis is an example of autosomal recessive inheritance.
First check what the phenotype tells you. With incomplete penetrance, some individuals are unaffected, so the affected fraction underestimates the fraction. If variants at different genes can cause the same phenotype, the affected group cannot simply be assigned to one class.
Carrier probability among unaffected people
An unaffected person can be or . If you select someone from this group, exclude affected individuals from the denominator:
The numerator still counts carriers. The denominator now counts only people eligible to be selected. Keep this distinction clear when moving from population frequencies to a couple's risk of having an affected child.
Worked example: predict a child's risk
Check observed genotype counts
When genotypes are measured directly, first count allele copies. For diploid individuals at an autosomal locus, there are allele copies. Each individual contributes two copies; each contributes one and one ; each contributes two copies. Thus:
Here, , , and are genotype counts in individuals, while is the total number of individuals. These counting equations do not require equilibrium. Use the resulting allele frequencies to calculate expected counts , , and , then compare each with the measured count.
Two populations can have the same allele frequencies but different genotype frequencies. For example, inbreeding increases the chance that relatives carrying the same allele mate, increasing homozygosity and reducing heterozygosity without necessarily changing allele frequencies. Random mating can restore the expected genotype proportions in one generation when the other assumptions hold and the two sexes have the same allele frequencies.
Observed counts need not match expected counts exactly: sampling alone produces differences. A departure beyond chance expectations suggests that an assumption is violated, but one snapshot does not identify the cause or show that allele frequencies changed across generations.
Traps
- Confusing alleles with genotypes: under the stated recessive-trait assumptions, the affected fraction estimates , so take its square root to find .
- Taking the square root of a dominant phenotype: this phenotype combines and , so its frequency is , not .
- Treating a complete count as proof of equilibrium: observed genotype fractions sum to one whether or not they match the model. Calculate and from allele counts, then compare each observed genotype class with its expected count.
- Naming a cause from a pattern: a heterozygote deficit can reflect inbreeding or population structure; it does not establish selection.
Analytic Methods connects these population calculations with other genetics methods. Use genetics probability for combining inheritance probabilities, testcrosses and backcrosses for inferring parental genotypes from offspring, and gene mapping for reasoning about linked loci.