Learn & Understand

Hardy-Weinberg: Five Ways to Break Equilibrium Are Five Engines of Evolution

In a hurry? Skip straight to the numbers.

Open the Hardy-Weinberg Equilibrium Calculator →

The companion calculator turns allele frequencies into predicted genotype frequencies using the Hardy-Weinberg principle. Its real genius is not the prediction but what the prediction is for: it describes a population that is not evolving, so that any real population departing from it reveals evolution in action. The five assumptions it makes are, flipped around, the five engines that drive genetic change.

A Null Model on Purpose

Hardy-Weinberg equilibrium says that if nothing disturbs a population, allele and genotype frequencies stay put generation after generation, described by the tidy expansion where genotype frequencies come from squaring the allele frequencies. It is deliberately a model of stasis. That makes it the biologist's baseline: measure a real population, compare it to the equilibrium prediction, and a significant gap is the fingerprint of some evolutionary force at work.

The Five Assumptions, and Their Evil Twins

Equilibrium holds only if five conditions are met. Each violation is itself a recognized mechanism of evolution.

The assumptions and the evolutionary forces that break them
AssumptionViolation = evolutionary force
No selectionNatural selection favors some genotypes
No mutationMutation creates and alters alleles
No migrationGene flow moves alleles between populations
Infinite population (no drift)Genetic drift randomly shifts frequencies in small populations
Random matingNon-random mating changes genotype proportions

Because no real population perfectly meets all five, evolution is always operating to some degree. The surprise is how often populations sit close to equilibrium anyway, which is what makes a clear departure so informative.

The Trick That Makes It Genuinely Useful: Carrier Frequency

The principle earns its keep in a very practical way. For a recessive condition, only individuals with two copies of the recessive allele are affected, and that affected fraction corresponds to the square of the recessive allele frequency in the equilibrium expansion. So if you know how common a recessive condition is, you can work backward to the allele frequency, and from there estimate the frequency of unaffected carriers, people with one copy who show no trait but can pass it on. Carriers correspond to the heterozygote term, and there are often far more of them than affected individuals. This is a standard genetic-counseling estimate, turning an observed incidence into a hidden carrier rate.

Why the Genotype Frequencies Always Sum to One

The reassuring internal check, that the three genotype frequencies add to exactly one, is not a coincidence. When only two alleles exist, their frequencies sum to one by definition, and squaring that sum must also equal one, which is precisely the equilibrium expansion. It falls out of the algebra, so a set of genotype frequencies that does not sum to one signals an arithmetic slip.

An Idea Two People Found Independently

The principle carries two names for a reason: the mathematician G.H. Hardy and the physician Wilhelm Weinberg derived it independently around 1908. Hardy, a pure mathematician who rather disdained applied work, dashed off the result almost as an afterthought, while Weinberg developed it in a medical-genetics context. Their convergence gave the field one of its most durable tools.

Using the Prediction Well

Take this calculator's genotype frequencies as the no-evolution baseline for your allele frequencies, and use the departure of a real population from it as a clue that selection, drift, gene flow, mutation, or non-random mating is at work. For a recessive trait, use the same math in reverse to estimate carrier frequency from incidence, a genuinely practical application of an idealized model.

Ready to Put This Into Practice?

Now that you understand how it works, plug in your own numbers and get an instant, accurate result.

Use the Hardy-Weinberg Equilibrium Calculator Now →