Interactive tool

Genetic Drift Simulation

Genetic drift is evolution by accident: in a finite population, random sampling of gametes each generation makes allele frequencies bounce around, and small populations can lose alleles entirely by chance. The simulation runs this random process so you can watch allele frequencies wander, sometimes to fixation (frequency 1) or loss (frequency 0). Compare small versus large populations to see why drift hits endangered species and founder populations hardest while barely nudging huge ones.

Genetic Drift Simulator

Random sampling alone changes allele frequencies — no selection involved.

-0.060.160.390.610.841.10.0012.024.036.048.060.0GenerationAllele frequency p
Replicate 1Replicate 2 (dashed)Replicate 3Replicate 4 (dashed)Replicate 5
Fixed (p = 1): 1Lost (p = 0): 3Still segregating: 1
What to notice

Shrink N to 5–10 and drift dominates: alleles fix or vanish within a few dozen generations purely by chance. Raise N to 200 and frequencies barely move — drift is weak in large populations. Every replicate starts identically yet ends differently: that randomness is genetic drift.

The model (simplified educational model)

Wright–Fisher ideal population: discrete generations, random mating, constant size N, no selection, mutation or migration. Each generation's 2N alleles are a binomial sample of the previous generation's gene pool. Real populations add all the complications this model leaves out.

How to use it

  1. Choose a starting allele frequency and a population size.

  2. Run the simulation and watch the allele-frequency trajectory across generations.

  3. Run it again with the same settings and notice the outcome differs - that randomness IS drift.

  4. Compare a small population with a large one to see which drifts faster toward fixation or loss.

What you will learn

  • Define genetic drift and explain its cause.
  • Explain why drift is stronger in small populations.
  • Interpret replicate runs to distinguish random from directional change.
  • Give real examples where drift matters: bottlenecks and founder effects.