Free tool Percentage calculator: X% of Y, what percent, and back
Pick the question, type two numbers and read the answer as you type: 15% of 1,200, 45 as a percent of 180, the total when 45 is 15%, or a price after a 20% discount. The formula sits under every result.
- Five question types
- Share the calculation
- Runs in your browser
Work out a percentage
Choose what you want to find; only the fields you need are shown. For the change between an old and a new value, use the percentage change calculator.
Saved to My tools
Open the free tools page next time and it is right at the top under My tools (stored in this browser only).
You can also press Ctrl+D to bookmark this page in your browser.You can also press ⌘+D to bookmark this page in your browser.You can also tap your browser’s Share button (at the bottom in Safari) and choose Add Bookmark or Add to Home Screen.You can also open the ⋮ menu at the top right and tap ☆ to bookmark it, or choose Add to Home screen.You can also tap ··· at the top right and choose Favorite, or open it in your browser and bookmark it there.
View My tools1Inputs
Enter 15 or 15%.
The amount you have, e.g. 45 sign-ups out of a total.
The total, or the number you apply the percentage to. Can be negative.
2Results
Result
180.00
B × X ÷ 100.
Percentage
—
A ÷ B × 100.
Whole
—
A ÷ X × 100.
New value
—
B ± B × X ÷ 100.
Share these inputs: the values go after the # in the link, so they never reach a server.
https://tapcub.com/tools/percentage-calculator
Done here? Try these next
Use this tool often? Save it to My tools.Saved to My tools. Find it any time at the top of the free tools page. You can also press Ctrl+D to bookmark this page in your browser.You can also press ⌘+D to bookmark this page in your browser.You can also tap your browser’s Share button (at the bottom in Safari) and choose Add Bookmark or Add to Home Screen.You can also open the ⋮ menu at the top right and tap ☆ to bookmark it, or choose Add to Home screen.You can also tap ··· at the top right and choose Favorite, or open it in your browser and bookmark it there.
Problem or suggestion?Send feedbackChat with support
Version v1.0Updated Update history
Five questions, one relationship
Every mode is the same equation, part = whole × percentage ÷ 100, solved for a different unknown.
- Five common percentage questions
- Works backwards to the whole
- Shareable link with your numbers

