Biology
Hardy-Weinberg Equilibrium Calculator
From one allele frequency, see the genotype frequencies a population would show under Hardy-Weinberg equilibrium.
Your inputs
Change any value to update the result instantly.
Heterozygotes (2pq) in the population
48 %
Frequency of allele a (q)
0.4
Homozygous dominant AA (p²)
36 %
Homozygous recessive aa (q²)
16 %
Equilibrium holds only when there is no mutation, migration, selection or drift, and mating is random in a large population. Comparing real counts to these expected values is how scientists detect evolution at work.
What this calculator does
Computes expected genotype frequencies (p², 2pq, q²) from an allele frequency under Hardy-Weinberg equilibrium.
What your result means
The percentages are the genotype shares expected in a non-evolving, randomly mating population.
Formula and working
p² + 2pq + q² = 1, with q = 1 − p
- 1
Collect the inputs
Frequency of allele A (p) = 0.6
- 2
Apply the formula
p² + 2pq + q² = 1, with q = 1 − p
- 3
Result
Heterozygotes (2pq) in the population = 48 %
Frequently asked questions
Symbols and assumptions
- p
- Frequency of allele A
- q
- Frequency of allele a = 1 − p
- p², 2pq, q²
- Expected frequencies of AA, Aa, aa
- • No mutation, migration, selection or genetic drift; random mating; large population.
Sources and review
Reviewed 2026-09-22 · Next review 2027-09-22
- • Real populations deviate; comparing observed counts to these expectations is itself the test for evolution.
Important limitation
This is an educational estimate based only on the values and formula shown. Verify current rates, rules, units, and professional standards before relying on the result. It is not personalized financial or investment advice.
Report a mistake or request an improvement
Tell us if a formula, unit, explanation, or result needs attention. Your message will include this calculator’s name and page.
Related calculators
Allele Frequency Calculator
Estimate allele frequencies p and q in a population from observed genotype counts (AA, Aa, aa).
Dihybrid Cross Calculator
Predict offspring ratios for a two-gene cross, assuming the genes assort independently.
DNA to mRNA Converter
See what a coding DNA sequence becomes after transcription and translation: mRNA length, codons, amino acids and rough protein mass.
Mutation Frequency Calculator
Express how often a mutant appears in a cell population as a simple frequency and per-million-cells rate.
Punnett Square Calculator (Monohybrid Cross)
Predict offspring genotype and phenotype ratios for a single-gene cross between any two genotypes.
Trihybrid Cross Calculator
Predict offspring ratios for a three-gene cross, assuming independent assortment of all three genes.
