Free biology tools. No account. Nothing stored.

Hardy-Weinberg Equilibrium Calculator

Test whether a population is in Hardy-Weinberg equilibrium. Enter allele frequencies to get expected genotype frequencies, or supply observed counts for a chi-square test.

Enter allele frequencies to test whether a population is in Hardy-Weinberg equilibrium. Calculates expected genotype frequencies and runs a chi-square test if you supply observed counts.

p + q must equal 1. If you enter both, they will be checked. Observed counts are optional — leave blank to just see expected frequencies.

What is Hardy-Weinberg equilibrium?

A population is in Hardy-Weinberg equilibrium when allele frequencies stay constant from generation to generation. This requires no mutation, no selection, random mating, no migration, and a large population size. The equation is p squared plus 2pq plus q squared equals 1.