๐ŸงฌHardy-Weinberg Calculator

Calculate allele and genotype frequencies, or test observed genotype counts for Hardy-Weinberg equilibrium.

Free Hardy-Weinberg Calculator

Our free Hardy-Weinberg calculator applies the Hardy-Weinberg equation, pยฒ + 2pq + qยฒ = 1, to find genotype frequencies from a known allele frequency, or to test whether an observed population is in genetic equilibrium.

In "From Allele Frequency" mode, enter the dominant allele frequency (p) and instantly get the recessive allele frequency (q), plus the expected homozygous dominant (pยฒ), heterozygous (2pq), and homozygous recessive (qยฒ) genotype frequencies.

In "From Genotype Counts" mode, enter observed counts of AA, Aa, and aa individuals. The calculator computes the allele frequencies, the expected genotype counts under Hardy-Weinberg equilibrium, and a chi-square test to determine whether the population's observed genotype distribution is statistically consistent with equilibrium. No sign-up, no downloads โ€” everything runs instantly in your browser.