The coefficient of relationship r between two people B and C is obtained by a summation of coefficients calculated for every line by which they are connected to their
common ancestors. Each such line connects the two people via a common ancestor, passing through no person who is not a common ancestor more than once. A path coefficient between an ancestor A and an offspring O separated by n generations is given as: :p_{AO} = 2^{-n} \cdot \sqrt{\frac{1 + f_A}{1 + f_O}} where f_A and f_O are the
coefficients of inbreeding for A and O, respectively. The coefficient of relationship r_{BC} is now obtained by summing over all path coefficients: :r_{BC} = \sum p_{AB} \cdot p_{AC} By assuming that the pedigree can be traced back to a sufficiently remote population of perfectly random-bred stock (
fA = 0 for all
A in the sum) the definition of
r may be simplified to :r_{BC} = \sum_p 2^{-L(p)} where
p enumerates all paths connecting B and C with unique common ancestors (i.e. all paths terminate at a common ancestor and may not pass through a common ancestor to a common ancestor's ancestor), and
L(
p) is the length of the path
p. To give an (artificial) example: Assuming that two people share the same 32 ancestors of
n = 5 generations ago, but do not have any common ancestors at four or fewer generations ago, their coefficient of relationship would be :r = 2^n \cdot 2^{-2n} = 2^{-n}, which for
n = 5, is, 2^{-5} = \frac{1}{32}, equal to 0.03125 or approximately 3%. People for which the same situation applies for their 1024 ancestors of ten generations ago would have a coefficient of
r = 2−10 = 0.1%. If follows that the value of
r can be given to an accuracy of a few percent if the family tree of both people is known for a depth of five generations, and to an accuracy of a tenth of a percent if the known depth is at least ten generations. The contribution to
r from common ancestors of 20 generations ago (corresponding to roughly 500 years in human genealogy, or the contribution from common descent from a
medieval population) falls below one
part-per-million. ==Human relationships==