Hardy-Weinberg equilibrium says that in a large, randomly mating population with no mutation, migration or natural selection, allele frequencies stay constant from one generation to the next, and genotype frequencies follow (with ). On Step 1 it is a calculation tool: for a rare autosomal recessive disease, prevalence , so and carrier frequency . A disease that affects 1 in 10,000 people has and about 1 in 50 carriers. For an X-linked recessive disease, affected males and affected females .
The two equations, term by term
and are allele frequencies; , and are genotype frequencies. The genotype equation is the allele equation squared: .
| Term | What it is | Reading for an autosomal recessive disease |
|---|---|---|
| Frequency of the normal allele (A) | Close to 1 when the disease is rare | |
| Frequency of the disease allele (a) | ||
| AA homozygotes | Unaffected non-carriers (almost everyone) | |
| Aa heterozygotes | Carriers | |
| aa homozygotes | Affected people: the prevalence or birth incidence in the stem |
Why these terms: with random mating, a child gets two alleles drawn independently from the population's pool. Two copies of the disease allele occur with probability . A heterozygote can arise two ways (A from the mother and a from the father, or the reverse), hence .
The five assumptions and what breaks each one
The model assumes all five conditions; real populations only approximate them. When observed genotype counts deviate significantly from , at least one assumption is being violated (or the genotyping is wrong).
| Assumption | Violation | What changes | Classic example |
|---|---|---|---|
| Large population | Genetic drift, including the founder effect | Allele frequencies shift by chance; a rare allele can become common in a small or isolated group | Tay-Sachs variants are more common in Ashkenazi Jewish, some French-Canadian (Quebec), Old Order Amish and Cajun populations |
| Random mating | Consanguinity (inbreeding) or positive assortative mating | More homozygotes and fewer heterozygotes than predicted | More autosomal recessive disease among children of related parents |
| No mutation | New mutations | New alleles enter the pool | Mutation rates are low, so this rarely matters in exam math |
| No migration | Gene flow | People entering or leaving shift allele frequencies | Mixing of populations with different allele frequencies |
| No natural selection | Selection against a genotype, or heterozygote advantage | Allele frequencies shift with fitness; heterozygote advantage keeps a harmful allele common | Sickle cell trait protects against malaria, so carriers are common where malaria is endemic |
Facts behind common stems:
- Founder effect: a small group separates from a larger population and carries only a subset of its variation, so a rare allele can end up common in that group. It is a form of genetic drift, and together with social or geographic isolation it is the most likely explanation for most rare recessive disorders that are unusually common in particular communities.
- Consanguinity changes genotype frequencies, not allele frequencies. Related parents are more likely to carry the same rare allele, so more children are homozygous than predicts.
- Heterozygote advantage is selection: the classic example is sickle cell trait in malaria-endemic regions.
- One generation of random mating restores Hardy-Weinberg proportions at an autosomal locus. X-linked loci take several generations, because males carry one copy and females two.
Autosomal recessive: the carrier frequency shortcut
The four-step setup:
- Affected:
- Disease allele:
- Normal allele: when is small
- Carriers:
Worked example, prevalence 1 in 10,000:
About 2% of people carry the allele, while 0.01% are affected.
| Prevalence () | Carriers () | Carriers per affected person () | |
|---|---|---|---|
| 1 in 2,500 | 1/50 | about 1 in 25 | about 100 |
| 1 in 3,600 | 1/60 | about 1 in 30 | about 120 |
| 1 in 10,000 | 1/100 | about 1 in 50 | about 200 |
| 1 in 40,000 | 1/200 | about 1 in 100 | about 400 |
| 1 in 1,000,000 | 1/1,000 | about 1 in 500 | about 2,000 |
The last column is the concept behind the math: the rarer the disease, the larger the share of its alleles hiding in healthy carriers. Cystic fibrosis is the classic real-world case. MedlinePlus Genetics puts it at 1 in 2,500 to 3,500 white newborns in the US; applying the shortcut to those incidence figures gives an estimated 1 in 25 to 1 in 30 carriers among white Americans (a Hardy-Weinberg estimate, not a measured carrier rate).
Going backward: if the stem gives the carrier frequency, halve it to get , then square it. Carriers 1 in 30 → → prevalence .
When not to use : the shortcut assumes . For a common allele, calculate in full: if (prevalence 1 in 100), , not 0.20.
Two-step questions: risk of an affected child
Multiply each parent's probability of being a carrier, then multiply by 1/4, the chance that two carriers have an affected child:
| Parent 1 | Parent 2: unrelated, no family history | Risk to each child |
|---|---|---|
| Known carrier (already has an affected child): 1 | ||
| Unaffected sibling of an affected person: 2/3 | ||
| Random person: | ||
| Affected (aa): always passes on the a allele |
The third row is a built-in check: two random people have an affected child at about the population prevalence. The 2/3 comes from Mendelian genetics, not Hardy-Weinberg: an unaffected child of two carriers is AA or Aa in a 1:2 ratio. The pedigree logic is in autosomal recessive inheritance and the 2/3 rule.
X-linked recessive: males give you q directly
Males have one X chromosome, so every male who inherits the allele is affected: the frequency of affected males equals , with no square root. Females need two copies.
| Group | Frequency | If 1 in 10,000 males is affected () |
|---|---|---|
| Affected males | 1 in 10,000 | |
| Carrier females | about 1 in 5,000 | |
| Affected females | 1 in 100,000,000 |
Carrier females are about twice as common as affected males, and affected females are vanishingly rare, which is why X-linked recessive disease is almost always seen in males. The pedigree side is in the X-linked disorders flowchart.
Rare autosomal dominant disease (less often tested): nearly everyone affected is heterozygous, so prevalence and prevalence/2. No square root here either.
Exam traps
- Prevalence is , not for autosomal recessive disease: take the square root first.
- Affected males are for X-linked recessive disease: don't take a square root.
- An unaffected sibling of an affected person has a 2/3 carrier risk, not 1/2; parents of an affected child are obligate carriers.
- A random partner's carrier risk is , not .
- is an approximation that works for rare diseases; use the full when is large.
- Founder effect is drift, heterozygote advantage is selection, consanguinity is nonrandom mating. Match the mechanism to the assumption it breaks.
Practice question
A 26-year-old woman comes for preconception counseling. Her older brother has cystic fibrosis; she and both parents are healthy. Her partner has no family history of cystic fibrosis, and neither has had carrier testing. In their population, which is in Hardy-Weinberg equilibrium, cystic fibrosis affects 1 in 2,500 newborns. What is the probability that their first child will have cystic fibrosis?
- A. 1/100
- B. 1/150
- C. 1/200
- D. 1/300
- E. 1/2,500
Answer: B. She is unaffected with an affected sibling, so her carrier probability is 2/3. For her partner, , so and his carrier probability is . Two carriers have an affected child with probability 1/4:
Why the others are wrong:
- A (1/100): treats her as an obligate carrier (probability 1). That would be right only if she had already had an affected child.
- C (1/200): uses 1/2 for her carrier risk. Once the affected genotype is excluded, 2 of the 3 remaining equally likely outcomes are carriers.
- D (1/300): uses (1/50) as the partner's carrier risk instead of (1/25).
- E (1/2,500): is the risk for two random people, which ignores her family history.
Key takeaways
- describes alleles; describes genotypes. Both require a large population, random mating, no mutation, no migration and no selection.
- The violations to recognize: drift and founder effect, consanguinity, new mutations, gene flow, and selection, including heterozygote advantage.
- Autosomal recessive: prevalence and carriers , which is twice the square root of the prevalence.
- Couple risk = carrier probability × carrier probability × 1/4, using 2/3 for an unaffected sibling and for a random partner.
- X-linked recessive: affected males , carrier females , affected females .
- The rarer the disease, the more carriers there are for each affected person (about ).
Sources
- Population Evolution: Hardy-Weinberg principle of equilibrium — OpenStax Biology 2e (2018)
- Population Genetics: genetic drift, bottleneck and founder effects — OpenStax Biology 2e (2018)
- Hardy-Weinberg equilibrium — Modern Genetics, Biology LibreTexts
- The Hardy-Weinberg Principle — Nature Education Scitable (2010)
- Applications in population genetics — Geneva Foundation for Medical Education and Research (2012)
- Inbreeding: population genetics for forensic analysts — National Institute of Justice
- Inbreeding lecture notes — University of Washington Genome Sciences 453
- Founder Effect — National Human Genome Research Institute glossary
- Cystic fibrosis — MedlinePlus Genetics
- Tay-Sachs disease — MedlinePlus Genetics
- Protective effect of sickle cell trait against malaria — CDC
Frequently Asked Questions
What are the 5 assumptions of Hardy-Weinberg equilibrium?
The population must be very large (so there is no genetic drift), mate randomly, have no new mutations, have no migration in or out (no gene flow), and experience no natural selection. When these conditions hold, allele frequencies stay the same across generations and genotype frequencies follow p² + 2pq + q² = 1. Classic exam violations are the founder effect, consanguinity and heterozygote advantage, such as sickle cell trait protecting against malaria.
What does p² + 2pq + q² = 1 mean?
It gives the expected genotype frequencies for a gene with two alleles whose frequencies are p and q, where p + q = 1. p² is the frequency of people homozygous for the first allele, 2pq the frequency of heterozygotes and q² the frequency of people homozygous for the second allele. For an autosomal recessive disease, q² is the affected frequency and 2pq is the carrier frequency.
How do you calculate carrier frequency from the prevalence of an autosomal recessive disease?
Set the prevalence equal to q², take the square root to get q, then double it, because the carrier frequency 2pq is approximately 2q when the disease allele is rare and p is close to 1. For a disease affecting 1 in 10,000 people, q is 1/100 and about 1 in 50 people are carriers. For a disease affecting 1 in 2,500, q is 1/50 and about 1 in 25 people are carriers.
How does Hardy-Weinberg work for X-linked recessive diseases?
Because males have only one X chromosome, the frequency of affected males equals the allele frequency q, so you do not take a square root. Carrier females occur at 2pq, which is about 2q for a rare allele, and affected females occur at q². If 1 in 10,000 males is affected, about 1 in 5,000 females is a carrier and only 1 in 100 million females is affected.
What is the chance that two unrelated people will have a child with an autosomal recessive disease?
Multiply the chance that each parent is a carrier, then multiply by 1/4, the chance that two carriers have an affected child. For two random people who each have a carrier probability of about 2q, the risk is (2q)² × 1/4, which equals q², the population prevalence. If one partner is the unaffected sibling of an affected person, use 2/3 as that partner's carrier probability instead.
What causes a population to deviate from Hardy-Weinberg equilibrium?
Any violation of its assumptions: genetic drift in small populations (including the founder effect), nonrandom mating such as consanguinity, new mutations, migration (gene flow) and natural selection. Consanguinity increases the proportion of homozygotes without by itself changing allele frequencies, while the founder effect can make a rare allele common in an isolated group. A significant deviation from the expected genotype counts can also point to genotyping error.