For Educators · Hardy-Weinberg
Hardy-Weinberg for a mutation rate
Built for educators teaching it to a class. Drop a live demo into a lecture or assign it as a shareable link — no lab installs. Simulate a mutation rate live below — adjust the inputs and watch it respond, right in your browser.
Hardy-Weinberg & SelectionLive
population genetics
Controls
Presets
Without selection, allele frequencies stay put and genotypes settle at p², 2pq, q² — Hardy-Weinberg equilibrium. Give the genotypes different fitness and selection shifts the allele frequency each generation. Heterozygote advantage (high Aa fitness) can hold both alleles in a stable balance.
Data Inspector
Final freq A0.500
Outcomepolymorphic
Mean fitness0.95
Governing equation
Reading this result: Allele A is favored at every genotype, so directional selection drives p toward 1 and eventually fixes A.
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
Also for:StudentsResearchersEngineersHobbyists & MakersK-12 StudentsFirst RespondersGeneral version →
More with Hardy-Weinberg
Frequently asked questions
- Is this good for educators?
- Yes — this version of "Hardy-Weinberg for a mutation rate" is framed for educators teaching it to a class. Drop a live demo into a lecture or assign it as a shareable link — no lab installs.
- Do I need to install anything?
- No. It runs in any modern browser, free, with no account required.