# Coefficient of inbreeding

The coefficient of inbreeding (COI) is a number measuring how inbred an individual is. Specifically, it is the probability that two alleles at any locus in an individual are identical by descent from a common ancestor of the two parents. A higher COI will make the traits of the offspring more predictable, but also increases the risk of health issues. In dog breeding, it is recommended to keep the COI less than 5%; however, in some breeds this may not be possible without outcrossing.

## Calculation

An individual is said to be inbred if there is a loop in its pedigree chart. A loop is defined as a path that runs from an individual up to the common ancestor through one parent and back down to the other parent, without going through any individual twice. The number of loops is always the number of common ancestors the parents have. If an individual is inbred, the coefficient of inbreeding is calculated by summing all the probabilities that an individual receives the same allele from its father's side and mother's side. As every individual has a 50% chance of passing on an allele to the next generation, the formula depends on 0.5 raised to the power of however many generations separate the individual from the common ancestor of its parents, on both the father's side and mother's side. This number of generations can be calculated by counting how many individuals lie in the loop defined earlier. Thus, the coefficient of inbreeding f of an individual X can be calculated with the following formula:
$f_{X}=\sum _{n}0.5^{n-1}\cdot (1+f_{A})$ where $n$ is the number of individuals in the aforementioned loop, and $f_{A}$ is the coefficient of inbreeding of the common ancestor of X's parents.
To give an example, consider the following pedigree.
In this pedigree chart, G is the progeny of C and F, and C is the biological uncle of F. To find the coefficient of inbreeding of G, first locate a loop that leads from G to the common ancestor through one parent and back down to the other parent without going through the same individual twice. There are only two such loops in this chart, as there are only 2 common ancestors of C and F. The loops are G – C – A – D – F and G – C – B – D – F, both of which have 5 members.
Because the common ancestors of the parents (A and B) are not inbred themselves, $f_{A}=0$. Therefore the coefficient of inbreeding of individual G is $f_{G}=(0.5^{4}+0.5^{4})\cdot (1+0)=12.5\%$.
If the parents of an individual are not inbred themselves, the coefficient of inbreeding of the individual is one-half the coefficient of relationship between the parents. This can be verified in the previous example, as 12.5% is one-half of 25%, the coefficient of relationship between an uncle and a niece.

## Table of coefficients of inbreeding

Coefficients of inbreeding for repeated generations of sibling mating :
| Generations | Coefficient of inbreeding (f) |
| 1 | 25% |
| 2 | 37.5% |
| 3 | 50% |
| 4 | 59.375% |
| 5 | 67.1875% |
| 6 | 73.4375% |
| 7 | 78.5156% |
| 8 | 82.6172% |
| 9 | 85.9375% |
| 10 | 88.623% |
| 11 | 90.7959% |
| 12 | 92.5537% |
| 13 | 93.9758% |
| 14 | 95.1263% |
| 15 | 96.0571% |
| 16 | 96.8102% |
| 17 | 97.4194% |
| 18 | 97.9122% |
| 19 | 98.3109% |
| 20 | 98.6335% |
^A At this point the individuals are considered to be part of an inbred strain, and each individual can effectively be considered to be clones.