Understand the method
For positive values, calculate the absolute difference, divide it by the average of the two values, then multiply by 100. For 40 and 50, the difference is 10 and the average is 45. Therefore 10 ÷ 45 × 100 is approximately 22.22%. Swapping the two inputs does not change the result, which is why this measure is symmetric.