Allele Frequency Calculator

Calculate allele frequencies and test for Hardy-Weinberg equilibrium.
Calculator
Enter your values
Analysis
Interpretation of the current calculator output

Enter values to see detailed analysis and insights.

How to Use

Step-by-step instructions
  1. 1Enter the number of homozygous dominant individuals (AA).
  2. 2Enter the number of heterozygous individuals (Aa).
  3. 3Enter the number of homozygous recessive individuals (aa).
  4. 4The calculator will compute allele frequencies and check equilibrium.

Hardy-Weinberg Principle

Calculates the frequency of dominant (p) and recessive (q) alleles in a population.
p + q = 1, p² + 2pq + q² = 1

Variables:

pFrequency of dominant allele
qFrequency of recessive allele

Example

Sample Population

Inputs:

AA:50
Aa:20
aa:30

Steps:

  1. 1.Total = 100 individuals (200 alleles)
  2. 2.A alleles = (50×2) + 20 = 120 -> p = 0.6
  3. 3.a alleles = (30×2) + 20 = 80 -> q = 0.4
Result:
p=0.6, q=0.4

Frequently Asked Questions

What is Hardy-Weinberg equilibrium?

It states that allele and genotype frequencies in a population will remain constant from generation to generation in the absence of other evolutionary influences.