X Is Y% of What Number?
Work backwards to the total. When you know a portion and what percentage it represents, this recovers the number it came from — the calculation behind pre-discount prices and pre-tax amounts.
Enter your numbers and press Calculate — the full working appears here.
Recent calculations
Stored only in this browser. Nothing is sent to a server.
The formula
Finding a percentage of a number means multiplying by it. Going the other way means dividing — this calculation simply undoes the multiplication.
Part ÷ (Percentage ÷ 100)
50 ÷ (20 ÷ 100) = 250
Because the percentage is less than 100, the answer is larger than the part you started with.
Worked examples
You paid a $340 deposit, which the agent says is 15% of the total. What is the total?
- Turn the percentage into a decimal.15 ÷ 100 = 0.15
- Divide the deposit by that decimal.340 ÷ 0.15 ≈ 2,266.67
Answer≈ $2,266.67
A jacket cost you $68 after a 15% discount. What was the original price?
- Paying after 15% off means you paid 85% of the original.100 − 15 = 85
- So $68 is 85% of the original price.68 ÷ 0.85 = 80
Answer$80 before the discount
That second example is worth pausing on. Adding 15% back onto $68 gives $78.20, not $80 — the discount was taken off the larger number, so putting it back requires division rather than addition.
Common uses
- Original prices — recovering the pre-sale price from what you actually paid.
- Pre-tax amounts — stripping VAT, GST or sales tax out of a gross total.
- Totals from a deposit — the full cost implied by a percentage paid up front.
- Sales from commission — the sale value behind a known commission payment.
- Targets from progress — the full goal when you know how far along you are.
- Survey populations — the total sample implied by a count and its percentage.
Frequently asked questions
How do I find the whole when I know a percentage of it?
50 is 20% of what number?
How do I find the original price before a discount?
How do I remove sales tax from a total?
Why can the percentage not be zero?
Related calculators
- What Percent Is X of Y?Turn a score, a share or a part into a percentage of the total.
- Percentage CalculatorAnswer the three core percentage questions — a percentage of a number, a share as a percentage, and the missing total.
- Discount CalculatorSee the money off and the price you actually pay before you get to the till.
- Percentage Change CalculatorOne tool for movement in either direction — it tells you whether the value rose or fell.