Hardy-Weinberg equilibrium is a model that predicts allele and genotype frequencies in a population that is not evolving. If the real frequencies in a population do not match what the model predicts, that mismatch is evidence the population is evolving. For AP Biology, you need to use the equations, identify which value is given, and explain which evolutionary condition may be changing the population.
Hardy-Weinberg in AP Bio
Hardy-Weinberg equilibrium is the AP Bio model for predicting allele and genotype frequencies in a population that is not evolving. Use for allele frequencies and for genotype frequencies.
Most Hardy-Weinberg practice problems start with the recessive phenotype. If the recessive phenotype frequency is given, treat it as , take the square root to find , use , then calculate and .

Why This Matters for the AP Biology Exam
This topic gives you a mathematical tool for thinking about evolution at the population level. On the AP Biology exam you will likely calculate allele and genotype frequencies from data, then use those numbers to decide whether a population is in equilibrium or evolving. Because Hardy-Weinberg works as a null hypothesis (it describes what you would expect if nothing were changing), it connects directly to the data analysis and explanation skills the exam rewards. Expect to plug values into the equations, interpret what the results mean, and explain in writing which conditions a real population is breaking.
Key Takeaways
- Hardy-Weinberg equilibrium describes a population that is not evolving, so allele frequencies stay constant across generations.
- Five conditions must hold: large population size, no migration, no new mutations, random mating, and no natural selection. These conditions are never fully met in nature.
- Use for allele frequencies and for genotype frequencies.
- is the homozygous dominant frequency, is the heterozygous frequency, and is the homozygous recessive frequency.
- The homozygous recessive group () is often your starting point because that phenotype tells you the genotype directly.
- When real frequencies differ from predicted ones, the population is evolving, which makes the model a useful null hypothesis.
Understanding the Hardy-Weinberg Model
Hardy-Weinberg equilibrium is a model that describes and predicts allele frequencies in a population that is not evolving. The core idea is that if certain conditions are met, allele frequencies stay the same from one generation to the next.
That stable scenario almost never happens in real life, which is exactly why the model is useful. It gives you a baseline, or null hypothesis, for what a non-evolving population should look like. When you compare actual population data to the model's predictions and they do not match, you have evidence that the population is evolving.
The Five Conditions
Allele frequencies stay constant only if all five of these conditions hold:
- Large population size: the population is large enough that random changes in allele frequency (genetic drift) do not occur.
- No migration: no individuals move in or out, so gene flow does not add or remove alleles.
- No new mutations: no new alleles are added to the gene pool.
- Random mating: mating is not influenced by genotype or any other trait.
- No natural selection: no allele is favored over another, so survival and reproduction are not tied to specific traits.
These conditions are never all met in a real population. Mutations happen, populations are finite, and mating is rarely fully random. That is why Hardy-Weinberg is a model for calculation rather than a description of any actual population.
If any condition is broken, the population can evolve, meaning allele frequencies can shift across generations. For example, mutation introduces new alleles, migration adds or removes alleles, natural selection increases the frequency of alleles that improve reproductive success, genetic drift changes frequencies in small populations, and nonrandom mating shifts genotype frequencies.
Working With the Equations
You only need two equations, and they share the same two variables:
Here, p is the frequency of one allele and q is the frequency of the other allele. Both are decimals, and since they are the only two alleles for that gene, they add to 1.
In the genotype equation:
- is the frequency of the homozygous dominant genotype
- is the frequency of the heterozygous genotype
- is the frequency of the homozygous recessive genotype
A Reliable Solving Order
Many AP Biology problems start with the recessive phenotype because individuals showing it must be homozygous recessive, which gives you q^2 directly. From there:
-
Take the square root of to find .
-
Use to find .
-
Plug and back into to find the other genotype frequencies.
Some problems instead hand you allele frequencies or genotype frequencies directly, so read carefully to see what you are actually given.
Worked Example: Bird Feather Color
Imagine a population of 100 birds where 84 have white feathers (dominant phenotype) and 16 have grey feathers (recessive phenotype).
- The grey birds are homozygous recessive, so .
- .
- .
- Homozygous dominant: , or 36 birds.
- Heterozygous: , or 48 birds.
- Homozygous recessive: , or 16 birds.
The genotype frequencies add to 1 (0.36 + 0.48 + 0.16 = 1), which is a quick way to check your work.
Example Problem
A rare genetic disorder is caused by a recessive allele, "a," in a population. The frequency of that allele is 0.02. Calculate the frequency of the dominant allele "A," along with the frequency of homozygous recessive (aa) and heterozygous (Aa) individuals.
Assign the recessive allele frequency as and the dominant allele frequency as . Since A and a are the only two alleles at this locus, . (Hardy-Weinberg does not require the alleles to be codominant.)
Given :
- Homozygous recessive (aa): , or 0.04%
- Heterozygous (Aa): , or 3.92%
This calculation assumes all five Hardy-Weinberg conditions: no mutation, no selection, no gene flow, a large population, and random mating. Remember that this equilibrium is theoretical, and real populations almost never meet every condition.
How to Use This on the AP Biology Exam
Problem Solving
- Identify what the question gives you first. If it provides the recessive phenotype count, start with . If it gives an allele frequency, you can go straight to .
- Keep and as decimals during the math, then convert to percentages or counts only at the end if asked.
- Check that adds to 1 to catch arithmetic mistakes.
Free Response
- When asked whether a population is evolving, compare observed genotype frequencies to the frequencies the model predicts. A clear mismatch supports the conclusion that the population is evolving.
- If you argue a population is evolving, name the specific condition being broken (for example, selection or gene flow) instead of just saying "it is not in equilibrium."
- State your assumptions when you use the equations. Explaining that you assumed random mating and no selection shows you understand the model's limits.
Common Trap
- Do not confuse allele frequencies with genotype frequencies. and are allele frequencies; , , and are genotype frequencies.
- Remember that counts heterozygotes only, not all carriers plus homozygotes. The heterozygous group is its own term.
Common Misconceptions
- Hardy-Weinberg proves a population is not evolving. It does the opposite job. It predicts what a non-evolving population would look like so you can test real data against that baseline.
- If a population is in equilibrium, allele frequencies are static forever. The model describes conditions under which frequencies stay constant, but it does not mean frequencies cannot change. The point is to identify what changes them.
- p always means the dominant allele. and just label two alleles. Which one you call depends on the problem; always read which allele or phenotype you are given.
- is the frequency of carriers. is the homozygous recessive frequency. Heterozygous carriers are counted by .
- The five conditions are realistic. They are never all met in nature. That is intentional, since the unrealistic ideal is what makes the model a useful null hypothesis.
zygous dominant, is heterozygous, and is homozygous recessive.
What does p represent in Hardy-Weinberg?
represents the frequency of one allele in the population. It is often used for the dominant allele in AP Bio problems, but the problem should tell you which allele is being labeled as .
What does q squared represent?
represents the frequency of the homozygous recessive genotype. If the recessive phenotype is visible in the population, that phenotype frequency usually gives you directly.
What are the five Hardy-Weinberg conditions?
The five conditions are a large population, no migration, no new mutations, random mating, and no natural selection. If any condition is broken, allele frequencies can change and the population can evolve.
How do you solve Hardy-Weinberg practice problems?
Start by identifying what the problem gives you. If it gives the recessive phenotype frequency, treat it as , take the square root to find , use , then calculate genotype frequencies with .
Related AP Biology Guides
Vocabulary
The following words are mentioned explicitly in the College Board Course and Exam Description for this topic.Term | Definition |
|---|---|
allele frequencies | The proportion or percentage of a specific allele in a population's gene pool. |
genotype frequencies | The proportion or percentage of each genotype combination in a population. |
Hardy-Weinberg Equilibrium | A model describing a non-evolving population where allele and genotype frequencies remain constant across generations. |
large population size | A condition for Hardy-Weinberg Equilibrium where a population is large enough to prevent random changes in allele frequencies due to chance events. |
migration | The movement of individuals (and their alleles) into or out of a population; must be absent for Hardy-Weinberg Equilibrium. |
mutations | Random changes in DNA sequences that create new genetic variations in populations. |
natural selection | A major mechanism of evolution in which individuals with more favorable phenotypes are more likely to survive and reproduce, passing advantageous traits to subsequent generations. |
non-evolving population | A population in which allele frequencies do not change over time because evolutionary forces are absent. |
null hypothesis | A baseline model used for comparison; in this context, Hardy-Weinberg Equilibrium serves as a reference point to detect when populations are evolving. |
random mating | A condition where individuals in a population mate without preference for specific genotypes; required for Hardy-Weinberg Equilibrium. |
Frequently Asked Questions
What is Hardy-Weinberg equilibrium in AP Bio?
Hardy-Weinberg equilibrium is a model that predicts allele and genotype frequencies in a population that is not evolving. AP Bio uses it as a baseline for deciding whether allele frequencies are changing over time.
What are the Hardy-Weinberg equations?
The two equations are p + q = 1 for allele frequencies and p^2 + 2pq + q^2 = 1 for genotype frequencies. In the genotype equation, p^2 is homozygous dominant, 2pq is heterozygous, and q^2 is homozygous recessive.
What does p represent in Hardy-Weinberg?
p represents the frequency of one allele in the population. It is often used for the dominant allele in AP Bio problems, but the problem should tell you which allele is being labeled as p.
What does q squared represent?
q^2 represents the frequency of the homozygous recessive genotype. If the recessive phenotype is visible in the population, that phenotype frequency usually gives you q^2 directly.
What are the five Hardy-Weinberg conditions?
The five conditions are a large population, no migration, no new mutations, random mating, and no natural selection. If any condition is broken, allele frequencies can change and the population can evolve.
How do you solve Hardy-Weinberg practice problems?
Start by identifying what the problem gives you. If it gives the recessive phenotype frequency, treat it as q^2, take the square root to find q, use p = 1 - q, then calculate genotype frequencies with p^2 + 2pq + q^2 = 1.