Allele Frequency Calculator
BiologyCalculate allele frequencies p and q from genotype counts (AA, Aa, aa) in a population. Get exact allele proportions instantly for genetics coursework.
Dominant Allele Frequency (p)
What is a Allele Frequency?
The Allele Frequency Calculator computes the frequency of the dominant allele (p) and recessive allele (q) in a population directly from genotype counts. Enter the number of homozygous dominant (AA), heterozygous (Aa), and homozygous recessive (aa) individuals, and the calculator returns the exact allele proportions.
This is the reverse direction of the Hardy-Weinberg Calculator, which starts from an allele frequency and predicts genotype frequencies โ here, you start from real observed genotype counts and work backward to the underlying allele frequencies.
How to use this Allele Frequency calculator
Enter the homozygous dominant (AA) count โ the number of individuals in your sample or population carrying two dominant alleles.
Enter the heterozygous (Aa) count โ the number of individuals carrying one dominant and one recessive allele.
Enter the homozygous recessive (aa) count โ the number of individuals carrying two recessive alleles.
Read the allele frequencies โ p (dominant) and q (recessive), expressed as percentages, along with total individuals and total alleles counted.
Formula & Methodology
Allele frequency formulas: p = (2 ร AA count + Aa count) รท (2 ร total individuals) q = (2 ร aa count + Aa count) รท (2 ร total individuals) Variable definitions: - AA, Aa, aa โ counts of each genotype observed in the population - Total individuals โ AA + Aa + aa - Total alleles โ 2 ร total individuals (each individual carries 2 alleles for this gene) - p โ frequency of the dominant allele - q โ frequency of the recessive allele (always 1 โ p) Worked example: Given AA = 320, Aa = 480, aa = 200 (1,000 individuals total): Total alleles = 1,000 ร 2 = 2,000 Dominant allele count = (320 ร 2) + 480 = 1,120 p = 1,120 รท 2,000 = 56% q = 1 โ 0.56 = 44% Note: This calculator assumes a single gene locus with exactly two alleles (dominant/recessive). For genes with more than two alleles, or for X-linked genes with different counting rules by sex, the underlying counting logic needs to be adapted accordingly.
Frequently Asked Questions