What Is Allele Frequency?
Allele frequency describes how often a particular allele (variant of a gene) appears in a population. Every gene in a diploid organism has two copies — one inherited from each parent. The allele frequency tells you the proportion of a specific version of that gene across all copies present in a population.
With this calculator you can determine the probability that you or your partner are carriers of a recessive genetic disease — and therefore the risk of passing it to your children.
The Hardy-Weinberg Equilibrium
Our calculator is based on the Hardy-Weinberg principle (1908), which states that allele frequencies in a large, randomly-mating population remain constant from generation to generation — provided no mutation, migration, natural selection, or genetic drift occurs. Under these idealized conditions:
- p = frequency of the healthy (dominant/wild-type) allele
- q = frequency of the mutant (recessive/disease-causing) allele
- p + q = 1
- p² + 2pq + q² = 1, where:
- q² — proportion of affected individuals (two mutant alleles)
- 2pq — proportion of carriers (one mutant, one healthy allele)
- p² — proportion of homozygous healthy individuals (two healthy alleles)
How to Calculate Allele Frequency
Given the disease prevalence q² in the population, the steps are straightforward:
- Find q = √q²
- Find p = 1 − q
- Carrier frequency = 2pq
Example — Cystic Fibrosis (CF): CF affects approximately 1 in 2,500 Caucasians (q² ≈ 0.0004).
→ q = √0.0004 ≈ 0.02 → p ≈ 0.98 → 2pq ≈ 0.0392, meaning roughly 1 in 25 people is a carrier.
How to Use the Allele Frequency Calculator
You only need to know the disease prevalence in the population. You can enter it in two ways:
- Proportion (1 in N) — the American-style notation common in medical literature (e.g. "1 in 2,500").
- Percentage (%) — the metric/scientific notation (e.g. "0.04%").
The calculator outputs all Hardy-Weinberg frequencies and estimates carrier probability in the same two formats. Use the quick-example buttons for well-known autosomal recessive conditions.
Common Autosomal Recessive Diseases
| Disease | Prevalence (1 in N) | Carrier rate (approx.) |
|---|---|---|
| Cystic Fibrosis | 1 in 2,500 | 1 in 25 |
| Phenylketonuria (PKU) | 1 in 10,000–15,000 | 1 in 50 |
| Sickle Cell Disease | 1 in 365 (African Americans) | 1 in 10 |
| Tay-Sachs Disease | 1 in 3,500 (Ashkenazi Jews) | 1 in 30 |
| Galactosemia | 1 in 30,000–60,000 | 1 in 90 |
Carrier Risk for Your Children
Being a carrier means you have one working copy and one mutant copy of the gene. Carriers typically do not show symptoms, but may pass the disease allele to offspring.
- Both parents are carriers: each pregnancy has a 25% chance of an affected child, a 50% chance of a carrier child, and a 25% chance of a fully healthy child.
- One parent is a carrier, one is affected: 50% chance of an affected child, 50% chance of a carrier child.
If you'd like to explore inheritance patterns in more detail, try our Punnett Square Calculator or the Dihybrid Cross Calculator.
FAQs
What is an allele?
An allele is one of the alternative forms of a gene. For most human genes there are two alleles — one inherited from the mother and one from the father. One allele may be dominant (expressed even with one copy) and the other recessive (expressed only when both copies are mutant, i.e. q²).
What is a carrier?
A carrier (genotype: Qq) carries one healthy and one mutant allele. Carriers usually show no symptoms of the disease, but they can pass the mutant allele to their children. If both parents are carriers, there is a 25% risk of an affected child per pregnancy.
Is Hardy-Weinberg applicable to all populations?
The Hardy-Weinberg equation gives a good approximation for large, outbreeding populations. Results may differ for isolated communities (e.g. founder populations), populations with strong natural selection, or for genes with very high mutation rates.
Can I use percentages instead of "1 in N"?
Yes — simply switch the input mode to Percentage (%). The metric convention expresses disease prevalence as a fraction of 100 (e.g. 0.04% for 1 in 2,500). Both notations give identical results; they are just different ways of expressing the same proportion.
How does this relate to the Punnett square?
While the Punnett square shows outcomes for a specific cross between two known parents, the Hardy-Weinberg equation gives population-level carrier frequency when only the disease prevalence is known. Use this calculator first to determine whether carrier testing is warranted, then use the Punnett Square Calculator for detailed offspring analysis.