Calculate carrier rates using Hardy-Weinberg equilibrium
Enter disease prevalence to find allele frequencies, or input any value to reverse-calculate.

Think of allele frequency as a snapshot of how common different versions of a gene are in a population. If you have a town of 10,000 people and 4,000 of them carry a recessive allele for a particular gene, that allele has a frequency of 40% in your town.
💡 The key insight: Everyone carries two copies of each gene — one from mom, one from dad. So a population's genetic mix tells us a lot about inherited disease risk.
This is especially important for recessive diseases like cystic fibrosis or sickle cell anemia. You might be a "carrier" without ever getting sick, but if your partner is also a carrier, your children are at risk.
A variant of a gene. You inherit one version from each parent.
Any group sharing similar ancestry—a country, ethnic group, or even a town.
Disease prevalence varies wildly between populations. Cystic fibrosis is far more common in Caucasians than East Asians.
Two carrier parents have a 25% chance of having an affected child each pregnancy.
The calculator works in both directions. You can start with disease frequency and calculate allele frequencies, or vice versa. Here's what you need to know:
Is disease prevalence given as a percentage (0.05%) or proportion (1 in 2,000)? Pick the matching option.
If you know how common the disease is in the population, enter that number. The calculator derives everything else.
If you already know p (healthy allele) or q (disease allele), enter those instead. The calculator reverses the calculation.
The calculator shows the genotype frequencies (how common each genetic combination is) and carrier frequency (1 in X people carries the mutation).
💡 Pro tip: The calculator uses the Hardy-Weinberg equation, which assumes no mutation, migration, or selection pressure. For most populations in equilibrium, this works great. See the limitations section for when to be cautious.
Let's say you read that cystic fibrosis affects 1 in 2,500 Caucasians. You want to know: what's the chance you're a carrier?
Step 1: Set up
Disease frequency = 1 in 2,500 (or 0.04%)
Step 2: Calculate
q² = 1/2500 = 0.0004
q = √0.0004 = 0.02
p = 1 - 0.02 = 0.98
Step 3: Results
Carriers (2pq) = 2 × 0.98 × 0.02 = 0.0392 = 3.92%
About 1 in 25 Caucasians carry a CF mutation.
If you're Caucasian and both you and your partner are carriers (unlikely but possible), each child has a 25% chance of having cystic fibrosis. If only one of you is a carrier, your kids won't have the disease but might be carriers themselves.
In Caucasians:
Affects ~1 in 2,500. Carrier rate: ~1 in 25.
In East Asians:
Much rarer (~1 in 30,000). Carrier rate: ~1 in 174.
This is why genetic counseling should consider ethnicity.
In African-Americans:
Affects ~1 in 500. Carrier rate: ~1 in 10.
In West Africans:
Even higher—about 1 in 3 carries the trait (protective against malaria).
The mutation is actually beneficial in malaria-endemic areas.
In Ashkenazi Jews:
Affects ~1 in 3,600. Carrier rate: ~1 in 30.
In general population:
About 100 times rarer.
Carrier screening is standard in high-risk communities.
The twist:
Sickle cell carriers (Aa) have malaria resistance but don't have sickle cell disease. This is why the allele persists.
Evolution in action:
Allele frequencies can tell us when natural selection is at work.
The Hardy-Weinberg equation is the foundation of population genetics. It tells us that in a population with no forces acting on it (no new mutations, no migration, no selection), allele frequencies stay constant from generation to generation.
Core equation
p² + 2pq + q² = 1
Where:
Why does this matter?
Developed independently by G.H. Hardy (mathematician) and Wilhelm Weinberg (physician) in 1908, this equation has been fundamental to genetics ever since. It's one of the most elegant ideas in biology.
Disease prevalence varies hugely by ancestry. Cystic fibrosis in Caucasians looks very different from Asians. Always specify the population when discussing carrier risk.
A carrier has one healthy + one disease allele. They're usually fine (some exceptions like sickle cell trait). Risk comes when both parents are carriers.
Start with disease frequency OR allele frequencies—whichever you know. The calculator solves for everything else. This flexibility makes it powerful.
With very rare diseases, small rounding errors can matter. The calculator handles precision well, but if you're doing manual calculations, be careful with significant figures.
This calculator is educational and informative. If you're considering genetic testing or family planning decisions, talk to a healthcare professional who understands your specific situation.
Hardy-Weinberg assumes the population is large, mating is random, and there's no mutation or migration. If these aren't true (like in small isolated communities), the calculator is less accurate.
| Disease | High-risk group | Prevalence | Carrier risk |
|---|---|---|---|
| Cystic Fibrosis | Caucasians (Northern Europe) | 1 in 2,500 | ~1 in 25 |
| Sickle Cell Anemia | African-Americans | 1 in 500 | ~1 in 10 |
| Tay-Sachs | Ashkenazi Jews | 1 in 3,600 | ~1 in 30 |
| Phenylketonuria (PKU) | Caucasians | 1 in 15,000 | ~1 in 60 |
| Albinism | General population | 1 in 10,000 | ~1 in 100 |
Note: Frequencies vary by geographic region and ethnic background. These are approximate values for the populations listed. Always consult with a genetic counselor for personalized risk assessment.
🏥 Medical Disclaimer
This calculator is for educational purposes only and should not replace professional medical advice. Genetic risk assessment, carrier screening decisions, and prenatal diagnosis require consultation with a qualified genetic counselor or healthcare provider who understands your specific situation, family history, and medical context.
💡 Best practice: Use this calculator to understand genetics concepts and get approximate risks. Always verify disease prevalence data from reputable sources (CDC, WHO, peer-reviewed studies) and discuss results with a healthcare professional.
The cat pregnancy calculator will compute the due date of your favorite feline.
The dog life expectancy calculator estimates the age of your dog based on their breed and gives their average life expectancy.
Convert your dog's age to human years based on breed and size.
The dog pregnancy calculator provides you with your dog's due date.
Our Benadryl dosage calculator for dogs will compute an optimal dose of Benadryl (Diphenhydramine) for your pet.
Discover how to measure a dog's quality of life with our insightful pet quality of life scale calculator. Ensure their well-being now!