X is P Percent of What Calculator
Written by the percentages.co.uk team. Reviewed for accuracy.
Find the whole number when you know a value and the percentage it represents. For example: 12 is 40% of what number? Enter the value and percentage below to get the answer instantly.
How it works
This is a reverse percentage calculation. You know the part and what percentage of the whole it represents, and you need to find the whole. To do this, divide the known value by the percentage expressed as a decimal.
The formula
Whole = X / (P / 100)
Or equivalently: Whole = (X x 100) / P
Why this works: If X is P% of the whole, then the whole is X divided by P/100. Dividing by a fraction is the same as multiplying by its reciprocal, so you can also multiply X by 100 and divide by P. Both routes give the same answer.
Worked examples
A student scored 18 marks, which is 60% of the total paper. How many marks was the paper worth?
- Whole = 18 / (60 / 100) = 18 / 0.6 = 30
Answer: 30 marks
A charity has raised £7,500, which is 25% of its annual fundraising target. What is the full target?
- Whole = 7,500 / (25 / 100) = 7,500 / 0.25 = £30,000
Answer: £30,000
A retailer sold 240 units in January, which was 80% of the monthly target. What was the target?
- Whole = 240 / (80 / 100) = 240 / 0.8 = 300
Answer: 300 units
A 5% pay rise adds £1,800 to a salary. What was the original salary?
- Whole = 1,800 / (5 / 100) = 1,800 / 0.05 = £36,000
Answer: £36,000
A tax bill of £3,500 represents 20% of taxable income. What is the taxable income?
- Whole = 3,500 / (20 / 100) = 3,500 / 0.2 = £17,500
Answer: £17,500
When to use this
This reverse percentage calculation comes up frequently when you know a part and a rate but need the total:
- Commission and sales targets: A sales rep earned £3,600 in commission at a 12% rate. This calculator finds that total sales were £30,000. Useful when commission statements show the earnings but not the underlying revenue figure.
- Fundraising and targets: A charity has raised £14,000, which represents 35% of its annual target. The full target is £40,000. Knowing this helps plan how many more events or campaigns are needed to close the gap.
- Pay rises and salary negotiation: A 3.5% pay rise adds £1,750 per year to your salary. This means the original salary was £50,000. Useful when you know the increase amount but not the starting salary, for example when reviewing a colleague's pay or evaluating a job offer.
- Discounted prices: A sale item costs £54, which is 60% of its original price. The original price was £90. This reverses a percentage-off calculation to recover the pre-discount value when the original price is not shown.
Understanding the result
The whole will always be larger than X when P is less than 100%. As the percentage gets smaller, the whole gets proportionally larger. If X represents only 5% of the total, the whole is 20 times larger than X. As a quick sanity check, multiply your answer by the percentage divided by 100 and confirm you get back to the original X value.
If the percentage is greater than 100, the whole will be smaller than X, which is mathematically valid (for example, "£150 is 120% of what?" gives £125). This situation arises when X represents a value after a percentage increase, and you want the pre-increase figure. In that case, the reverse percentage calculator handles increases and decreases more explicitly.
Related concepts
➡ For the forward calculation, the percentage of a number calculator finds what any percentage of a known total actually equals. ➡ If you know a final value after a percentage change and need the starting point, the reverse percentage calculator undoes a percentage increase or decrease to recover the original figure. ➡ To express a part-to-whole relationship directly as a percentage without finding the whole, the fraction to percentage calculator converts any fraction or ratio directly to a percentage.
How to do this in Excel
=A1/(B1/100)
Put the value (X) in A1 and the percentage (P) in B1. The formula divides X by the decimal form of P to find the whole. You can also write it as =A1*100/B1 for the same result. To verify, use =C1*B1/100 in a nearby cell to check that it returns the original X value.
How to do this without a calculator
Divide X by P to find 1% of the whole, then multiply by 100 to find the full 100%. For "18 is 60% of what": 18 / 60 = 0.3 (which is 1%), then 0.3 x 100 = 30. For round percentages like 25%, 50%, or 10%, use proportional shortcuts: if something is 25% of the whole, the whole is 4 times larger (divide by 0.25). If something is 10% of the whole, multiply by 10.
Common mistakes
Multiplying instead of dividing
To find the whole, you divide X by the decimal form of the percentage. Multiplying X by the percentage gives a much smaller number and is the wrong operation. For example, if 12 is 40% of something, the answer is 12 / 0.4 = 30, not 12 x 0.4 = 4.8.
Confusing the part and the whole
Enter the known value (the part) as X, not the total you are trying to find. If a class has 25 pupils and 15 passed, and you want to find the total from the pass count, X = 15 and P = the pass rate percentage, not 25.
Related calculators
Percentage of a Number Calculator
Find what a percentage of any number is instantly.
Reverse Percentage Calculator
Work backwards from a result to find the original value.
Percentage Change Calculator
Calculate the percentage change between old and new values.
Percentage of a Percentage Calculator
Calculate what a percentage of another percentage equals.
Percentage Completion Calculator
Track progress as a percentage of the total tasks, distance or budget.
Percentage Points Calculator
Find the difference between two percentages in percentage points.