Reverse Percentage Calculator (Find the Original Number)

This calculator recovers the number you started with. Give it a value that has already had a percentage applied — a sale price, a total including tax, a salary after a rise — together with that percentage, and it divides rather than multiplies to get you back to the original. The third mode answers the other reverse question, 40 is 25% of what number?, by solving for the whole. It also shows the change amount and the size of that change measured against the value you entered, which is the figure most people get wrong when they try to reverse a discount in their head.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
What was appliedPick the operation that has already happened, or the last option when you know a part and the percentage it represents.A decrease of p% was applied (discount, markdown, tax relief)
Known value (final amount, or the part)The number you already have: the amount after the change, or the part in part-of-whole mode.80
Percent pThe percentage that was applied, or the percentage the part represents.20 %

It returns

  • Original value (or the whole) — The number before the percentage was applied.
  • Amount of the change — In part-of-whole mode this is the remainder: whole minus part.
  • Known value as a percent of the original
  • Change as a percent of the known value — How big the difference is relative to the number you entered, rather than to the original.

The formula

x0=x11±p100
W=100ap

In plain text: original = final ÷ (1 ± p/100); whole = part ÷ (p/100)

  • x_0Original value before the change, or the whole (any)
  • x_1Value after the change, or the part (same as x_0)
  • pPercentage applied, or the percentage the part represents (%)

Use + for an increase and − for a decrease. The multiplier must not be zero: a 100% decrease leaves nothing to divide back out of.

Updated Category Percentages & Percent Change Verified against published test cases Reading time 11 min

Why reversing a percentage means dividing, not subtracting

A percentage change is a multiplication, so undoing it is a division. That single sentence covers almost every reverse-percentage question you will meet, and almost every wrong answer comes from subtracting instead.

Applying a 20% discount multiplies the price by 0.80. Applying 20% sales tax multiplies by 1.20. Adding a 3% pay rise multiplies by 1.03. In each case the operation that produced the number you are holding is original × multiplier, so the operation that recovers the original is known value ÷ multiplier. Subtracting 20% from a discounted price does not get you back, because the 20% you would be subtracting is 20% of the wrong number.

The error is easy to quantify. Take a £100 jacket reduced by 20% to £80. Subtract 20% of £80 — that is £16 — and you get £64, which is £36 away from the true original. Dividing instead gives 80 ÷ 0.80 = £100 exactly. The correct add-back is 25% of the sale price, not 20%, because 20 ÷ 80 = 0.25. That asymmetry is the whole reason this calculator reports the change as a percentage of the value you entered as well as of the original.

The third mode handles the other family of reverse questions, the ones phrased as 40 is 25% of what number? Here nothing was applied to anything; you have a part and the share it represents, and you want the whole. The arithmetic is the same division: 40 ÷ 0.25 = 160. If you have the whole and want the part instead, that is a forward calculation and the percentage calculator handles it.

The formula and its one failure point

Write the forward operation first, then rearrange. If a value x0 was increased by p percent to give x1:

x₁ = x₀ × (1 + p/100)x₀ = x₁ ÷ (1 + p/100)

For a decrease the multiplier is 1 − p/100. For a part-and-percent question the multiplier is simply p/100, because the part is that fraction of the whole.

The quantity 1 ± p/100 is the only thing you need to get right, and it has exactly one failure point: it must not be zero. A 100% decrease makes it zero, and dividing by zero is not a numerical inconvenience, it is a genuine loss of information. If everything was taken away, every possible starting value produces the same result of nothing, so the original is unrecoverable. This calculator returns a dash and says so rather than showing an infinity.

Two regimes surprise people the first time they meet them. A decrease of more than 100% — a 130% reduction, say — makes the multiplier negative, and dividing by a negative number returns an original whose sign is opposite to the value you entered. That is arithmetically consistent, and it is a signal that the percentage you were given is not the one that was actually applied. Similarly, a part quoted at more than 100% of the whole gives a whole smaller than the part; the numbers have usually been entered the wrong way round.

One more relationship is worth memorising because it converts between the two directions. If a decrease of p percent took you from the original to the final value, then getting back requires an increase of 100p / (100 − p) percent applied to the final value. At p = 20 that is 2000/80 = 25%. At p = 50 it is 5000/50 = 100%, which is why a half-price item needs a doubling to return to list. The reference table below tabulates this for the common percentages.

Worked example: a sale price and a tax-inclusive total

