Coefficient of Inbreeding Calculator
Calculate the inbreeding coefficient (F) for various mating relationships and assess genetic consequences.
Relationship Type
Inbreeding Coefficient
Genetic Consequences
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
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:
- 1Select the full-siblings relationship, which gives the standard F = 0.25.
- 2Heterozygosity lost equals F as a percentage: 0.25 × 100 = 25%.
- 3Heterozygosity retained = (1 − 0.25) × 100 = 75%.
- 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:
- 1First cousins share 2 common ancestors (the shared grandparents), so numAncestors = 2.
- 2From each parent the path to a shared grandparent is 2 links, so n1 = 2 and n2 = 2 and FA = 0.
- 3Each ancestor contributes (1/2)^(2 + 2 + 1) = (1/2)^5 = 1/32 = 0.03125.
- 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:
- 1Generation 1 cumulative F = 0.125.
- 2Apply the recursion: F2 = 0.125 + (1 − 0.125) × 0.125 = 0.125 + 0.875 × 0.125.
- 30.875 × 0.125 = 0.109375, so F2 = 0.125 + 0.109375 = 0.234375.
- 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:
- 1Set numAncestors = 1, n1 = 3, n2 = 3, and FA = 0.25.
- 2Path factor = (1/2)^(3 + 3 + 1) = (1/2)^7 = 1/128 = 0.0078125.
- 3F = 1 × 0.0078125 × (1 + 0.25) = 0.0078125 × 1.25 = 0.009765625.
- 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
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.
Formula Source: Standard Mathematical References
by Various