MCAT Hardy-Weinberg Equilibrium: Equations and Carriers

Use Hardy-Weinberg equations to find allele and carrier frequencies, estimate recessive disease risk, and compare observed genotypes with predictions.

Updated . Sources

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, pp and qq describe allele copies, while p2p^2, 2pq2pq, and q2q^2 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, AAAA and AaAa share a phenotype while aaaa 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 pp be the frequency of allele AA and qq the frequency of allele aa. Since these are the only allele types at the locus, their dimensionless fractions sum to one:

p+q=1.p+q=1.

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 AA gamete meets another AA gamete is p×p=p2p\times p=p^2. A heterozygote forms in two mutually exclusive ways: an AA gamete can meet an aa gamete, or an aa gamete can meet an AA gamete. Each pairing has probability pqpq, so adding them gives 2pq2pq. The probability of two aa gametes meeting is q2q^2.

f(AA)=p2,f(Aa)=2pq,f(aa)=q2.f(AA)=p^2,\qquad f(Aa)=2pq,\qquad f(aa)=q^2.

The three expected genotype fractions sum to one because they are the expansion of (p+q)2(p+q)^2:

p2+2pq+q2=1.p^2+2pq+q^2=1.
A rectangle is partitioned into four areas: blue AA at 0.49, two orange Aa areas at 0.21 each, and purple aa at 0.09, with gamete frequencies p = 0.70 and q = 0.30 labeled along the edges. Both gametes have A at 0.70 and a at 0.30. The four areas show AA at 0.49, Aa at 0.21 in each of two cells, and aa at 0.09. Gamete 1 Gamete 2 A a A a p = 0.70 q = 0.30 p = 0.70 q = 0.30 AA Aa Aa aa 0.49 0.21 0.21 0.09
Random unions of gametes when p = 0.70 and q = 0.30. Cell areas show genotype probabilities; the two orange Aa areas sum to 0.42.
Quantity What is counted Equilibrium expression
aa allele frequency aa copies among all locus copies qq
Recessive genotype frequency aaaa individuals among all individuals q2q^2
Heterozygote frequency AaAa individuals among all individuals 2pq2pq
Dominant phenotype frequency AAAA or AaAa individuals, if dominance is complete p2+2pq=1−q2p^2+2pq=1-q^2

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 p2p^2, 2pq2pq, and q2q^2.

From a recessive phenotype to carriers

For a fully penetrant autosomal recessive condition in a two-allele model, only aaaa individuals are affected. If equilibrium applies, the affected fraction estimates q2q^2. Take its nonnegative square root to find qq, calculate p=1−qp=1-q, then use 2pq2pq for the carrier fraction. Cystic fibrosis is an example of autosomal recessive inheritance.

First check what the phenotype tells you. With incomplete penetrance, some aaaa individuals are unaffected, so the affected fraction underestimates the aaaa fraction. If variants at different genes can cause the same phenotype, the affected group cannot simply be assigned to one aaaa class.

Carrier probability among unaffected people

An unaffected person can be AAAA or AaAa. If you select someone from this group, exclude affected aaaa individuals from the denominator:

P(Aa∣unaffected)=2pqp2+2pq=2pq1−q2.P(Aa\mid\text{unaffected})=\frac{2pq}{p^2+2pq}=\frac{2pq}{1-q^2}.

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 NN diploid individuals at an autosomal locus, there are 2N2N allele copies. Each AAAA individual contributes two AA copies; each AaAa contributes one AA and one aa; each aaaa contributes two aa copies. Thus:

p=2nAA+nAa2N,q=2naa+nAa2N.p=\frac{2n_{AA}+n_{Aa}}{2N},\qquad q=\frac{2n_{aa}+n_{Aa}}{2N}.

Here, nAAn_{AA}, nAan_{Aa}, and naan_{aa} are genotype counts in individuals, while NN is the total number of individuals. These counting equations do not require equilibrium. Use the resulting allele frequencies to calculate expected counts Np2Np^2, N(2pq)N(2pq), and Nq2Nq^2, 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 q2q^2, so take its square root to find qq.
  • Taking the square root of a dominant phenotype: this phenotype combines AAAA and AaAa, so its frequency is p2+2pqp^2+2pq, not p2p^2.
  • Treating a complete count as proof of equilibrium: observed genotype fractions sum to one whether or not they match the model. Calculate pp and qq 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.

Study the whole MCAT with Wizeprep

Try sample video lessons, AAMC-style practice passages and a practice test for free.

Get Started for Free