Difference Calculator
Calculate absolute difference and percentage difference between two values instantly. Perfect for comparing prices, scores, measurements, analytics, or performance metrics.
Calculate absolute difference and percentage difference between two values instantly. Perfect for comparing prices, scores, measurements, analytics, or performance metrics.
The Difference Calculator computes both the absolute difference and the percentage difference between two numbers. Use it to compare prices, measurements, scores, or any two values and understand both the raw gap and the relative variation.
Absolute Difference = |Value₂ − Value₁| Percentage Difference = (|Value₂ − Value₁| ÷ ((Value₁ + Value₂) ÷ 2)) × 100
The percentage difference formula uses the average of both values as the denominator — making it symmetric (the result is the same regardless of which value is entered first).
These are closely related but serve different purposes:
Example: comparing 100 and 120 gives a percentage difference of 18.18% but a percentage change of 20%.
For related math tools, see the Percentage Calculator to find what percent one value is of another, or the Average Calculator to find the mean across a data set.
Subtract one value from the other. The absolute difference always gives a positive result: |Value₂ − Value₁|. For example, |120 − 100| = 20, and |100 − 120| = 20 — order doesn't matter.
Percentage Difference = (|Value₂ − Value₁| ÷ ((Value₁ + Value₂) ÷ 2)) × 100. This uses the average of both values as the denominator, so the result is symmetric regardless of which value comes first.
Percentage difference is symmetric — it uses the average of both values and doesn't assume one is the 'original.' Percentage change is directional — it divides by the original (old) value to measure growth or decline. For 100 vs 120: percentage change = 20%, but percentage difference = 18.18%.
Yes. If two values are far apart relative to their average, percentage difference can exceed 100%. For example, −50 and 50 produce a percentage difference of 200%.
Use absolute difference when the raw unit matters (e.g., '$20 cheaper'). Use percentage difference when comparing values of different magnitudes, or when you want a unit-free relative comparison (e.g., '18% different').
If both values are 0, the denominator becomes 0 and percentage difference is undefined. The calculator handles this gracefully without crashing.
Yes. Negative values and decimals are fully supported. The absolute value in the formula ensures the result is always positive regardless of sign.