FST Calculator

Calculate FST (fixation index) to measure genetic differentiation between populations.

Input Data

FST Formula

FST = (Ht - Hs) / Ht

FST (Fixation Index)

0.0909
9.09% differentiation
Moderate - Moderate differentiation

Heterozygosity Values

Ht (Total)0.4950
Hs (Subpopulations)0.4500
Mean Frequency (p-bar)0.4500

Gene Flow Estimate

Nm (Migrants per Gen)2.5000
GST (Nei's)0.0909
D (Jost's)0.1636

Wright's Guidelines

0 - 0.05Little differentiation
0.05 - 0.15Moderate
0.15 - 0.25Great
>0.25Very great

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)

FST = (Ht βˆ’ Hs) / Ht, where Ht = 2Β·pΜ„Β·(1 βˆ’ pΜ„) and Hs = mean of 2Β·pα΅’Β·(1 βˆ’ pα΅’)

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:

  1. 1Mean frequency: pΜ„ = (0.6 + 0.3) / 2 = 0.45
  2. 2Total heterozygosity: Ht = 2 Γ— 0.45 Γ— (1 βˆ’ 0.45) = 0.495
  3. 3Within heterozygosity: Hs = [2Γ—0.6Γ—0.4 + 2Γ—0.3Γ—0.7] / 2 = (0.48 + 0.42) / 2 = 0.45
  4. 4FST = (0.495 βˆ’ 0.45) / 0.495 = 0.045 / 0.495 = 0.0909
  5. 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:

  1. 1Mean frequency: pΜ„ = (0.7 + 0.4 + 0.1) / 3 = 0.4
  2. 2Total heterozygosity: Ht = 2 Γ— 0.4 Γ— (1 βˆ’ 0.4) = 0.48
  3. 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
  4. 4FST = (0.48 βˆ’ 0.36) / 0.48 = 0.12 / 0.48 = 0.25
  5. 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:

  1. 1Apply the formula directly: FST = (Ht βˆ’ Hs) / Ht
  2. 2FST = (0.50 βˆ’ 0.42) / 0.50 = 0.08 / 0.50 = 0.16
  3. 3Convert to a percentage: 0.16 Γ— 100 = 16% differentiation
  4. 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

An FST of 0 means the populations have identical allele frequencies and no genetic differentiation, behaving as a single randomly mating unit. An FST of 1 means the populations are completely differentiated, with each fixed for a different allele and no shared variation. Real populations almost always fall between these extremes.
Under Wright's island model at migration-drift equilibrium, FST β‰ˆ 1 / (4Nm + 1), which the calculator rearranges to Nm = (1/FST βˆ’ 1) / 4. Low FST corresponds to high gene flow and many migrants, while high FST signals isolation. Roughly one migrant per generation is enough to counteract drift, so Nm above 1 typically keeps populations from diverging.
FST is Wright's original fixation index based on the variance in allele frequencies. GST is Nei's generalization to multiple alleles and loci and equals FST in this two-allele model. Jost's D corrects the tendency of FST to be capped when within-population heterozygosity is high, so it can give a more accurate picture of differentiation for highly polymorphic markers like microsatellites.
Use allele-frequency mode when you know the frequency of a single allele in each population; the calculator then derives Ht and Hs for you and also reports GST and Jost's D. Use heterozygosity mode when your software or a published table already gives total (Ht) and mean within-subpopulation (Hs) heterozygosity directly. Both modes use the same FST = (Ht βˆ’ Hs) / Ht formula.
Theoretically FST cannot be negative because it is a standardized variance, but some estimators applied to small samples can return slightly negative values due to sampling error. In practice such negatives are interpreted as effectively zero differentiation. This calculator works from idealized frequencies, so it always returns values between 0 and 1.
In allele-frequency mode the calculator compares two populations by default and lets you add an optional third population with a checkbox. For larger multi-population or multi-locus datasets you would normally use dedicated software, but you can still use heterozygosity mode here by entering the overall Ht and mean Hs your analysis produced.

Sources & References

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.

Source

Formula Source: Standard Mathematical References

by Various

UpdatedLast reviewed: May 2026
CheckedFormula checks are based on standard references and internal QA review.

Privacy choices

MyCalcBuddy uses necessary storage for the site to work. Optional analytics, notifications, and future advertising features stay off unless you allow them.