Part one — the sale price. A bicycle is advertised at £340 after a 15% reduction. What was the list price?

  1. Percent as a decimal. 15 ÷ 100 = 0.15.
  2. Multiplier that was applied. 1 − 0.15 = 0.85.
  3. Divide. 340 ÷ 0.85 = £400. Check it forward: 400 × 0.85 = 340. Correct.
  4. Amount saved. 340 − 400 = −£60, so the reduction is £60.
  5. The saving as a share of what you pay. 60 ÷ 340 = 0.17647, so the discount is 17.65% of the sale price even though it is 15% of the list price.

Part two — stripping tax out of a total. An invoice shows £1,200 including VAT at 20%. The net figure is not £1,200 − £240.

  1. Multiplier. 1 + 20/100 = 1.20.
  2. Divide. 1200 ÷ 1.20 = £1,000 net.
  3. Tax. 1200 − 1000 = £200, which is 20% of the net figure and 16.67% of the gross figure, because 200 ÷ 1200 = 0.16667.

The wrong method — taking 20% of £1,200 — gives £240 of tax and a net of £960, overstating the tax by £40 on a £1,200 invoice. On a VAT return that is a 20% overstatement of the reclaim, which is exactly the kind of arithmetic that gets a bookkeeper a letter.

Part three — part of a whole. A charity reports that 40 of its grants, representing 25% of the total, went to rural projects. 40 ÷ 0.25 = 160 grants in total, leaving 120 elsewhere.

Reading the four outputs

Original value is the number you came for. Always sanity-check it by running the calculation forward: multiply the original by the multiplier and confirm you land back on your known value. That takes five seconds and catches every mode-selection mistake.

Amount of the change is the known value minus the original, so it is negative after a decrease and positive after an increase. In part-of-whole mode it is the remainder — the whole minus the part — which is the figure you want when a report gives you one segment and its share and you need the rest.

Known value as a percent of the original is the multiplier expressed as a percentage. It is 80% after a 20% discount and 120% after 20% tax. This is the number to quote when someone asks “what proportion of the original is this?”, and it is what a spreadsheet stores when you write a growth factor rather than a growth rate.

Change as a percent of the known value is the one people get wrong. It is the size of the change measured against the number you are holding rather than against the original, and the two differ by the multiplier. After a 20% discount it is 25%; after a 20% markup it is 16.67%. If you are trying to advertise a discount, quote it against the original. If you are trying to work out how much a shopper actually saved relative to what they paid, quote it against the sale price. Both are true statements about the same transaction, and conflating them is how a “50% off” sign and a “save 100%” sign end up describing the same shoe.

Multipliers and the return trip for common percentages

Divide by the multiplier to reverse the change. The last two columns give the change as a share of the value you are holding, which is what you must add back to return to the original.
pIncrease multiplier (1 + p/100)Decrease multiplier (1 − p/100)After a p% increase, the rise is this % of the totalAfter a p% decrease, the cut is this % of what remains
5%1.050.954.7619%5.2632%
10%1.100.909.0909%11.1111%
15%1.150.8513.0435%17.6471%
20%1.200.8016.6667%25.0000%
25%1.250.7520.0000%33.3333%
30%1.300.7023.0769%42.8571%
40%1.400.6028.5714%66.6667%
50%1.500.5033.3333%100.0000%

Column four is 100p/(100 + p); column five is 100p/(100 − p). The 50% row is the memorable one: half off needs a doubling to get back.

Mistakes that produce a wrong original

  • Subtracting the percentage from the final value. Taking 20% off £80 gives £64, not the £100 you started from. Always divide.
  • Choosing the wrong mode. “20% off” is a decrease; “including 20% tax” is an increase; “40 is 20% of” is part-of-whole. All three divide, but by 0.80, 1.20 and 0.20 respectively, which give £100, £66.67 and £400 from the same £80.
  • Chaining two percentages as if they added. A 20% markdown followed by a further 10% is not 30% off. The combined multiplier is 0.80 × 0.90 = 0.72, so it is 28% off. Reverse it by dividing by 0.72, not by 0.70.
  • Assuming tax was applied last. If a discount was taken after tax rather than before, the multipliers commute arithmetically but the tax base does not, and the tax figure on the invoice will not match. Reverse the operations in the order the document says they happened.
  • Rounding the intermediate. Dividing by a multiplier you have already rounded to two decimals introduces error that grows with the size of the number. Keep full precision until the final display.
  • Reversing a 100% decrease. There is no answer. If a value went to zero, the original left no trace in the result.