What is X% of B?
Solves for the part. 15% of 1,200 is 180. The remainder line shows what is left, 1,020, which is handy for discounts and tax.
A is what percent of B?
Solves for the percentage. 45 out of 180 is 25%. Above 100% means the part is larger than the whole you compared it with.
A is X% of what?
Solves for the whole. If 45 is 15% of the total, the total is 300. Use it to recover a total from a share in a report.
Increase or decrease by X%
Applies the percentage to B and adds or subtracts it. 1,200 plus 15% is 1,380; minus 15% is 1,020. The second line shows the amount added or removed.
For the change between two values you already have, such as last month and this month, use the percentage change calculator: it divides by the old value and keeps the sign.
Three everyday calculations
Pick the mode that matches the sentence you would say out loud.
-
1
Discounts and tips
“What is 20% of $85?” gives the saving; “Decrease 85 by 20%” gives the price you pay.
-
2
Shares in a report
“A is what percent of B?” with 340 conversions out of 12,500 sessions gives a 2.72% conversion rate.
-
3
Totals from a share
“A is X% of what?” recovers the whole: if mobile is 4,200 visits and 60% of traffic, total traffic is 7,000.
Part = whole × percentage ÷ 100
Rearrange the one equation for whichever number you do not have. A percentage is a ratio written per hundred, so 15% is 0.15.
- X% of B = B × X ÷ 100
- A as a percent of B = A ÷ B × 100
- Whole from a part = A ÷ X × 100
- Increase by X% = B × (1 + X ÷ 100); decrease = B × (1 − X ÷ 100)
- Undo an increase by dividing: 1,380 ÷ 1.15 = 1,200, not 1,380 × 0.85
X% of B
part = B × X ÷ 100
1,200 × 15 ÷ 100 = 180
A as a percent of B
percent = A ÷ B × 100
45 ÷ 180 × 100 = 25%
Whole from a part
whole = A ÷ X × 100
45 ÷ 15 × 100 = 300
Increase by X%
new = B × (1 + X ÷ 100)
1,200 × 1.15 = 1,380
Decrease by X%
new = B × (1 − X ÷ 100)
1,200 × 0.85 = 1,020
One online store, five percentage questions
The same shop’s numbers answer every mode of the calculator.
| Question | Mode | Inputs | Answer |
|---|---|---|---|
| Sales tax on a $1,200 order at 8% | X% of B | 8%, 1,200 | $96 |
| Conversion rate: 340 orders from 12,500 sessions | A is what % of B | 340, 12,500 | 2.72% |
| Total sessions if 4,200 mobile sessions are 60% | A is X% of what | 4,200, 60% | 7,000 |
| Price after a 15% increase on $40 | Increase by X% | 40, 15% | $46 |
| Price after a 25% discount on $46 | Decrease by X% | 46, 25% | $34.50 |
The last two rows show why a rise and a fall of similar size do not cancel: +15% then −25% leaves $34.50, below the original $40. Sample figures.
Where percentage maths goes wrong
The arithmetic is simple; choosing the right base is not.
Wrong base
“A is what percent of B” divides by B. 45 of 180 is 25%, but 180 is 400% of 45. Say which number is the whole.
Undoing with the same percent
A 20% rise then a 20% cut leaves 96% of the start. To reverse +20%, divide by 1.2, which is a 16.7% cut.
Points vs percent
A rate going from 4% to 5% is up 1 percentage point and up 25%. Use the percentage change calculator for the relative change.
Adding stacked discounts
10% off and then another 10% off is 19% off, not 20%: the second discount applies to the reduced price.
Percentages computed from your own events
Conversion rates, shares of traffic and growth percentages in TapCub come from one definition of each event, so the part and the whole are always counted the same way.
Percentage calculator questions
Still have a question?
Chat with the team behind TapCub — we usually reply within a few hours on business days.
How do I calculate a percentage of a number?
Multiply the number by the percentage and divide by 100. 15% of 1,200 is 1,200 × 15 ÷ 100 = 180. In the calculator choose “What is X% of B?”.
How do I work out what percent one number is of another?
Divide the part by the whole and multiply by 100. 45 out of 180 is 45 ÷ 180 × 100 = 25%. Choose “A is what percent of B?”. The whole goes in B.
How do I find the total when I know a part and its percentage?
Divide the part by the percentage and multiply by 100. If 45 is 15% of the total, the total is 45 ÷ 15 × 100 = 300. Choose “A is X% of what?”.
How do I add or subtract a percentage from a number?
Multiply by 1 plus or minus the percentage as a decimal. 1,200 + 15% = 1,200 × 1.15 = 1,380; 1,200 − 15% = 1,200 × 0.85 = 1,020.
How do I remove a percentage that was already added, like tax?
Divide by 1 plus the rate. A $1,080 price that includes 8% tax was $1,080 ÷ 1.08 = $1,000 before tax. Subtracting 8% of $1,080 gives $993.60, which is wrong because the tax was 8% of the smaller number.
How is this different from the percentage change calculator?
This calculator answers “what is X% of Y” style questions. When you have an old and a new value and want the increase or decrease between them, use the percentage change calculator: it divides by the old value and handles negatives.
Can I enter numbers with commas or a percent sign?
Yes. 1,200, 1 200 and 15% are all read correctly, as are full-width digits. Results use the number format of the page language.
What about negative numbers?
B and A can be negative. Increasing or decreasing a negative B follows the same rule as the percentage change calculator: the amount is measured on the size of B, so −200 increased by 10% is −180.
Is this tool working for you?
Rate it, or tell us what went wrong and what you’d like improved. A person reads every message, and frequent requests go into the next update.
Need help right now?
Chat with our support team, best for urgent problems; you can leave a message when we are offline.
Chat with supportUpdate history
New features, fixes and data refreshes for this tool, newest first.
-
· v1.0
LaunchedFirst release.
Missing something or found an error? Tell us — requests that come up often go into the next update. All tool updates
Recommend this tool in an article or on your site
This tool is free to cite and share. Copy the URL or link below into your article, tutorial or resource page; to write a review, embed a tool or partner with us, get in touch.
https://tapcub.com/tools/percentage-calculator<a href="https://tapcub.com/tools/percentage-calculator">Percentage calculator - TapCub</a>From one percentage to a trend
A single percentage describes one moment. To compare periods or project growth, use the calculators below.