Skip to content
Omnikalc

Genetic drift calculator: how fast does a small population lose genetic variation?

Enter the effective population size, generations and starting values to get the heterozygosity after drift, the spread of the allele frequency and the chance of fixation.

Updated on
Your inputs

Value out of range

Value out of range

Value out of range

Value out of range

Results

Heterozygosity after t generations

0.3892

Heterozygosity lost (%)
22.2 %
Standard deviation of the allele frequency after t generations
0.2158
Fixation probability of a new neutral mutation
0.00500
Expected generations to fixation of a neutral allele that fixes
400

Genetic drift is the random loss of genetic variation, and it is strongest in small populations. The genetic drift calculator takes the effective population size, the number of generations, the initial heterozygosity and the initial allele frequency, and gives the heterozygosity after drift, the share lost, the spread of the allele frequency, the fixation probability of a new neutral mutation and the expected time to fixation.

How the calculation works

  • In a population of effective size Ne, random sampling of gametes each generation makes allele frequencies drift. Heterozygosity falls by a factor (1 − 1 ÷ (2 × Ne)) per generation.
  • After t generations, Ht = H0 × (1 − 1 ÷ (2 × Ne))^t. The share lost is 1 minus that factor.
  • The variance of the allele frequency after t generations is about p0 × (1 − p0) × (1 − (1 − 1 ÷ (2 × Ne))^t), and the standard deviation is its square root.
  • A new neutral mutation has a chance of 1 ÷ (2 × Ne) of becoming fixed, and an allele that does fix takes about 4 × Ne generations on average.

Example

A population has Ne = 100, an initial heterozygosity of 0.5 and an allele at frequency 0.3. After 50 generations, the factor is 0.995^50 = 0.778. Heterozygosity falls to 0.389, a loss of 22.2 %, and the standard deviation of the allele frequency is 0.216. A new neutral mutation has a 0.5 % chance of fixing, and it would take about 400 generations.

Why it matters

Conservation biologists use these formulas to judge how fast a small population loses variation, and students meet them in every population genetics course. They show why population size matters for long-term survival.

Good to know

The formulas assume an ideal population with random mating, constant size, no selection, no mutation and no migration. Real populations depart from these assumptions. The variance formula is an approximation that works best while the allele frequency is far from 0 or 1.

The Hardy-Weinberg calculator gives genotype frequencies in an ideal population, and the mutation rate calculator estimates mutation frequency.

Frequently asked questions

What is genetic drift?

Genetic drift is the random change of allele frequencies from one generation to the next, because the individuals that reproduce are a random sample of the population. It does not depend on fitness. Its effects are strongest in small populations and can lead to the loss or fixation of alleles.

What is the effective population size?

It is the size of an ideal population that would show the same drift as the real one. It is usually smaller than the head count, because of unequal numbers of breeding males and females, variation in family size and changes in population size over time.

Why does heterozygosity decline?

In each generation some alleles are lost by chance, and the population drifts toward carrying only one allele at each gene. The loss per generation is about 1 ÷ (2 × Ne), so it is slow in large populations and rapid in small ones. This is a concern in the conservation of endangered species.

How likely is a new mutation to fix?

A new neutral mutation starts as a single copy among 2 × Ne copies, so its chance of eventually becoming fixed is 1 ÷ (2 × Ne). Most new neutral mutations are lost within a few generations, and the few that fix take a long time to spread.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.