Allele frequency describes how common a genetic variant is in a population. Use this calculator to connect allele frequencies, genotype frequencies, recessive-condition occurrence, and expected carrier frequency under the Hardy–Weinberg model.
Allele Frequency Calculator
Which population value should I enter?
Select disease occurrence when the known value represents the frequency of a recessive genotype, . Select p or q when an allele frequency is already known. Values can be entered as proportions or percentages, but the result always describes a population model rather than the probability for a particular person.
How does Hardy–Weinberg equilibrium connect alleles and genotypes?
Here, p and q are the two allele frequencies. The expected genotype frequencies are for one homozygous genotype, 2pq for the heterozygous genotype, and for the other homozygous genotype. When recessive disease occurrence is supplied as , the calculator takes its square root to recover q.
What does a 1% recessive-condition frequency imply?
Enter 1 and choose Percentage with disease occurrence mode. The proportion is 0.01, so q is 0.10 and p is 0.90. Under Hardy–Weinberg equilibrium, the expected heterozygous carrier frequency is 18%.
| Genotype term | Calculation | Expected frequency |
|---|---|---|
| 0.81 (81%) | ||
| 2pq | 2 × 0.90 × 0.10 | 0.18 (18%) |
| 0.01 (1%) |
When does the Hardy–Weinberg estimate apply?
Hardy–Weinberg equilibrium assumes a large, randomly mating population with negligible selection, mutation, migration, and genetic drift at the locus being studied. Real populations may not meet those conditions. A phenotype frequency may also differ from a confirmed genotype frequency, so the input definition must match the model.
What else should I know about allele frequency?
Why is the square root used for disease occurrence?
For a recessive genotype, the expected occurrence equals q multiplied by itself. Taking the non-negative square root reverses that relationship and returns allele frequency q.
Is 2pq the percentage of carriers?
It represents the expected heterozygous frequency under the model. It can be interpreted as carrier frequency for a simple recessive condition when the biological assumptions are appropriate.
Can p or q be greater than 1?
No. An allele frequency is a proportion from 0 to 1, equivalent to 0% through 100%. The two frequencies add to 1 in this two-allele model.
