Coefficient of Relatedness & Inbreeding Calculator

Compute Wright's coefficient of relatedness (r) and the offspring inbreeding coefficient (F) for common pedigree relationships. Flags matings that cross the first-cousin threshold (F > 0.0625).

Mouse Colony ManagementPedigree & GeneticsClient-Side
Tool details, related tools, and citation

Try it out

Load example coefficient of relatedness calculator data to see the full workflow

Pedigree Relationship

Standard pairwise relationships. For complex pedigrees with multiple shared ancestors, sum the r values from each independent path.

Default 0 for outbred founders. Scales r by (1 + fA).

Result

Recommendation
Below the first-cousin threshold — acceptable for outbred stocks.
Coefficient of relatedness (r)
0.1250
First cousins
Offspring inbreeding (F)
0.0625
Threshold: 0.0625
Status
Below threshold

Two paths of length 4 (X → parent → grandparent → parent → Y), each (0.5)^4 = 0.0625, summing to 0.125.

Standard Relationship Reference

RelationshiprF (offspring)Above 0.0625?
Parent ↔ offspring0.50000.2500Yes
Full siblings (same dam & sire)0.50000.2500Yes
Half siblings (one shared parent)0.25000.1250Yes
Uncle / aunt ↔ niece / nephew0.25000.1250Yes
Double first cousins (both parents are siblings)0.25000.1250Yes
First cousins0.12500.0625No
First cousins once removed0.06250.0313No
Second cousins0.03130.0156No
Unrelated (independent founders)0.00000.0000No
  • Deciding whether a proposed breeding pair will cross the first-cousin inbreeding threshold
  • Documenting IACUC or protocol submissions that require the F of planned matings
  • Teaching trainees the relationship between pedigree and genetic similarity
  • Justifying outcrossing decisions on long-running transgenic lines
  • Computing the expected r for sibling transplant donors in genetic rescue studies

Don't use for

  • For commercial inbred strains (C57BL/6J, BALB/c, 129S, etc.) — they operate at F ≈ 1 by design
  • For complex multi-path pedigrees without decomposing into standard components first
  • For non-mouse species with different ploidy or mating systems

What r and F actually mean

Coefficient of relatedness (r)

r is the probability that, at a random locus, two individuals share an allele *by descent* — that is, inherited from the same ancestral copy, not just the same sequence. Two completely unrelated mice might share a lot of allele sequences by chance (they are both mice!), but r counts only the shared-by-descent fraction. r = 0.5 means 50% of loci are identical by descent; r = 0.125 means 12.5% (first cousins).

Inbreeding coefficient (F)

F is the probability that, at a random locus, an individual is *homozygous by descent* — that both of its alleles trace back to the same ancestral copy in its pedigree. For the offspring of two parents with relatedness r, F_offspring = r / 2. That is why full-sib mating (r = 0.5) gives F = 0.25: a quarter of the offspring's genome is homozygous by descent.

Why it matters in the colony

Inbreeding depression — reduced litter size, smaller pups, lower fertility — starts to become detectable around F \approx 0.0625 in outbred stocks and gets progressively worse as F climbs. The NIH Guide for the Care and Use of Laboratory Animals treats the first-cousin threshold (F = 0.0625) as the practical boundary. Maintained inbred strains operate well above this by design and use the homozygosity as the whole point of the strain.

Wright's path coefficient method

The formula

For a pairwise relatedness between X and Y traced through a single common ancestor A:

r(X, Y) = (0.5)^L ×\times (1 + f_A)

where L is the number of links (generation steps) in the path X → A → Y, and f_A is the inbreeding coefficient of the ancestor itself.

Walking the path

Full sibs share *two* common ancestors — both the dam and the sire. Each path is length 2 (X ← parent → Y), contributing (0.5)^2 = 0.25. Two paths sum to 0.5.

First cousins share one pair of grandparents. Each path is length 4 (X ← parent ← grandparent → parent → Y), contributing (0.5)^4 = 0.0625. Two paths (one through each grandparent) sum to 0.125.

The (1 + f_A) correction

If the common ancestor is itself inbred, the two alleles passed down the two sides of the pedigree are more likely to already be identical. This inflates r by a factor of (1 + f_A). For non-inbred founders, f_A = 0 and the correction vanishes — the standard textbook values assume this.

Frequently Asked Questions