The inbreeding coefficient (COI) is the probability that two alleles are identical by descent. It is calculated using Wright's formula across common ancestors within the selected number of generations.