Percentage Difference Calculator: How to Compare Numbers
ByMuhammad Ali•Founder of KruskalCode
15:45
7 min read

Understanding how to compare numbers is a fundamental skill in mathematics, science, and everyday life. While you might be familiar with percentage increase or decrease, the 'percentage difference' offers a unique way to compare two values symmetrically. It's perfect for when you want to see the relative variation between any two numbers without designating one as the 'original' or 'base' value.
Explanation
The percentage difference measures the difference between two values relative to their average. Unlike percentage change, which uses one of the values as a reference point, percentage difference treats both values equally. This makes it particularly useful in situations where you're comparing two measurements, observations, or data points that don't have a clear 'before' and 'after' relationship. For example, comparing the heights of two mountains or the prices of two similar products. The result tells you how much the two numbers vary from each other as a percentage of their combined average.
Formula
The formula for calculating the percentage difference is straightforward: Percentage Difference = (|Value 1 - Value 2| / ((Value 1 + Value 2) / 2)) × 100% Let's break it down: 1. **Absolute Difference:** Find the absolute difference between the two values (Value 1 and Value 2). This ensures the result is always positive, as the order of comparison doesn't matter. 2. **Average:** Calculate the average of the two values by adding them together and dividing by two. 3. **Divide and Multiply:** Divide the absolute difference by the average, then multiply the result by 100 to express it as a percentage.
Example
Let's say you're comparing the cost of two different brands of coffee. Brand A costs £8.50, and Brand B costs £9.20. To find the percentage difference: Value 1 = 8.50 Value 2 = 9.20 Absolute Difference = |8.50 - 9.20| = |-0.70| = 0.70 Average = (8.50 + 9.20) / 2 = 17.70 / 2 = 8.85 Percentage Difference = (0.70 / 8.85) × 100% ≈ 7.91% So, the two coffee brands differ in price by approximately 7.91%.
How to use the related calculator
Using our Percentage Difference Calculator is simple. Just enter your 'First Value' and 'Second Value' into the respective input fields. The calculator will instantly display the absolute difference, the average of your values, and the final percentage difference. It handles all the calculations for you, making it easy to compare any two numbers quickly and accurately.
Try the related calculator
Open toolFAQ
What is percentage difference?
Percentage difference is a way to express the relative difference between two numbers as a percentage. It's calculated by dividing the absolute difference between the two values by their average, then multiplying by 100.
How is percentage difference different from percentage change?
Percentage change (or percentage increase/decrease) usually compares a 'new' value to an 'old' value, using the 'old' value as the base. Percentage difference, however, compares two values symmetrically, using their average as the base, making it suitable for comparing any two values without designating one as 'original'.
When should I use the percentage difference calculator?
Use this calculator when you want to compare two values and see their relative variation, especially when neither value is clearly a 'start' or 'end' point. It's common in scientific experiments, data analysis, and comparing two similar measurements.
Related articles

About the author
Muhammad Ali. Muhammad Ali is a full-stack developer and founder of KruskalCode. He builds SaaS platforms and automation systems with React and Laravel, and helps teams ship fast, scalable tools.
Need a custom calculator, dashboard, or automation workflow? Reach out to KruskalCode.