Where this fits among the percentage tools

Reverse percentage is one of four operations that all use the same three quantities — a base, a percentage and a result — and differ only in which one is unknown.

When you know the base and the percentage and want the result, that is a forward calculation: the percentage calculator. When you know two values and want the percentage that connects them, that is percent change if one is chronologically earlier, or percentage difference if neither is a designated baseline. When you know the base and the result and want the percentage applied, that is percentage increase and decrease. This calculator covers the fourth case: you know the percentage and the result, and the base is missing.

Several everyday problems are reverse percentage in disguise. Extracting a net figure from a tax-inclusive total is the one accountants meet daily, and tax authorities publish the divisor directly for this reason — HMRC's VAT guidance quotes the 20% fraction as 1/6 of the gross, which is the same statement as dividing by 1.2, since 1 − 1/1.2 = 1/6. Working a cost price back from a retail price and a known margin is another, though watch the definition: a margin is quoted on the selling price and a markup on the cost, so a 25% margin corresponds to a 33.33% markup and the two need different divisors.

For questions of the form a is to b as c is to what, where the relationship is a ratio rather than a percentage, the proportion solver is the direct tool. And where you are comparing a measurement against a reference rather than undoing a change, use percent error — it shares the arithmetic but answers a different question.

Frequently asked questions

How do I find the original price before a 20% discount?

Divide the sale price by 0.80. A jacket on sale at £80 had a list price of 80 ÷ 0.80 = £100. Do not subtract 20% from the sale price — that gives £64 and is wrong, because the 20% was calculated on the original, not on the reduced figure. The add-back that does work on the sale price is 25%, since 20 ÷ 80 = 0.25.

How do I remove VAT or sales tax from a total?

Divide the gross total by 1 plus the tax rate as a decimal. At 20%, divide by 1.20: a £1,200 gross invoice is £1,000 net and £200 tax. At 5%, divide by 1.05; at 7.5%, divide by 1.075. Taking the tax rate off the gross figure directly overstates the tax — 20% of £1,200 is £240, which is £40 too much on this invoice.

If 40 is 25% of a number, what is the number?

160. Divide the part by the percentage expressed as a decimal: 40 ÷ 0.25 = 160. Equivalently, multiply by 100 and divide by the percentage: 100 × 40 ÷ 25 = 160. Use the part-of-whole mode for this shape of question; the increase and decrease modes would give different answers because they assume an operation was applied rather than a share being quoted.

Why can't I just add the percentage back on?

Because the percentage was taken from a larger number than the one you are holding. A 20% cut leaves 80% of the original, and to get from 80% back to 100% you need to add 20/80 = 25% of what remains, not 20%. The general rule is that reversing a p% decrease requires an increase of 100p/(100 − p) percent. The reference table above lists this for the common percentages.

What if two discounts were applied one after the other?

Multiply the two multipliers together and divide by the product. A 20% markdown followed by a further 10% gives 0.80 × 0.90 = 0.72, so the final price is 72% of the original and you divide by 0.72 to recover it. That is a combined 28% off, not 30% — successive percentages never simply add. The same applies to a discount followed by tax, in whichever order the receipt says they happened.

Can the original value come out negative?

Yes, and it is a signal to re-check your inputs. It happens when the multiplier is negative, which requires a decrease of more than 100% or an increase entered as less than −100%. Dividing a positive known value by a negative multiplier returns a negative original. The arithmetic is consistent, but a reduction of more than 100% rarely describes a real transaction, so the percentage is usually the wrong one.

What is the difference between a 25% margin and a 25% markup?

A margin is a percentage of the selling price; a markup is a percentage of the cost. With a 25% margin the cost is 75% of the price, so cost = price × 0.75 — a forward calculation. With a 25% markup the price is 125% of the cost, so cost = price ÷ 1.25 — a reverse calculation, and the one this tool handles. From a £100 price those give £75 and £80 respectively, which is why a 25% margin is the same trade as a 33.33% markup: 25 ÷ 75 = 0.3333.

Why does the calculator refuse a 100% decrease?

Because no original value can be recovered from it. A 100% reduction multiplies by zero, and every starting number multiplied by zero gives the same result, so the information about where you began is gone. The calculator shows a dash rather than an infinity and explains why. If the real change was 100% of something else — of a component, or of a different base — recompute the percentage against the base that was actually used.

References