Percentage Difference Calculator
Type two numbers to get their percentage difference, absolute gap and average, plus the percent change for comparison. Order does not matter: swapping the values gives the same answer. Free, private and instant.
The Percentage Difference Calculator is a free, browser-based tool that measures how far apart two numbers are relative to their average, also called relative percent difference (RPD). Enter any two values and it shows the percentage difference, the absolute gap, the average and the step-by-step working, with nothing sent to a server. Updated 2026-11-10.
How Percent Difference Works
Percent difference measures how far apart two values are relative to their average. Unlike percentage increase or decrease (which has a clear "before" and "after"), percent difference treats both values symmetrically. It answers the question: "How different are these two numbers?" without assuming one is the starting point.
This is commonly used in science (comparing experimental results), business (comparing two products, stores, or periods), sports (comparing athletes), and quality control (comparing measurements).
Percent Difference Formula
Percent Difference = (|Value 1 − Value 2| / ((Value 1 + Value 2) / 2)) × 100
Where:
- |Value 1 − Value 2| = Absolute difference (always positive)
- (Value 1 + Value 2) / 2 = Average of the two values
- Result is always positive (0% means identical values)
Example Calculations
Example 1: Comparing Prices
Store A: $45, Store B: $52
- Difference = |45 − 52| = 7
- Average = (45 + 52) / 2 = 48.5
- Percent Difference = (7 / 48.5) × 100 = 14.43%
Example 2: Lab Measurements
Measurement 1: 3.45, Measurement 2: 3.52
- Difference = |3.45 − 3.52| = 0.07
- Average = (3.45 + 3.52) / 2 = 3.485
- Percent Difference = (0.07 / 3.485) × 100 = 2.01%
Percent Difference vs Percent Change
Percent change (increase or decrease) has a direction — it measures change FROM a specific starting value. Percent difference has no direction — it measures the gap BETWEEN two values symmetrically. Use percent change when there is a clear before/after relationship. Use percent difference when comparing two independent values (like two stores, two measurements, or two candidates).
Relative Percent Difference (RPD) Calculator for Lab Duplicates
Relative percent difference (RPD) is the same formula used above: the absolute gap between two results divided by their mean, times 100. Laboratories use it to check precision between a sample and its field or lab duplicate. Enter the sample result as Value 1 and the duplicate as Value 2; the Percent Difference line is your RPD. Compare it with the acceptance limit written in your project's quality assurance plan, because limits vary by method and analyte. The U.S. Environmental Protection Agency describes how duplicate precision fits into a data quality plan in its EPA Quality Program guidance. If both results are zero the RPD is undefined, and the calculator says so instead of returning a misleading number.
How to Calculate Percentage Difference Step by Step
- Subtract one value from the other and drop the minus sign. This is the absolute difference.
- Add the two values and divide by two. This is their average.
- Divide the absolute difference by the average.
- Multiply by 100 to turn the ratio into a percentage.
The calculator above shows each of these figures as separate result lines, so you can copy the working into homework, a lab report or a price comparison.
Tips for Getting Accurate Results
For the most accurate results, use up-to-date numbers from official sources. Double-check your inputs before calculating — small errors in the starting values can lead to significantly different outputs. If you are comparing scenarios, keep all variables the same except the one you are testing. Save or screenshot your results for future reference. This calculator uses standard formulas and is designed to give you a reliable quick estimate, though professional advice may be needed for complex situations.
Frequently Asked Questions
What is percent difference?
Percent difference measures how far apart two values are relative to their average. The formula is: |V1 - V2| / average × 100. It is symmetric — swapping the two values gives the same result.
When should I use percent difference vs percent change?
Use percent difference when comparing two independent values with no before/after relationship (two stores, two measurements, two options). Use percent change when there is a clear starting and ending value (old salary vs new salary).
Can percent difference be more than 100%?
Yes. If one value is much larger than the other (especially if one is close to zero), the percent difference can exceed 100%. For example, comparing 10 and 50: difference is 40, average is 30, so percent difference is 133.33%.
Is this the same as margin of error?
No. Percent difference compares two values. Margin of error describes the range of uncertainty around a single estimate. They are different statistical concepts.
How do I use a percentage difference calculator?
Enter your two numbers in Value 1 and Value 2. The calculator divides the absolute gap between them by their average and multiplies by 100. The order does not matter, so you get the same percentage difference either way.
What is RPD and how is it calculated?
RPD stands for relative percent difference. It is the absolute difference between two results divided by their mean, multiplied by 100, and it is used to check how closely a lab sample and its duplicate agree. The Percent Difference result in this calculator is the RPD.
Is Percentage Difference Calculator free to use?
Yes, Percentage Difference Calculator is completely free with no sign-up, no login, and no hidden fees. The tool runs entirely in your browser — your data never leaves your device.