Coefficient of Inbreeding Calculator

Calculate the inbreeding coefficient (F) for various mating relationships and assess genetic consequences.

Relationship Type

Inbreeding Coefficient

Single Generation (F)
12.5000%
0.125000
After 1 Gen.
12.5000%
0.125000
Half siblings

Genetic Consequences

Heterozygosity Lost12.50%
Heterozygosity Retained87.50%
Est. Inbreeding Depression1.25%
Equivalent Ne4.00

Coefficient of Inbreeding Calculator: Overview

The coefficient of inbreeding calculator computes Wright's inbreeding coefficient, written F, which is the probability that the two alleles an individual carries at a randomly chosen locus are identical by descent — that is, both copies are inherited from the same ancestral gene through both the maternal and paternal lines. This single number captures how much consanguinity, or shared ancestry between an individual's parents, has reduced genetic diversity. It is one of the central quantities in population genetics, conservation breeding, and pedigree analysis.

This tool works in two ways. First, you can pick a common relationship from a menu — self-fertilization, full siblings, parent-offspring, half siblings, uncle-niece, double first cousins, first cousins, or second cousins — and the calculator returns the standard inbreeding coefficient for offspring of that mating. Second, you can switch to custom path calculation mode and supply the number of common ancestors, the inbreeding level of those ancestors, and the two path lengths through the pedigree, letting the calculator apply Wright's path-counting formula directly.

Beyond the raw F value, the coefficient of inbreeding calculator also reports the cumulative inbreeding after several generations of repeated mating, the percentage of heterozygosity lost and retained, an estimate of inbreeding depression, and the equivalent effective population size. Together these outputs translate an abstract probability into the practical genetic consequences that breeders, conservationists, and students most often need to understand.

How the Inbreeding Coefficient Is Calculated

For a known relationship the calculator uses the established inbreeding coefficient for offspring of that pairing. These are not arbitrary numbers: they come from the same path logic applied to canonical pedigrees. Self-fertilization gives F = 0.5, full siblings and parent-offspring give F = 0.25, half siblings, uncle-niece, and double first cousins give F = 0.125, first cousins give F = 0.0625, and second cousins give F = 0.015625.

In custom path calculation mode the tool applies Wright's path-counting method. For each common ancestor you trace the loop from one parent, up to the shared ancestor, and back down to the other parent. If one parent connects to the ancestor through n1 links and the other through n2 links, that ancestor contributes (1/2) raised to the power (n1 + n2 + 1), multiplied by (1 + FA) to account for any inbreeding already present in the ancestor itself. The calculator multiplies this by the number of independent common ancestors that share the same path geometry.

The calculator then models repeated inbreeding across generations. Starting from the single-generation F, it builds up the cumulative coefficient using the recursion Ft = Ft-1 + (1 − Ft-1) × F, where F is the per-generation increment from the chosen mating. From the final cumulative value it derives the heterozygosity lost (equal to F as a percentage), the heterozygosity retained (1 − F), a simple inbreeding-depression estimate of ten percent fitness loss per unit F, and the equivalent effective population size Ne = 1 / (2F).

Wright's Path-Counting Inbreeding Formula

F = Σ [ numAncestors × (1/2)^(n1 + n2 + 1) × (1 + FA) ] and Ne = 1 / (2F)

Where:

  • F= Inbreeding coefficient: probability the two alleles at a locus are identical by descent
  • n1= Number of generational links from the first parent to the common ancestor
  • n2= Number of generational links from the second parent to the common ancestor
  • FA= Inbreeding coefficient of the common ancestor (0 if the ancestor is non-inbred)
  • numAncestors= Number of independent common ancestors sharing the same path geometry
  • Ne= Equivalent effective population size implied by the single-generation F

Interpreting F and Its Genetic Consequences

The headline output of the coefficient of inbreeding calculator is F, shown both as a decimal to six places and as a percentage. An F of 0 means the parents share no recent common ancestor and the offspring is fully outbred at the level being modelled. An F of 0.25, typical of full-sibling or parent-offspring matings, means there is a 25% probability that any given locus is homozygous by descent. The theoretical maximum approached by repeated self-fertilization is F = 1, complete inbreeding.

The heterozygosity lost figure equals F expressed as a percentage, because inbreeding converts heterozygous loci into homozygous ones at exactly that rate. The heterozygosity retained value, 1 − F, tells you what fraction of genetic variation within the individual is preserved. These two numbers always sum to 100% and are the most intuitive way to communicate the genetic cost of a given mating to non-specialists.

