Fst, Wright’s fixation index, measures how much the genetic variation of a species is split between its populations. If two groups share the same allele frequencies, Fst is 0. If one group carries only one allele and the other group only the other one, Fst is 1. This calculator gives Fst for a two-allele locus in two populations, together with the heterozygosity values it comes from and the number of migrants per generation that would produce such a value.
How the calculation works
- Mean allele frequency p̄ = w₁p₁ + w₂p₂, with weights w from the population sizes
- Total heterozygosity H_T = 2 p̄ (1 − p̄)
- Within-population heterozygosity H_S = w₁ × 2p₁(1 − p₁) + w₂ × 2p₂(1 − p₂)
- Fst = (H_T − H_S) ÷ H_T
- Gene flow Nm ≈ (1 ÷ Fst − 1) ÷ 4
Example
Two populations of equal size have the allele at frequencies 0.7 and 0.3. The mean frequency is 0.500, the total heterozygosity is 0.500 and the average within populations is 0.420. Therefore Fst is 0.160: 16.0 % of the variation is found between the populations. In Wright’s island model, this corresponds to about 1.31 migrants exchanged per generation.
Why it matters
Fst is a standard way to measure population structure, in conservation (is a species one population or several?), in human genetics and in breeding. A high value suggests isolation, local adaptation or drift. Low values suggest that gene flow keeps the populations similar. Wright’s rule of thumb is that Nm above 1 migrant per generation is enough to prevent strong differentiation by drift.
Good to know
This version uses one locus with two alleles. Real studies average Fst over many loci and use estimators that correct for small samples, such as Weir and Cockerham’s. Fst depends on the allele frequencies, so it is limited at loci with high diversity, like microsatellites. The island model assumes equal migration, constant sizes and no selection or mutation, so the Nm estimate is a rough guide. Interpret the thresholds of 0.05, 0.15 and 0.25 as conventions and not as sharp limits.
In practice
Use the tool to build intuition: set both frequencies equal to see Fst drop to zero, then separate them. Compare with data from many loci in a population genetics package before drawing conclusions.