Skip to content
0 of 5 missions completed.

Population Genetics Lab

Population
Evolutionary Forces
Controls
Gen: 0 | N: 200 | Fixation: Polymorphic
HW: pยฒ+2pq+qยฒ=1 | Drift: sigma=sqrt(pq/2N)

Population Genetics Simulation: Hardy-Weinberg & Allele Drift

This population genetics simulation quantifies evolutionary change by tracking allele and genotype frequencies across generations under forces that perturb Hardy-Weinberg equilibrium: mutation, genetic drift, gene flow, non-random mating, and natural selection. Students can set up ideal populations to verify H-W equilibrium, then activate one force at a time to isolate its effect on allele frequency trajectories. This quantitative approach to evolution distinguishes population genetics from the qualitative natural selection and evolution simulations.

What you can do in this simulation

  • Verify Hardy-Weinberg equilibrium conditions and calculate expected genotype frequencies from allele frequencies
  • Reduce population size to trigger genetic drift and observe allele fixation or loss by chance
  • Add migration (gene flow) from a source population with different allele frequencies and watch the receiving population shift
  • Apply selection coefficients to alleles and plot their frequency change across many generations
  • Combine multiple forces simultaneously and decompose their relative contributions to total allele frequency change

Concepts covered

Hardy-Weinberg equilibrium ยท genetic drift ยท gene flow ยท allele frequency ยท population genetics ยท selection coefficient

Related simulations

Browse all Biology simulations โ†’

Related reading

Free to use in your browser โ€” no signup required. Found a bug or have an idea to make it better? Tell us.

Finished experimenting?

Save one completion to this browser's signed guest ledger, or directly to your account when signed in.