Calculate percent difference. Free online Percentage Difference Calculator for algebra — instant, accurate results, mobile-friendly, no signup needed.
Difference
40%
Derivation
├── 01Givena = 20, b = 30
├── 02Formula|t-a| / ((t+a) / 2) × 100
├── 03Substitute|t-20| / ((t+20) / 2) × 100
└── 04Compute Difference40
Did you know?
Every calculator here runs 100% in your browser — nothing is sent to a server or stored in a database.
§01What is
Understanding the Percentage Difference Calculator
The Percentage Difference Calculator computes Difference from 2 inputs: value a, value b. Calculate percent difference.
Algebra is the art of solving for the unknown. Rearranging a formula to isolate the variable you actually need is the single most common real-world math skill — and doing it with real numbers under time pressure is where errors happen.
The Percentage Difference Calculator sits in that toolkit — it calculate percent difference. Enter your numbers above and the result updates instantly; every step of the math is shown in the Derivation panel so you can see exactly how the answer was reached.
§02The Formula
How it’s calculated
|t-a| / ((t+a) / 2) × 100
Where
a
Value A
b
Value B
§03Practical Example
Step-by-step walkthrough
Scenario
Apply the formula to a realistic set of inputs: Value A = 20, Value B = 30.
01Start by noting the input — Value A: 20.
02Start by noting the input — Value B: 30.
03Substitute these values into the formula: |t-a| / ((t+a) / 2) × 100
04Compute Difference: the calculator returns 40.
05Cross-check the answer by opening the Derivation panel above — every line of math is shown so you can follow the computation end-to-end.
§04Variants
Common Percentage Difference Problems
The formula gets rearranged depending on which variable you need. Here are the patterns you’ll run into in the real world — find the one that matches your problem and follow the worked steps.
01 · PATTERN
Value A halved
a = 10 (from 20)
Keep every other input at its default and halve the value a. See how difference responds.
01New Value A: 10
02Baseline Difference: 40
03New Difference: 100
04Difference increases by 150% → use this sensitivity to plan for real-world variation.
02 · PATTERN
Value A doubled
a = 40 (from 20)
Keep every other input at its default and double the value a. See how difference responds.
01New Value A: 40
02Baseline Difference: 40
03New Difference: 28.5714
04Difference decreases by 28.6% → use this sensitivity to plan for real-world variation.
03 · PATTERN
Value B halved
b = 15 (from 30)
Keep every other input at its default and halve the value b. See how difference responds.
01New Value B: 15
02Baseline Difference: 40
03New Difference: 28.5714
04Difference decreases by 28.6% → use this sensitivity to plan for real-world variation.
04 · PATTERN
Value B doubled
b = 60 (from 30)
Keep every other input at its default and double the value b. See how difference responds.
01New Value B: 60
02Baseline Difference: 40
03New Difference: 100
04Difference increases by 150% → use this sensitivity to plan for real-world variation.
§05FAQ
Frequently asked questions
Yes. The calculator implements the standard formula as documented and returns exact floating-point results. No approximations are used unless noted in the formula.
Your feedback
How useful was this calculator?
Your ratings stay in your browser — they help us learn which tools people actually rely on.