Frequency of the disease in the population
Given in:
Proportion
Occurrence of the disease: 1 in..
×% = 1 in × people
Allele frequency
Healthy allele frequency (p)
Mutant allele frequency (q)

# Allele Frequency Calculator

By Łucja Zaborowska
Last updated: Nov 25, 2020

The allele frequency calculator allows you to compute your chances of carrying a gene that may cause a specific recessive disease in your offspring.

Our tool is based on the Hardy-Weinberg equilibrium equation.

Still feeling confused? 🤯

Follow our article below to discover what is a gene pool, what are autosomal recessive diseases/disorders, and how they can be inherited. We'll also go one step further - we'll teach you how to find allele frequency in the population and calculate gene frequency.

If you'd like to calculate the phenotype/genotype frequency of certain alleles, or learn how to calculate allele frequency in the next generation, try the Punnett square calculator for one trait and dihybrid Punnett square for two traits (you'll find there some more information on the topic, too!). 🎛️

## What is allele frequency?

Allele frequency describes how often a particular allele can be found in a population. With the allele frequency, you can calculate the chances that you and your partner are carriers of a genetic disease that may affect your children.

The frequency of particular alleles is higher among people in the same family.

 💡 Allele itself is a variant of a gene. Every gene has two variants, that is two alleles. One of the alleles is always inherited from the mother, the second one comes from the father.

 💡 Gene is a part of our genome that describes a single trait of our bodies. Genes serve as instruction book for our body's cells.

Why is it important?

Having two alleles of every gene is one of Mother Nature's most ingenious ideas - when one of the alleles is damaged or doesn't work correctly, we always have another copy to replace it with.

Of course, it doesn't always work this way:

• Both copies of a gene might be broken - that's when the recessive diseases happen * 🌟 (we created this calculator for this type of situation)*.

• One copy of a gene is broken, but this particular allele is dominant towards the second one and overruns it. That's when ***dominant diseases *** happen.

• Sometimes, only one allele of a gene works, and the second one is turned-off on purpose. One of these situations is called the parental imprinting.

## How to use the allele frequency calculator?

Our allele frequency tool allows you to calculate the chances of being a carrier of a certain genetic trait or a recessive disease. All you need to know for this calculation is the frequency of the disease in the population, given either in percentage (%) or a proportion (1 in 10000 people).

You may also use the following definitions:

• p - frequency of the wild (healthy) allele
• q - frequency of the mutant (sick) alllele
• - frequency of people with the disease in the population (2 mutant alleles)
• - frequency of people without the disease in the population (2 healthy alleles)
• 2pq - frequency of people without the disease in the population (1 mutant, 1 healthy allele)
 💡 Carrier is a person that has only one impaired allele of a certain gene - this peron doesn't get sick, but may pass on the impaired version of the gene to their children. If the second parent is also a carrier of the same disease, the child will probably suffer from this disorder.

We prepared a shortlist of the most common recessive diseases, so you don't have to look for them any further!

Remember, different populations tend to have completely incomparable pules of genes - the sets of all genes in a given population. The prevalence of certain diseases might be completely different than in the general population!

 Disease Prevalence Albinism 1 in 10,000 in general population Cystic fibrosis 1:2,500 in Caucasian population Harlequin-type ichthyosis 1 in 300,000 in general population Phenylketonuria 1:15,000 in Caucasian population Sickle cell anemia 1:600 in African-american population Tay Sachs 1:3,600 in Ashkenazi Jewish population

You've got everything calculated? How about checking your future kid's height using our child height predictor calculator?

## How to calculate allele frequency?

Our carrier frequency calculator uses the following equation:

`p² + 2pq + q² = 1`

where:

• is the frequency of people who own two healthy alleles.
• 2pq is the frequency of people who own one healthy and one impaired gene: the carriers.
• is the frequency of people who own two impaired genes: the people with the disease.

Let's follow it with an example:
A patient came to our office - his wife is a known carrier of a certain disease. He wants to know what's the probability that he's a carrier too; the disease we're calculating affects 1 in 1,000,000 people.

`1:1000000 = 0.000001`

`q² = 0.000001`
`q = 0.001`

`p² + (2* p * 0.001) + 0.000001 = 1`

`p² + 0.002p - 0.999999 = 0`

Here we need to use the quadratic formula solver and the delta equation : Δ=b²−4ac.

`p` can be equal to -1.0015 or 0.9985. Of course, we need to choose the positive result 😉(the negative one is impossible).

Let's calculate the carriers' prevalence:

`2pq = 2 * 0.001 * 0.9985 = 0.001997`

`1 / 0.001997 = 501`

The probability that our patient is a carrier is equal to 1:501.

## What is the Hardy-Weinberg equation?

In fact, this tool is a Hardy-Weinberg calculator: we use this equation to calculate the frequency of alleles in the population.

`p² + 2pq + q² = 1`

In the typical description of this formula, we'll find the following descriptions:

• 1 - whole population that owns a certain gene
• - homozygous dominant (AA)
• 2pq - heterozygous (Aa)
• - homozygous recessive (aa)

What does it really mean?

• The dominant allele is the one which a trait is almost always visible. We usually mark these alleles as `A`. Only one dominant allele is enough for certain characteristics to appear. Curly hair is one of the popular dominant traits.

• The recessive allele is the gene of the lesser strength. We usually mark them as `a`. A given trait is only visible if both of the alleles in the organism are recessive. Straight hair is an example of a recessive trait.

• Homozygous means that the cell contains two copies of the same gene, two alleles of the same strength. This combination might be dominant: `AA`, or recessive: `aa`.

• Heterozygous means that there are two different copies of a gene. This mix should be marked as `Aa`.

 💡 Our Hardy-Weinberg equation calculator works, because all the people that suffer from a recessive disease can be described as `aa`; we also know that all the carriers in the population can be described as `Aa`.

Take a look at our blood type calculator to find out how does it work in practice - you may also discover what blood type your baby will have! 👶 🅱️🅰️🆎

Łucja Zaborowska