Percent Change Calculator
Use this free percent change calculator to calculate percent change ((New - Starting) / Starting × 100%), absolute difference, and direction in one click.
Open toolEnter two nonnegative numbers up to 1,000,000,000 into this percent difference calculator to divide their absolute gap |a - b| by their arithmetic average (a + b) / 2 and express the result up to 12 significant digits.
Enter the inputs, then select Calculate result.
Result will appear here
The Percent Difference Calculator is a browser-based comparison utility that evaluates |a - b| / ((a + b) / 2) × 100% for any two nonnegative numbers up to 1 billion (a + b > 0). Because it uses the midpoint of both inputs as the baseline, this percent difference calculation produces the exact same percentage whether you enter a first or b first.
|a - b| / ((a + b) / 2) × 100%, where a >= 0, b >= 0, and a + b > 0.
Divides the absolute gap |a - b| by the midpoint (a + b) / 2 so neither number is privileged as the starting baseline (see our Percent Change Calculator, Percent Error Calculator, Rounding Calculator, and Significant Figures Calculator).
Compare 10 benchmark nonnegative value pairs showing how this calculator's symmetric midpoint formula (|a - b| / ((a + b) / 2) × 100%) compares against directional percent change ((b - a) / a × 100%).
| Comparison Scenario | First Value (a) | Second Value (b) | Absolute Gap (|a - b|) | Midpoint ((a + b) / 2) | Percent Difference | Directional Change (a -> b) |
|---|---|---|---|---|---|---|
| Preloaded quote pair | 80 | 100 | 20 | 90 | 22.2222222222% | +25% (-20% if 100 -> 80) |
| Reversed quote pair | 100 | 80 | 20 | 90 | 22.2222222222% | -20% |
| Identical measurements | 50 | 50 | 0 | 50 | 0% | 0% |
| Tight lab replicates | 98 | 102 | 4 | 100 | 4% | +4.08163265306% |
| Pendulum period trials | 2.01 | 2.05 | 0.04 | 2.03 | 1.97044334975% | +1.99004975124% |
| 3 : 4 ratio pair | 75 | 100 | 25 | 87.5 | 28.5714285714% | +33.3333333333% |
| 1 : 2 doubling ratio | 50 | 100 | 50 | 75 | 66.6666666667% | +100% |
| 1 : 3 ratio (100% mark) | 25 | 75 | 50 | 50 | 100% | +200% |
| 1 : 9 wide ratio (b > 3a) | 10 | 90 | 80 | 50 | 160% | +800% |
| Zero vs positive ceiling | 0 | 100 | 100 | 50 | 200% | Undefined (÷ 0) |
Follow these three steps to calculate percent difference between two numbers in your browser.
Type your first number a from 0 to 1,000,000,000 into the First nonnegative value field (80 is preloaded by default).
Provide the comparison number b (100 by default, up to 1 billion) in the Second nonnegative value box, making sure at least one input is positive.
Press Calculate result to evaluate |a - b| / ((a + b) / 2) × 100%, then use Copy or Download (result.txt) to save the percentage.
See how to calculate percent difference between two numbers across procurement price quotes, replicate physics lab trials, and spreadsheet ratio thresholds.
When two freight carriers quote $80 and $100 for the same shipping lane, neither vendor is an 'old' chronological baseline. Subtracting gives |80 - 100| = 20 and averaging gives (80 + 100) / 2 = 90, so (20 / 90) × 100% = 22.2222222222%. If you want to view 80 and 100 as a simplified 4 : 5 integer ratio alongside the percentage, open our Ratio Calculator.

In introductory physics and chemistry labs, comparing two independent experimental measurements of the same unknown quantity (such as two stopwatch runs of a pendulum period, a = 2.01 s and b = 2.05 s) requires percent difference rather than percent error. The absolute gap is |2.01 - 2.05| = 0.04 s and the average period is (2.01 + 2.05) / 2 = 2.03 s, giving (0.04 / 2.03) × 100% = 1.97044334975% (which rounds to 2.0% at two significant figures).