The calculator also reports an estimated inbreeding depression, computed as F × 10%, reflecting the common rule of thumb that fitness traits decline by roughly ten percent for each unit increase in F. This is a coarse estimate and the true slope varies by species and trait, but it usefully flags when a mating crosses into a range likely to harm survival, fertility, or vigour. Finally, the equivalent effective population size Ne = 1 / (2F) expresses the same inbreeding pressure in the language of population size: a high F corresponds to a small, genetically depleted breeding pool.

Applications in Breeding and Conservation

The inbreeding coefficient is a working tool across many fields. In animal breeding, kennel clubs, livestock registries, and laboratory animal facilities track F to avoid pairings that would push it dangerously high; a litter from full siblings (F = 0.25) carries far greater risk of recessive disease than one from unrelated parents. In plant breeding, controlled selfing deliberately raises F to fix desirable traits and create inbred lines, which are then crossed to exploit hybrid vigour.

  • Pedigree management: Compare the F of candidate matings before breeding to keep cumulative inbreeding within safe limits.
  • Conservation genetics: Monitor rising F in small or captive populations to detect loss of diversity and schedule outcrossing or genetic rescue.
  • Human genetics and counselling: Estimate the increased risk of autosomal recessive conditions for offspring of consanguineous unions such as first cousins (F = 0.0625).
  • Quantitative genetics: Use F to partition variance and predict inbreeding depression in fitness and yield traits.

By converting a pedigree relationship into a precise probability, the coefficient of inbreeding calculator lets breeders and biologists make informed, quantitative decisions rather than relying on intuition about how "closely related" two individuals are.

Assumptions and Limitations

The path-counting method assumes you have correctly identified every common ancestor shared by the two parents and traced each loop accurately. Missing a shared ancestor, or double-counting one, will under- or over-estimate F. The standard relationship values built into the calculator assume the named relatives are themselves non-inbred and that the only shared ancestry is the one defining that relationship; real pedigrees often contain hidden additional connections that raise the true F.

The repeated-generation buildup uses a simplified recursion that applies the same per-generation increment F at each step, which is a reasonable approximation for a fixed breeding scheme but does not capture changing relationships or selection across generations. The inbreeding-depression estimate of ten percent per unit F is a generic rule of thumb; actual depression depends heavily on the species, the trait, and the population's genetic load, so treat this figure as an indicative flag rather than a precise prediction.

Finally, the equivalent effective population size Ne = 1 / (2F) is an idealised relationship that links a single mating's F to a population concept; in a real population, Ne is shaped by many factors including sex ratio, variance in reproductive success, and fluctuating numbers. Use the coefficient of inbreeding calculator for teaching, pedigree screening, and quick comparative estimates, and complement it with dedicated pedigree software and field data for research-grade conservation or breeding programmes.

Worked Examples

Full-Sibling Mating, One Generation

Problem:

Two full siblings are mated. Find the offspring inbreeding coefficient F and the resulting loss of heterozygosity.

Solution Steps:

  1. 1Select the full-siblings relationship, which gives the standard F = 0.25.
  2. 2Heterozygosity lost equals F as a percentage: 0.25 × 100 = 25%.
  3. 3Heterozygosity retained = (1 − 0.25) × 100 = 75%.
  4. 4Equivalent effective population size Ne = 1 / (2 × 0.25) = 2.

Result:

F = 0.250000 (25%), with 25% of heterozygosity lost, 75% retained, and Ne = 2.

First Cousins via the Custom Path Method

Problem:

Verify the inbreeding coefficient for offspring of first cousins, who share two common grandparents, using the path formula with non-inbred ancestors.

Solution Steps:

  1. 1First cousins share 2 common ancestors (the shared grandparents), so numAncestors = 2.
  2. 2From each parent the path to a shared grandparent is 2 links, so n1 = 2 and n2 = 2 and FA = 0.
  3. 3Each ancestor contributes (1/2)^(2 + 2 + 1) = (1/2)^5 = 1/32 = 0.03125.
  4. 4F = 2 × 0.03125 × (1 + 0) = 0.0625.

Result:

F = 0.062500 (6.25%), matching the standard first-cousin coefficient and leaving 93.75% heterozygosity retained.

Half Siblings Over Two Generations

Problem:

