Allele Frequency Calculator

The Allele Frequency Calculator takes your genotype counts (AA, Aa, aa) or phenotype counts and calculates the frequency of p (dominant) and q (recessive) in your population, along with Hardy-Weinberg expected frequencies — just enter your counts and hit calculate.

%
%
%

Results

Frequency of p (dominant allele)

--

Frequency of q (recessive allele)

--

Total population size

--

Hardy-Weinberg AA expected

--

Hardy-Weinberg Aa expected

--

Hardy-Weinberg aa expected

--

Allele Frequency Distribution

Results Table

Frequently Asked Questions

What is allele frequency?

Allele frequency is the relative proportion of a specific allele (gene variant) in a population. It's expressed as a decimal between 0 and 1, where p represents the frequency of the dominant allele and q represents the frequency of the recessive allele.

How do you calculate P and Q allele frequency?

From genotype counts: p = (2×AA + Aa) / (2×N) and q = (2×aa + Aa) / (2×N), where N is total population. From phenotype data with Hardy-Weinberg assumption: q = √(recessive frequency) and p = 1 - q.

What is the Hardy-Weinberg equation?

The Hardy-Weinberg equation is p² + 2pq + q² = 1, where p² represents AA frequency, 2pq represents Aa frequency, and q² represents aa frequency. This equation predicts genotype frequencies in populations that are not evolving.

What do P and Q mean in allele frequency?

P represents the frequency of the dominant allele in a population, while Q represents the frequency of the recessive allele. Since these are the only two alleles for a given gene, p + q always equals 1.

How to calculate minor allele frequency?

Minor allele frequency (MAF) is the frequency of the less common allele in a population. Calculate both p and q, then the MAF is whichever value is smaller. MAF is important in genetics research and disease association studies.

When can I use Hardy-Weinberg equilibrium assumptions?

Hardy-Weinberg equilibrium applies when there's no mutation, migration, selection, or non-random mating, and the population is large. While real populations rarely meet all conditions perfectly, it provides a useful baseline for comparison.

What's the difference between genotype and phenotype frequency calculations?

Genotype frequency uses actual counts of AA, Aa, and aa individuals to directly calculate allele frequencies. Phenotype frequency uses observable traits (dominant vs recessive) and requires Hardy-Weinberg assumptions to estimate underlying genotype frequencies.

More Biology Tools