• Skip to primary navigation
  • Skip to main content
  • Skip to footer
Basic Mathematics
  • ⌕
Home ❯ Allele Frequency Calculator

Allele Frequency Calculator

Allele frequency describes how common a genetic variant is in a population. Use this calculator to connect allele frequencies, genotype frequencies, recessive-condition occurrence, and expected carrier frequency under the Hardy–Weinberg model.

Allele Frequency Calculator

Biology calculator: Choose prevalence, healthy-allele, or mutant-allele mode and work in proportions or percentages.

Known value
p 2 + 2 p q + q 2 = 1

Result

Main result
—
Details
—
Calculation
—

Which population value should I enter?

Select disease occurrence when the known value represents the frequency of a recessive genotype, q 2 . Select p or q when an allele frequency is already known. Values can be entered as proportions or percentages, but the result always describes a population model rather than the probability for a particular person.

How does Hardy–Weinberg equilibrium connect alleles and genotypes?

p + q = 1 , p 2 + 2 p q + q 2 = 1

Here, p and q are the two allele frequencies. The expected genotype frequencies are p 2 for one homozygous genotype, 2pq for the heterozygous genotype, and q 2 for the other homozygous genotype. When recessive disease occurrence is supplied as q 2 , the calculator takes its square root to recover q.

What does a 1% recessive-condition frequency imply?

Enter 1 and choose Percentage with disease occurrence mode. The proportion is 0.01, so q is 0.10 and p is 0.90. Under Hardy–Weinberg equilibrium, the expected heterozygous carrier frequency is 18%.

Genotype term Calculation Expected frequency
p 2 0.90 2 0.81 (81%)
2pq 2 × 0.90 × 0.10 0.18 (18%)
q 2 0.10 2 0.01 (1%)

When does the Hardy–Weinberg estimate apply?

Hardy–Weinberg equilibrium assumes a large, randomly mating population with negligible selection, mutation, migration, and genetic drift at the locus being studied. Real populations may not meet those conditions. A phenotype frequency may also differ from a confirmed genotype frequency, so the input definition must match the model.

What else should I know about allele frequency?

Why is the square root used for disease occurrence?

For a recessive genotype, the expected occurrence equals q multiplied by itself. Taking the non-negative square root reverses that relationship and returns allele frequency q.

Is 2pq the percentage of carriers?

It represents the expected heterozygous frequency under the model. It can be interpreted as carrier frequency for a simple recessive condition when the biological assumptions are appropriate.

Can p or q be greater than 1?

No. An allele frequency is a proportion from 0 to 1, equivalent to 0% through 100%. The two frequencies add to 1 in this two-allele model.

Related calculators

  • Dihybrid Cross Calculator - Punnett Square
  • Square Footage Calculator
  • Aluminum Weight Calculator
Jean Carlos Novaes

About Jean Carlos Novaes

I hold a degree in Computer Science from the Federal University of Bahia (2017) and I am the editor and founder of this website.

Footer

Basic Mathematics

Basic Mathematics website with clear school content for elementary and high school students. Learn easily and efficiently!

ABOUT

  • About Us
  • Contact
  • Site Map

LEGAL

  • How to Cite
  • Cookie Policy
  • Privacy Policy
  • Content License

© 2015–2026 · Basic Mathematics · All rights reserved.