Spreadsheet users can replicate the exact calculation in Excel or Google Sheets with =ABS(A2-B2)/AVERAGE(A2,B2) formatted as 0.00%. Whenever one nonnegative value is three times the other (for example, a = 25 and b = 75), the gap |25 - 75| = 50 equals the midpoint (25 + 75) / 2 = 50, producing 100%. For basic part-to-whole percentages or sales tax markups, use our Percentage Calculator or Mean Absolute Percentage Error Calculator.

Choosing the right relative comparison formula depends entirely on which denominator represents your baseline:
First, percent difference (|a - b| / ((a + b) / 2) × 100%, used here) compares two peer nonnegative numbers (a and b) taken at the same level of authority when neither came first and neither is an accepted standard. Order does not matter (80 vs 100 equals 100 vs 80).
Second, percent change (((b - a) / |a|) × 100%) compares a chronological 'before' value (a) to an 'after' value (b), where rising from 80 to 100 is +25% and falling from 100 to 80 is -20% (use our Percent Change Calculator). Third, percent error ((|observed - reference| / |reference|) × 100%) compares a measurement against a certified reference constant (use our Percent Error Calculator).

Keep these three boundary rules in mind before running a calculation:
First, entering 0 in both First nonnegative value (#a) and Second nonnegative value (#b) makes both the gap and the average equal 0 (0 / 0) and triggers 'At least one value must be positive.' Both fields accept integers or decimals (step=any) from 0 to 1,000,000,000; negative numbers are excluded so opposite values cannot cancel the midpoint to 0.
Second, when one value is 0 and the other is any positive number b > 0, the gap is b and the average is b / 2, so (b / (b / 2)) × 100% = 200%, which is the theoretical ceiling for nonnegative inputs.

Use this free percent change calculator to calculate percent change ((New - Starting) / Starting × 100%), absolute difference, and direction in one click.
Open tool
Use this free percent error calculator to calculate percent error between an observed value and an accepted reference value up to 12 significant digits.
Open tool
Use this free percentage calculator to calculate percentage of a number (Percentage × Base / 100) up to 12 significant digits, with examples and tables.
Open toolChoose another tool for your next calculation, conversion, or text task.

Solve proportions a / b = c / x for the missing ratio term in one click. Free browser-based ratio calculator with 12-digit precision, copy, and .txt export.
Open tool
Use this free significant figures calculator (sig fig calculator) to count significant digits in any decimal, integer, or scientific E-notation string.
Open tool
Use this free rounding calculator to round any decimal to 0-10 decimal places (whole number, tenth, hundredth) with Nearest, Floor, Ceiling, or Truncate.
Open tool
Find mean absolute percentage prediction error.
Open toolAnswers about using Percent Difference Calculator and understanding its results.
Subtract one number from the other and take the absolute value |a - b|, divide that gap by the arithmetic mean (a + b) / 2, and multiply by 100. Equivalently, calculate (2 × |a - b| / (a + b)) × 100%.
Neither Excel nor Google Sheets has a built-in PERCENTDIFF function. Enter =ABS(A2-B2)/AVERAGE(A2,B2) (or =2*ABS(A2-B2)/(A2+B2)) into a cell and format the cell as a Percentage (0.00%), or multiply the formula by 100 for an unformatted percentage number.
No. Because both |a - b| and (a + b) / 2 are symmetric expressions, entering 80 as the first value and 100 as the second value yields the exact same 22.2222222222% as entering 100 first and 80 second.
Yes. Whenever the larger nonnegative number exceeds three times the smaller number (b > 3a), the absolute difference |a - b| is larger than the midpoint (a + b) / 2, so the percent difference exceeds 100% and reaches 200% when one of the two inputs is 0.
Percent difference compares magnitudes on a nonnegative ratio scale (a >= 0, b >= 0). If both values are 0, the formula attempts 0 / 0 ('At least one value must be positive.'), and if negative numbers were allowed, opposite values like -50 and 50 would average to 0 in the denominator.
Choose another tool for your next calculation, conversion, or text task.