A half-sibling mating (single-generation F = 0.125) is repeated for two consecutive generations. Find the cumulative inbreeding coefficient.

Solution Steps:

  1. 1Generation 1 cumulative F = 0.125.
  2. 2Apply the recursion: F2 = 0.125 + (1 − 0.125) × 0.125 = 0.125 + 0.875 × 0.125.
  3. 30.875 × 0.125 = 0.109375, so F2 = 0.125 + 0.109375 = 0.234375.
  4. 4Heterozygosity retained = (1 − 0.234375) × 100 = 76.5625%.

Result:

Cumulative F after 2 generations = 0.234375 (23.4375%), with about 23.44% of heterozygosity lost.

Custom Path With an Inbred Common Ancestor

Problem:

Two parents share a single common ancestor through paths of length 3 on each side, and that ancestor is itself inbred with FA = 0.25. Find F and the equivalent Ne.

Solution Steps:

  1. 1Set numAncestors = 1, n1 = 3, n2 = 3, and FA = 0.25.
  2. 2Path factor = (1/2)^(3 + 3 + 1) = (1/2)^7 = 1/128 = 0.0078125.
  3. 3F = 1 × 0.0078125 × (1 + 0.25) = 0.0078125 × 1.25 = 0.009765625.
  4. 4Ne = 1 / (2 × 0.009765625) = 1 / 0.01953125 = 51.2.

Result:

F = 0.009766 (about 0.98%), and the equivalent effective population size Ne = 51.2.

Tips & Best Practices

  • Choose a named relationship from the menu for quick standard values, or switch to custom path mode for non-standard pedigrees.
  • In path mode, count generational links carefully: n1 and n2 are the steps from each parent up to the shared common ancestor.
  • Set the ancestor F (FA) above zero only when the common ancestor is itself the product of inbreeding.
  • Remember that heterozygosity lost always equals F as a percentage, and retained heterozygosity is simply 1 minus F.
  • Use the generations input to see how repeated close matings compound inbreeding far beyond a single cross.
  • Treat the inbreeding-depression percentage as an indicative flag, since the true fitness cost varies by species and trait.
  • A small equivalent Ne signals strong inbreeding pressure and a genetically narrow breeding pool.
  • Double-check your pedigree for hidden additional common ancestors, which raise the true F above the simple relationship value.

Frequently Asked Questions

The coefficient of inbreeding, F, is the probability that the two alleles an individual carries at a given locus are identical by descent, meaning both trace back to a single copy in a common ancestor. It ranges from 0 for a fully outbred individual to 1 for complete inbreeding. A higher F means more of the genome is homozygous because of shared ancestry between the parents.
For each common ancestor shared by the two parents, you count the number of generational links on each side of the pedigree loop, n1 and n2. That ancestor contributes (1/2) raised to the power (n1 + n2 + 1), multiplied by (1 + FA) to account for any inbreeding in the ancestor itself. You sum these contributions across all common ancestors, which is exactly what this calculator does in custom path mode.
Offspring of first cousins have an inbreeding coefficient of F = 0.0625, or 6.25%. This arises because first cousins share two common grandparents and each pedigree loop has length five, giving 2 × (1/2)^5 = 0.0625. It means there is roughly a one-in-sixteen chance that any given locus is homozygous by descent, modestly raising the risk of recessive conditions.
When the same close-relative mating scheme is repeated, each generation adds new identity by descent on top of the inbreeding already accumulated. The calculator models this with the recursion F_t = F_t-1 + (1 − F_t-1) × F, so cumulative F climbs toward higher values without ever exceeding one. This is why sustained inbreeding, such as repeated selfing, drives populations toward near-complete homozygosity.
Inbreeding depression is the reduction in fitness traits such as survival, fertility, and vigour that often accompanies higher homozygosity. The calculator uses a simple rule of thumb of about ten percent fitness loss per unit of F, so it reports F × 10% as an indicative estimate. The real magnitude varies widely by species and trait, so treat this number as a warning flag rather than an exact prediction.
The calculator reports an equivalent effective population size using Ne = 1 / (2F) for the single-generation coefficient. This expresses inbreeding pressure in population terms: a large F corresponds to a small, genetically depleted breeding pool, while a small F corresponds to a large, diverse one. It is an idealised link, since real effective population size also depends on sex ratio and variance in reproductive success.

Sources & References

Last updated: 2026-06-05

💡

Help us improve!

How would you rate the Coefficient of Inbreeding 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.