Reverse Percentage Calculator
To reverse a percentage, divide by the rate rather than multiply. If a sale price of 80 is after a 20% discount, the original price is 80 / (1 - 0.20) = 100. To find the discount from an original price of 100 and a sale price of 80, compute (100 - 80) / 100 x 100 = 20%. To reverse a tax or markup, divide by (1 + rate): 120 including 20% tax came from 120 / 1.20 = 100 before tax.
Reverse percentage questions start from a result and ask for the starting value: a sale price and a discount, and you want the original price; or two prices, and you want the discount percent. This calculator covers the three forms that come up most, works each one in your browser, and shows the arithmetic so you can check it. Pick a mode below.
To reverse a percentage decrease, divide by (1 − rate): a sale price of 80 after a 20% discount came from 80 / 0.80 = 100. To reverse an increase, divide by (1 + rate): 120 including 20% tax came from 120 / 1.20 = 100.
Find the original price before a discount
You know what something costs now and the percent it was reduced by.
Find the discount percent between two prices
Back out tax or markup from a total
How does each mode work?
Find original price reverses a decrease. A discount of r% means the sale price is (1 − r) of the original, so the original is the sale price divided by that factor. An item at 80 after a 20% discount came from 80 / (1 − 0.20) = 80 / 0.80 = 100. Dividing is essential: adding 20% back onto 80 gives only 96, because 20% of 80 is smaller than the 20% that was removed from 100.
Find discount percent compares the drop to the original price. The reduction is (original − sale) / original × 100. From 100 down to 80, the drop is 20, and 20 / 100 × 100 = 20%. Using the sale price as the denominator instead would wrongly give 25%; the original price is always the base for a discount.
Reverse tax or markup undoes an increase. A total that includes r% is (1 + r) times the base, so divide by (1 + r). A 120 total with 20% tax came from 120 / 1.20 = 100 before tax, with 20 of tax added. The same arithmetic backs a 35% markup out of a 135 selling price: 135 / 1.35 = 100 cost.
Worked example: three ways to check one sale
A pair of shoes is marked down 25% and now sells for 63. The original price is 63 / (1 − 0.25) = 63 / 0.75 = 84. Check it forward: 25% of 84 is 21, and 84 − 21 = 63. Check the discount the other way: (84 − 63) / 84 × 100 = 21 / 84 × 100 = 25%. Finally, if the 63 were a total that already included a 5% sales tax, the pre-tax amount would be 63 / 1.05 = 60, with 3 of tax. One number, three consistent directions — the mode you pick depends only on which value you already know.
What are the edge cases and limits?
The original price must be positive, because a negative base has no meaningful interpretation here. A discount must be between 0% and 100%: a 100% discount leaves a zero sale price, so there is no non-zero original to recover by division, and anything above 100% is impossible in a normal sale. In reverse-tax mode, a rate of −100% would make the divisor zero and is rejected; ordinary positive rates are fine. Prices can be zero in the "find discount" mode only when both values are zero, which is treated as undefined rather than a real transaction. Decimals are accepted throughout, and results are displayed to two decimal places without rounding the underlying value.
Markup, margin and percentage points
This tool follows the markup convention: the percentage is applied to the original cost. A cost of 100 sold for 125 is a 25% markup, but the profit margin is 25 / 125 = 20% because margin uses the selling price as its base. If you are given a margin m instead of a markup, convert it first with markup = m / (1 − m): a 20% margin equals a 25% markup. Note also that a change from 20% to 25% is a rise of 5 percentage points, not a 25% increase; mixing those two ideas is a frequent source of error in reverse calculations.
Privacy and how numbers are handled
All three modes run locally with JavaScript. Nothing you type is sent to a server, written to a database, or used for advertising. Reloading the page clears the inputs. The tool performs arithmetic only and does not give financial advice or calculate complex, multi-stage tax rules such as compounding or jurisdiction-specific rates.
Frequently asked questions
How do I find the original price from a sale price and a discount?
Divide the sale price by (1 minus the discount rate as a decimal). A jacket costing 80 after a 20% discount originally cost 80 / 0.80 = 100. A common mistake is to add 20% back to 80, which gives 96, not 100 — because the 20% was taken off the larger original price, not off the smaller sale price.
Why can I not just add the discount percent back to the sale price?
Because percentages are taken from different bases. A 20% discount reduces 100 to 80, but adding 20% to 80 gives 96 since 20% of 80 is only 16. Reversing a decrease always requires division by (1 - rate), not multiplication by (1 + rate). The two operations are not inverses when applied to different bases.
How do I work backwards from a price that already includes tax or markup?
Divide the gross amount by (1 + rate). If a total of 120 includes 20% sales tax, the pre-tax amount is 120 / 1.20 = 100, and the tax was 20. Likewise a 35% markup on cost means a selling price of 135 came from a cost of 135 / 1.35 = 100. This tool assumes the rate is applied once to the original base.
What is the difference between a markup and a margin?
Markup is a percentage of cost, while margin is a percentage of selling price. A cost of 100 sold for 125 is a 25% markup (25 / 100) but only a 20% margin (25 / 125). This calculator uses the markup convention: the percentage is applied to the original cost. If you have a margin instead, convert it first with markup = margin / (1 - margin).
What happens if the discount is 100% or more?
A 100% discount leaves a sale price of zero, so there is no non-zero original price to recover by division — the calculator flags this as undefined. A discount above 100% is impossible for a normal sale and is rejected. For reverse-tax mode, a rate of -100% would also divide by zero and is rejected.
Does this calculator round the result or store my numbers?
Results are shown to two decimal places, but the calculation uses the full precision of the value you entered. Every mode runs entirely in your browser with JavaScript: nothing is sent to a server, saved to a database, or used for advertising. Reloading the page clears all inputs.
Last updated: November 23, 2026