FST Calculator
Calculate FST (fixation index) to measure genetic differentiation between populations.
Input Data
FST Formula
FST = (Ht - Hs) / Ht
FST (Fixation Index)
Heterozygosity Values
Gene Flow Estimate
Wright's Guidelines
What Is the FST Calculator?
The FST calculator measures genetic differentiation between two or more populations by computing Wright's fixation index (FST), one of the most widely used statistics in population genetics. FST quantifies how much of the total genetic variation in a species is partitioned among populations rather than residing within them. A value near zero means the populations share almost identical allele frequencies and behave as one interbreeding unit, while a value near one means the populations are strongly differentiated, perhaps approaching fixation for different alleles.
This FST calculator accepts data in two convenient forms. In allele-frequency mode you enter the frequency of a single allele in each population (two or three populations), and the tool derives the expected heterozygosities and the fixation index for you. In heterozygosity mode you enter the total heterozygosity (Ht) and the mean within-subpopulation heterozygosity (Hs) directly, which is handy when those values already come from software such as Arlequin, GenAlEx, or a published table. Either way the calculator returns FST, the percentage of differentiation, an estimate of gene flow (Nm), and a plain-language interpretation following Wright's qualitative guidelines.
Because the fixation index is foundational to conservation genetics, phylogeography, evolutionary biology, and human population studies, the FST calculator is useful to students learning Hardy-Weinberg theory, researchers screening microsatellite or SNP panels, and anyone who needs a fast, transparent FST estimate without setting up a full analysis pipeline.
FST Formula and How It Works
The core of every FST calculation in this tool is the heterozygosity-based definition introduced by Sewall Wright and refined by Masatoshi Nei. The fixation index is the relative reduction in heterozygosity caused by population subdivision:
FST = (Ht β Hs) / Ht
Here Ht is the expected heterozygosity of the total (pooled) population and Hs is the average expected heterozygosity within the individual subpopulations. When you work in allele-frequency mode, the calculator first finds the mean allele frequency across populations, pΜ, then builds both heterozygosities from it:
- Mean frequency: pΜ = (pβ + pβ + β¦ + pn) / n
- Total heterozygosity: Ht = 2 Β· pΜ Β· (1 β pΜ)
- Within heterozygosity: Hs = average of 2 Β· pi Β· (1 β pi) across all n populations
Because the within-population heterozygosity Hs is always less than or equal to the total Ht whenever frequencies differ, FST ranges from 0 (no differentiation) to 1 (complete differentiation). The calculator also reports an equivalent variance-based estimate, FST = Var(p) / [pΜ(1 β pΜ)], which gives the identical answer and underscores that FST is fundamentally a standardized variance in allele frequencies among populations.
Fixation Index (FST)
Where:
- FST= Fixation index, the proportion of total genetic variation due to differences among populations (0 to 1)
- Ht= Expected heterozygosity of the total pooled population, 2Β·pΜΒ·(1 β pΜ)
- Hs= Mean expected heterozygosity within subpopulations, the average of 2Β·pα΅’Β·(1 β pα΅’)
- pΜ= Mean allele frequency across the n populations, (pβ + β¦ + pβ)/n
- pα΅’= Allele frequency in the i-th population
- n= Number of populations compared (2 or 3 in this calculator)
Estimating Gene Flow (Nm) From FST
One of the most powerful uses of the FST calculator is indirectly estimating gene flow, the number of migrants exchanged between populations each generation. Under Wright's classic island model of migration-drift equilibrium, the fixation index and the effective number of migrants (Nm) are linked by a simple expression:
FST β 1 / (4Nm + 1), which rearranges to Nm = (1/FST β 1) / 4
The calculator solves this rearranged equation automatically and reports Nm in the "Gene Flow Estimate" panel. The intuition is straightforward: when many migrants move between populations every generation, their allele frequencies are homogenized, FST stays low, and Nm is large. When migration is rare, drift drives the populations apart, FST climbs, and Nm shrinks. As a rule of thumb from the island model, more than one migrant per generation (Nm > 1) is usually enough to prevent populations from diverging by drift alone, whereas Nm below 1 allows substantial differentiation to accumulate.
Keep in mind that the Nm estimate assumes an idealized equilibrium model with symmetric migration, equal population sizes, and selective neutrality. Real systems violate these assumptions, so treat Nm as a comparative index rather than a literal migrant count. Even so, it remains a valuable summary that lets researchers rank populations by their connectivity and flag isolated demes that may need conservation attention.
Interpreting Your FST Value
Raw FST numbers become meaningful when placed against Wright's qualitative benchmarks, which the calculator applies to label every result. These thresholds are the standard reference in textbooks and the primary literature for describing the strength of population structure:
| FST Range | Interpretation | Biological Meaning |
|---|---|---|
| 0 β 0.05 | Little (Low) | Populations are nearly panmictic with high gene flow |
| 0.05 β 0.15 | Moderate | Noticeable structure beginning to emerge |
| 0.15 β 0.25 | Great (High) | Strong differentiation and restricted migration |
| > 0.25 | Very Great (Very High) | Highly isolated populations near fixation differences |
For human populations, global FST across continents typically falls around 0.10 to 0.15, confirming that most human genetic variation lies within rather than between groups. In contrast, isolated island endemics, cave-dwelling species, or fragmented landscapes can produce FST values well above 0.25. The calculator also reports GST (Nei's gene-diversity analogue, numerically equal to FST in this two-allele model) and D (Jost's differentiation), which corrects for the way heterozygosity caps FST when within-population diversity is high.
Applications in Population and Conservation Genetics
The fixation index computed by this FST calculator appears in nearly every subfield that studies how genes are distributed across space. In conservation genetics, FST helps identify distinct management units and evolutionarily significant units, guiding decisions about translocation, captive breeding, and habitat corridors. A high FST between two remnant populations warns that they have diverged enough to warrant separate protection, while a low FST may justify treating them as a single connected unit.
In phylogeography and evolutionary biology, scanning FST across many loci reveals which genomic regions are diverging faster than the neutral background, a hallmark of local adaptation and incipient speciation. So-called FST outlier scans use exactly this logic to detect selection. In human genetics, FST underpins studies of ancestry, admixture, and disease-allele distribution, and it is a routine quality-control metric in genome-wide association studies. Agricultural and fisheries scientists rely on FST to monitor the genetic integrity of breeds, stocks, and wild relatives. Because this online FST calculator returns results instantly from simple allele-frequency or heterozygosity inputs, it is well suited to classroom exercises, exam preparation, and quick checks of values produced by larger analysis programs before committing to a full study.
Worked Examples
Two populations from allele frequencies
Problem:
Population 1 has an allele frequency of 0.6 and Population 2 has 0.3. Compute FST and the gene-flow estimate.
Solution Steps:
- 1Mean frequency: pΜ = (0.6 + 0.3) / 2 = 0.45
- 2Total heterozygosity: Ht = 2 Γ 0.45 Γ (1 β 0.45) = 0.495
- 3Within heterozygosity: Hs = [2Γ0.6Γ0.4 + 2Γ0.3Γ0.7] / 2 = (0.48 + 0.42) / 2 = 0.45
- 4FST = (0.495 β 0.45) / 0.495 = 0.045 / 0.495 = 0.0909
- 5Nm = (1/0.0909 β 1) / 4 = (11 β 1) / 4 = 2.5 migrants per generation
Result:
FST = 0.0909 (β9.09% differentiation, Moderate), with Nm β 2.5 migrants per generation indicating ample gene flow.
Three populations from allele frequencies
Problem:
Three populations show allele frequencies of 0.7, 0.4, and 0.1. Find FST and interpret it.
Solution Steps:
- 1Mean frequency: pΜ = (0.7 + 0.4 + 0.1) / 3 = 0.4
- 2Total heterozygosity: Ht = 2 Γ 0.4 Γ (1 β 0.4) = 0.48
- 3Within heterozygosity: Hs = [2Γ0.7Γ0.3 + 2Γ0.4Γ0.6 + 2Γ0.1Γ0.9] / 3 = (0.42 + 0.48 + 0.18) / 3 = 0.36
- 4FST = (0.48 β 0.36) / 0.48 = 0.12 / 0.48 = 0.25
- 5Nm = (1/0.25 β 1) / 4 = (4 β 1) / 4 = 0.75 migrants per generation
Result:
FST = 0.2500 (25% differentiation, at the High/Very High boundary), with Nm = 0.75 migrants per generation showing restricted gene flow.
Direct heterozygosity input
Problem:
A study reports total heterozygosity Ht = 0.50 and mean subpopulation heterozygosity Hs = 0.42. Calculate FST and Nm.
Solution Steps:
- 1Apply the formula directly: FST = (Ht β Hs) / Ht
- 2FST = (0.50 β 0.42) / 0.50 = 0.08 / 0.50 = 0.16
- 3Convert to a percentage: 0.16 Γ 100 = 16% differentiation
- 4Nm = (1/0.16 β 1) / 4 = (6.25 β 1) / 4 = 5.25 / 4 = 1.3125
Result:
FST = 0.1600 (16% differentiation, High by Wright's guidelines) with Nm β 1.31 migrants per generation.
Tips & Best Practices
- βEnter allele frequencies as decimals between 0 and 1, not as percentages or counts.
- βRemember FST = (Ht β Hs) / Ht, so the result depends only on how much within-population heterozygosity falls short of the total.
- βCompare your FST against Wright's bands: below 0.05 is low, 0.05β0.15 moderate, 0.15β0.25 great, and above 0.25 very great.
- βUse the Nm output as a relative connectivity index, not a literal migrant count, because it assumes an idealized island model.
- βWhen populations have identical frequencies the variance is zero, giving FST = 0 and an effectively infinite Nm.
- βFor highly polymorphic microsatellite data, check Jost's D as well, since FST can be artificially capped when heterozygosity is high.
- βAverage results over many loci for a reliable estimate; single-locus FST is noisy and can be skewed by selection.
- βDouble-check that frequencies refer to the same allele in every population before comparing them.
Frequently Asked Questions
Sources & References
- Fixation index (FST) β Wikipedia (2025)
- Holsinger & Weir, Genetics in geographically structured populations: defining, estimating and interpreting FST (Nature Reviews Genetics) (2009)
- Genetic Variation and Population Structure β Nature Education Scitable (2014)
- Wright, Evolution and the Genetics of Populations, Vol. 4 (Variability Within and Among Natural Populations) (1978)
Last updated: 2026-06-05
Help us improve!
How would you rate the FST Calculator?
Editorial Note
MyCalcBuddy Editorial Team
This page is maintained as an educational calculator reference.
Formula Source: Standard Mathematical References
by Various