Percent Difference Calculator expresses the gap between two values as a percent of the starting value. It runs the same signed percent-change formula used for before-and-after comparisons, so the output stays positive for a rise and negative for a fall.
Compute the percent difference
The working formula is P = ((Y − X) / X) × 100, where X is the reference value and Y is the value being compared against it. Two stores price the same jacket at $80 and $92; measured against the $80 price, the difference is (92 − 80) / 80 × 100, which is 15 percent.
Measured against the $92 price instead, the same $12 gap becomes about 13 percent, which is why picking the reference value matters before reading the result.
Choose the correct reference value
Percent difference is not symmetric: comparing A to B gives a different percent than comparing B to A, because the denominator changes. When a question says "how much more is Y than X," X is the reference and belongs in the denominator.
When a question instead asks about a measured value relative to an accepted or true value, the accepted value is normally the reference. Percent Difference Calculator computes X as whichever value you enter first in the mode that solves for P.
Apply a known percent difference forward
Given a reference value and a percent difference, project the compared value directly: Y = X × (1 + P / 100). A base salary of $52,000 with a 6 percent difference above it becomes 52,000 × 1.06, which is $55,120. Reversing the sign to −6 percent gives 52,000 × 0.94, which is $48,880.
Recover the reference value
When the compared value and the percent difference are known, solve backward: X = Y / (1 + P / 100). A discounted price of $76.50 reflects a 10 percent reduction from the original; dividing 76.50 by 0.90 recovers an $85.00 original price. This mode is the one to use for "what was the price before the change" questions.
Avoid this common mistake
Confusing percent difference with percent error is common in lab and measurement contexts. Percent error divides by an accepted or theoretical value specifically, while percent difference (as used here) divides by whichever value the question names as the starting point.
Swapping which value sits in the denominator changes the answer, sometimes substantially when the two values are far apart, so always confirm which number the question treats as the base before entering it as X.
Work through a shipping-cost comparison
Two carriers quote $28 and $34 to ship the same package. Measured against the $28 quote as the reference, the difference is (34 − 28) / 28 × 100, about 21.4 percent higher. Measured against the $34 quote instead, the same $6 gap becomes (28 − 34) / 34 × 100, about −17.6 percent lower.
Percent Difference Calculator computes whichever direction matches the question's wording, since "how much more expensive" and "how much cheaper" name different reference values even when describing the same two prices.
Distinguish a symmetric average-based definition
Some fields define percent difference symmetrically, dividing the absolute gap by the average of the two values rather than by either value alone: |Y − X| / ((X + Y) / 2) × 100. This symmetric version gives the same result regardless of which value is listed first, unlike the directional formula used on this page.
Check which convention a specific assignment or textbook expects before comparing results across sources, since the two definitions can produce noticeably different percentages for the same pair of numbers.
Frequently asked questions
What is the percent difference formula?
The percent difference formula used here is P = ((Y − X) / X) × 100, where X is the reference value in the denominator and Y is the value being compared to it. The result carries a sign showing whether Y is above or below X.
How do you find the percent difference between two prices?
To find the percent difference between two prices, subtract the reference price from the other price, divide by the reference price, and multiply by 100. Comparing a $45 price to a $50 reference gives (45 − 50) / 50 × 100, which is −10 percent.
Is percent difference the same in both directions?
Percent difference is not the same in both directions, because switching which value is the denominator changes the result. Comparing 80 to 100 gives −20 percent, but comparing 100 to 80 gives 25 percent, even though both describe the same $20 gap.
What is the difference between percent difference and percent error?
Percent difference compares two measured or observed values against a chosen reference, while percent error specifically compares a measured value against a known correct or theoretical value. The arithmetic is the same formula; the distinction is which value convention assigns to the denominator.
Can percent difference be more than 100 percent?
Percent difference exceeds 100 percent whenever the compared value is more than double the reference value. Comparing 5 to 12 against a reference of 5 gives (12 − 5) / 5 × 100, which is 140 percent.
How do you use percent difference to compare test scores?
To compare test scores with percent difference, treat the earlier or baseline score as the reference value X and the later score as Y, then apply P = ((Y − X) / X) × 100. A score moving from 72 to 90 gives (90 − 72) / 72 × 100, which is 25 percent.
What is the symmetric version of percent difference?
The symmetric version of percent difference divides the absolute gap between two values by their average instead of by one of the values directly: |Y − X| / ((X + Y) / 2) × 100, giving the same result no matter which value is listed first.
Which quote is more expensive by percent difference, $28 or $34?
Measured against the $28 quote, $34 is about 21.4 percent more expensive; measured against the $34 quote, $28 is about 17.6 percent cheaper, illustrating why the reference value must be specified before quoting a single percent difference figure.
Summary
Percent Difference Calculator computes P = ((Y − X) / X) × 100 to express the gap between two values as a percent of a chosen reference. Enter the reference value and the comparison value to solve for the percent, or enter the reference and the percent to project the comparison value forward.
Because the formula is not symmetric, confirm which value is the reference before reading the sign of the result.