Percentage difference compares two values when neither is the obvious starting point, such as two lab measurements or the prices at two shops. It divides the gap by the average of the two values, so the order doesn’t matter.
% difference = |A − B| ÷ ((|A| + |B|) ÷ 2) × 100
Example: 40 and 60 differ by 20, their average is 50, so the percentage difference is 40%. If one value is a baseline, use percentage change instead.