AP® Biology skills
Hardy-Weinberg calculations
Find allele and genotype frequencies from a population with p + q = 1.
About this tool
Find allele frequencies from genotype counts or from the share of individuals showing a recessive trait, and predict genotype frequencies for a population in Hardy-Weinberg equilibrium.
The equations, their assumptions, and how answers are checked
p + q = 1
p² + 2pq + q² = 1
- p and q are the frequencies of the two alleles of one gene; p², 2pq and q² are the expected frequencies of the two homozygous genotypes and the heterozygote.
- From genotype counts, count alleles: every individual carries two. From a recessive phenotype, q² is the share of individuals showing it, because only homozygous recessive individuals do.
- The genotype frequencies are expected only if the population is in equilibrium: very large, mating at random, with no mutation, no migration and no natural selection.
- Frequencies count when within one unit of the last decimal place asked for (0.01 for p, q and 2pq; 0.001 for q²) or 1%; numbers of individuals within 2%.
Notes for this topic: Hardy-Weinberg calculations