Population Genetics Lab
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
- Evolution Simulation: How Species Change Over Time
- Astrobiology Simulation: Life Beyond Earth
- Blood Circulation Simulator: Beating Heart Explained
- Cell Builder: Assemble Animal & Plant Cells
- Cell Division: Mitosis & Meiosis Simulation
- Cell Lab: Observe & Analyze Living Cells
Browse all Biology simulations โ
Related reading
- Natural Selection Simulation Online: Evolution, Genetics, and Population Dynamics
- DNA Simulation Online: Visualize Replication, Genetics, and Cell Division
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.