Percentage difference

Percentage difference: use first value, second value. Review the formula, worked example and calculation steps.

Inputs

Use the units shown
RESULT
—

Enter your values and select Calculate.

Formula & explanation
Difference = |a−b| / [(a+b)/2] × 100

Variables & units

First value
Numeric value · minimum 0, maximum 1000000000000
Second value
Numeric value · minimum 0, maximum 1000000000000

Worked example

80 and 100 differ by approximately 22.2222% of their average.

Assumptions

Symmetric comparison of nonnegative values; both zero is defined here as zero difference. This is not directional percentage change.

Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.

Practice with an example

Use the default input values to find the answer. The reset icon restores those values.

Calculated on your device. Your latest 100 calculations stay in this browser.