The formula for kappa is: κ = (Po - Pe) / (1 - Pe) Where: - Po is the observed agreement between raters. - Pe is the expected agreement by chance. The value of kappa ranges from -1 to 1. A value of 1 indicates perfect agreement, 0 indicates no agreement beyond chance, and negative values suggest disagreement.