AP® Biology · Unit 7 · Topic 7.5
Calculating Allele and Genotype Frequencies
Allele frequencies (p and q) describe the gene pool, while genotype frequencies (p2, 2pq, q2) describe how those alleles combine in individuals. Counting a recessive phenotype lets you work backward to find q, then everything else.
Hardy-Weinberg gives two linked equations. The allele equation, p + q = 1, says every copy of the gene in the population is either the dominant allele (p) or the recessive allele (q). The genotype equation, p2 + 2pq + q2 = 1, says every individual is homozygous dominant (p2), heterozygous (2pq), or homozygous recessive (q2). The bridge between them matters: only the recessive phenotype identifies itself cleanly, because both AA and Aa individuals look the same. So q2 is the one frequency you can read directly off a population by counting recessive-looking individuals, then square-root it to get q, then subtract from 1 to get p.
Work it through: if 16 of 400 individuals show the recessive trait, q2 = 16/400 = 0.04, so q = 0.2 and p = 0.8. With p and q known, you can predict genotype counts. If q = 0.3 in a population of 1000, p = 0.7, and the expected number of heterozygotes is 2pq x n = 2(0.7)(0.3)(1000) = 420. To test whether a real population matches these predictions, compare observed counts to expected ones: for 60 AA, 20 Aa, 20 aa (n=100), count alleles directly (2(60)+20 = 140 A alleles, 2(20)+20 = 60 a alleles out of 200 total, so p=0.7, q=0.3), then check if expected p2, 2pq, q2 counts (49, 42, 9) match the observed 60, 20, 20. They don't, so this population is not in equilibrium.
This calculation is the quantitative backbone of the whole unit: it gives you a numerical baseline for what evolution looks like when it's NOT happening, so any mismatch between observed and expected genotype counts is evidence that selection, drift, migration, nonrandom mating, or mutation is acting on the population.
Key terms
- Allele frequency
- The proportion of all copies of a gene in a population that are one particular allele, denoted p or q.
- Genotype frequency
- The proportion of individuals in a population with a particular genotype, such as AA, Aa, or aa.
- Hardy-Weinberg equilibrium
- A theoretical state where allele and genotype frequencies stay constant across generations because no evolutionary forces act.
- p2 + 2pq + q2 = 1
- The equation predicting genotype frequencies for homozygous dominant, heterozygous, and homozygous recessive individuals from allele frequencies.
- Observed vs expected counts
- Comparing real genotype counts in a population to those predicted by Hardy-Weinberg to detect evolution.
Watch it explained
- How it worksHow do p plus q equals 1 and the squared equation describe two different things?
- Worked exampleFind p and q when 16 of 400 individuals in a population show the recessive phenotype.
- Worked exampleFind the expected number of heterozygotes in 1000 individuals when q equals 0.3.
- Worked exampleFind whether a population with 60 AA, 20 Aa, and 20 aa is in Hardy-Weinberg equilibrium.
- Common mistakeWhy doesn't a high frequency of heterozygotes mean the allele is dominant?
Check yourself
End of topic.