← Biology

Ecology & evolution Population genetics

Genetic drift simulator (Wright–Fisher)

Simulate genetic drift with the Wright–Fisher model. From N, initial p0, generations, and replicates, visualize trajectories, final distributions, and fixation/loss rates.

All calculations run in your browser. Your data is not sent.

Other languages ja | en

How to use (3 steps)

  1. Select an example or enter N, p0, generations, and replicates.
  2. If needed, add selection/mutation/migration in Advanced (you can keep defaults).
  3. Click Run to see trajectories, distributions, and fixation/loss rates.

Inputs (N, p0, replicates)

2N = —(gene copies)

Compute load:

Advanced (selection, mutation, migration)

You can ignore details at first. Start with neutral drift to understand the dynamics.

Results (fixation/loss & distribution)

An example runs automatically. Change inputs and click Run to try other settings.

Visualization (trajectories & distributions)

Export (copy / CSV / JSON / share URL)

How it’s calculated

This is a model. Real populations are more complex, so use results as a guide.

FAQ

Is fixation probability always p0?

For neutral drift, p0 is a common guide, but selection changes it. You can check simulation results here as well.

Is N the number of individuals?

Here, N is the number of diploid individuals, and allele copies are treated as 2N (displayed).

How many replicates do I need?

It depends, but more replicates stabilize fixation/loss rates. Reduce replicates if it is heavy.

Are advanced options required?

No. Start with neutral drift to understand the dynamics.

Are my inputs sent anywhere?

All calculations run in your browser. Your data is not sent.

Related tools

Comments (optional)

To reduce load, comments are fetched only when needed.