Allele frequencies count gene copies; genotype frequencies count individuals. For a simple two-allele model, random mating gives Hardy–Weinberg genotype expectations from allele frequencies. For frequencies to stay unchanged across generations in the ideal model, also assume no selection, migration or mutation and negligible drift.
Worked example
Recessive phenotype to carrier estimate
In an ideal population in equilibrium, 9% are aa. Estimate the heterozygote frequency.
q² = 0.09, so q = 0.30 and p = 0.70. Then 2pq = 0.42, or 42%.