Migration Rate Calculator
Calculate migration rates from population counts or allele frequency changes over time.
Calculation Method
Formula
m = migrants / N
Migration Rate
Gene Flow Parameters
Gene Flow Assessment
What Is the Migration Rate Calculator?
The Migration Rate Calculator estimates how strongly gene flow connects two populations in population genetics. Migration, also called gene flow, is the movement of individuals (and the alleles they carry) from one population into another. This calculator quantifies that movement as a migration rate (m), the proportion of a recipient population that is made up of migrants each generation, and it links that rate to classic measures of population structure such as the number of effective migrants (Nm) and the expected fixation index (FST) at migration-drift equilibrium.
The tool offers two complementary methods. The Direct Count mode takes the raw number of migrants arriving per generation and the recipient population size, and returns the migration rate directly. The From Frequencies mode works backward from observed allele frequency change, inferring the migration rate that would shift a local allele frequency from an initial value toward the source population's frequency over a known number of generations. Both methods are grounded in Sewall Wright's island model of migration and are widely used in conservation genetics, evolutionary biology, and dispersal studies. Whether you are a student learning the Wright island model or a researcher screening candidate barriers to gene flow, this migration rate calculator turns counts and frequencies into interpretable gene flow statistics in seconds.
Direct Count Method and Formula
In Direct Count mode the migration rate is simply the fraction of the recipient population that consists of immigrants in a given generation. If you observe a number of migrants arriving and you know the size of the population receiving them, the migration rate m is the ratio of the two. The calculator then derives several downstream gene flow parameters from that rate.
The headline output is Nm, the product of population size and migration rate, which equals the absolute number of migrants per generation in the island model. Nm is the single most important number in this analysis because it governs whether gene flow or genetic drift dominates. The calculator also reports the expected FST at migration-drift equilibrium and an effective migration term m(1 - m) that accounts for the fact that arriving migrants dilute, but do not fully replace, the resident gene pool.
| Output | Definition |
|---|---|
| Migration rate (m) | Migrants divided by population size |
| Nm | Effective number of migrants per generation |
| FST equilibrium | Expected differentiation at migration-drift balance |
Direct Migration Rate and Gene Flow Parameters
Where:
- m= Migration rate (proportion of population that are migrants per generation)
- migrants= Number of migrants entering the population each generation
- N= Recipient population size (assumed equal to effective size Ne)
- Nm= Effective number of migrants per generation
- F_ST= Fixation index expected at migration-drift equilibrium
Estimating Migration from Allele Frequency Change
When you cannot count migrants directly, you can still infer the migration rate from how a local allele frequency drifts toward the frequency of a source population. Under the island model, each generation the local frequency moves a fraction m of the way toward the source frequency. After t generations the local frequency approaches the source frequency geometrically, and the calculator solves that geometric relationship for m.
The recursion is p′ = (1 - m)p + m×pM, where p is the current local frequency and pM is the source population frequency. Iterating this expression for t generations gives (1 - m)t = (p1 - pM) / (p0 - pM), which the calculator rearranges to recover the per-generation migration rate. The equilibrium frequency that this process converges on is simply the source frequency pM: as long as migration continues, the recipient population is eventually homogenized toward its source. The tool also reports a predicted final frequency by replaying the recursion, which should match your observed final frequency when the model fits.
Migration Rate from Frequency Change
Where:
- p0= Initial local allele frequency
- p1= Final (observed) local allele frequency
- pM= Allele frequency in the source (migrant) population
- t= Number of generations between p0 and p1
- m= Estimated migration rate per generation
Interpreting Nm and the One-Migrant Rule
The quantity Nm deserves special attention because it captures the tug-of-war between gene flow and genetic drift. A famous result from Sewall Wright, often called the one-migrant-per-generation rule, states that an Nm greater than one is usually enough to prevent populations from differentiating by drift alone. The migration rate calculator flags each result as High Gene Flow when Nm exceeds one and Low Gene Flow when it falls below one.
- Nm > 1: gene flow is strong enough to swamp drift, so populations remain genetically connected and FST stays low.
- Nm ≈ 1: migration and drift are roughly balanced, producing moderate differentiation.
- Nm < 1: drift dominates, allowing local populations to diverge and FST to climb.
It is important to remember that the one-migrant rule assumes an idealized island model with constant population sizes, selectively neutral alleles, and migration-drift equilibrium. Real systems deviate from these assumptions, so Nm should be read as a rough threshold rather than a hard cutoff. Even so, computing Nm with this calculator gives conservation biologists a fast, defensible way to gauge connectivity between habitat patches and to prioritize corridors that keep small populations from sliding into isolation.
Applications in Conservation and Evolution
Migration rate estimates underpin a wide range of biological questions. In conservation genetics, managers use gene flow estimates to decide whether fragmented populations are functioning as one connected unit or are drifting apart toward inbreeding and local extinction. A low migration rate between forest fragments, for example, can justify building wildlife corridors or undertaking assisted gene flow. In evolutionary biology, migration counteracts local adaptation: high gene flow can erode the genetic differences that natural selection builds between environments, while low gene flow lets populations specialize.
The frequency-based method is especially useful when working with historical or museum samples, where you have allele frequencies at two time points but no direct count of dispersers. The direct-count method suits field studies that mark and recapture individuals, count seeds or larvae arriving from upstream, or estimate immigrant numbers from telemetry. Both feed into the same downstream statistics, letting you compare gene flow across taxa with very different life histories. Population geneticists also pair these migration estimates with related tools, computing FST from sequence data, modeling effective population size, and projecting genetic drift, to build a complete picture of how dispersal, drift, and selection shape biodiversity over time.
Assumptions and Limitations
Every output from this migration rate calculator rests on the assumptions of Wright's island model, and understanding those assumptions keeps your interpretation honest. The model assumes migration is symmetric and constant across generations, that the receiving population has a stable size, and that the alleles being tracked are selectively neutral. It also treats the census population size N as equal to the effective population size Ne, which is a simplification: real effective sizes are usually smaller than census counts because of unequal sex ratios, variance in reproductive success, and fluctuating population sizes.
The FST output is the value expected at equilibrium, not necessarily the value you would measure today; populations recovering from a recent bottleneck or a sudden change in connectivity may not have reached that balance yet. In frequency mode, the estimate also assumes the source frequency pM is fixed and that drift and selection are negligible relative to migration over the interval studied. When the observed frequency overshoots the source frequency, or when initial and source frequencies are equal, the equation has no valid solution and the calculator returns no result. Treat the numbers as a transparent, model-based first approximation, and validate important conclusions with multilocus data and formal coalescent or Bayesian gene flow estimators.
Worked Examples
Direct count with strong gene flow
Problem:
A pond receives 50 migrant frogs each generation into a resident population of 1,000. What is the migration rate and how strong is gene flow?
Solution Steps:
- 1Apply the direct formula: m = migrants / N = 50 / 1000 = 0.050000.
- 2Convert to a percentage: 0.05 × 100 = 5.0000%.
- 3Compute effective migrants: Nm = N × m = 1000 × 0.05 = 50.00.
- 4Compute equilibrium F_ST = 1 / (4 × 1000 × 0.05 + 1) = 1 / 201 = 0.0050.
Result:
m = 0.050000 (5.0000%), Nm = 50.00, F_ST = 0.0050. Because Nm is far greater than 1, this is High Gene Flow that prevents differentiation.
Direct count at the one-migrant threshold
Problem:
Only 1 migrant arrives per generation into a large population of 5,000. Does gene flow still hold the population together?
Solution Steps:
- 1Compute m = migrants / N = 1 / 5000 = 0.000200 (0.0200%).
- 2Compute Nm = N × m = 5000 × 0.0002 = 1.00, exactly the one-migrant-per-generation threshold.
- 3Compute F_ST = 1 / (4 × 5000 × 0.0002 + 1) = 1 / (4 + 1) = 0.2000.
- 4Compare Nm to 1: it equals 1, so gene flow only just balances drift.
Result:
m = 0.000200, Nm = 1.00, F_ST = 0.2000. At the one-migrant boundary, expected differentiation is already substantial.
Estimating migration from frequency change
Problem:
A local allele frequency rises from 0.2 to 0.3 over 10 generations while the source population sits at 0.8. What is the implied migration rate?
Solution Steps:
- 1Form the ratio (p1 - pM) / (p0 - pM) = (0.3 - 0.8) / (0.2 - 0.8) = (-0.5) / (-0.6) = 0.833333.
- 2Take the t-th root: 0.833333^(1/10) = 0.981933.
- 3Solve for m: m = 1 - 0.981933 = 0.018067 (1.8067%).
- 4Replay the recursion p' = (1 - m)p + m×pM for 10 generations to confirm the predicted final frequency is 0.3000, matching the observed value.
Result:
m = 0.018067 (1.8067%). About 1.8% of the population is replaced by migrants each generation, steadily pulling the local frequency toward the source value of 0.8.
Single-generation frequency estimate
Problem:
Over one generation a local frequency moves from 0.1 to 0.2 while the source frequency is 0.6. What migration rate explains this jump?
Solution Steps:
- 1With t = 1 the equation reduces to m = (p1 - p0) / (pM - p0).
- 2Substitute: m = (0.2 - 0.1) / (0.6 - 0.1) = 0.1 / 0.5 = 0.200000.
- 3Convert to a percentage: 0.2 × 100 = 20.0000%.
- 4Check direction: the frequency moved toward the higher source value, confirming positive gene flow.
Result:
m = 0.200000 (20.0000%). A single generation of heavy migration shifted the local frequency one-fifth of the way toward the source.
Tips & Best Practices
- ✓Compute Nm rather than reading m alone, since Nm tells you whether gene flow or drift dominates.
- ✓Treat Nm = 1 as a rough threshold from Wright's one-migrant rule, not an exact biological cutoff.
- ✓In frequency mode, make sure the initial and source frequencies differ, or the equation cannot be solved.
- ✓Check that the predicted final frequency matches your observed final frequency to confirm the model fits.
- ✓Remember the calculator sets effective size Ne equal to census size N, which can overstate gene flow in small populations.
- ✓Use neutral markers when estimating migration from frequencies so selection does not bias the rate.
- ✓Validate important conservation decisions with multilocus data and coalescent or Bayesian methods, not a single estimate.
- ✓Average several loci or time points to reduce sampling noise before interpreting the migration rate.
Frequently Asked Questions
Sources & References
Last updated: 2026-06-05
Help us improve!
How would you rate the Migration Rate Calculator?
Editorial Note
MyCalcBuddy Editorial Team
This page is maintained as an educational calculator reference.
Formula Source: Standard Mathematical References
by Various