Percentage calculator: what is X percent of Y?
Pick your question, type two numbers, and get the answer with the steps written out: a percent of a number, what percent one number is of another, or the total a percentage came from.
Percentage calculator
I want to know what 20% of 150 is.
Answer
30
20% of 150 is 30.
- 120Left after taking 20% off 150
- 180150 plus 20%
- 1.51% of 150
- 0.220% as a decimal
How the percentage calculator works it out
- Write the percent as a decimal: 20% = 20 ÷ 100 = 0.2.
- Multiply it by the number: 0.2 × 150 = 30.
- Check: 30 ÷ 150 = 0.2, which is 20%.
Common percentages of the whole (the number that counts as 100%). The marked row is your percentage.
| Percent | Value |
|---|---|
| 5% | 7.5 |
| 10% | 15 |
| 15% | 22.5 |
| 20% | 30 |
| 25% | 37.5 |
| 30% | 45 |
| 50% | 75 |
| 75% | 112.5 |
| 100% | 150 |
Need help with the percentage calculator calculation?
Video coming soon. Until then, the steps above show the count with your own numbers, and the worked examples below cover the cases where people most often go wrong.
How to use the percentage calculator
- Question: choose X% of Y to take a percentage of a number, X is ?% of Y to turn a part into a percent, or X is Y% of ? to find the total.
- First number: type the percent (for X% of Y) or the part you have. You can type 1,250, $80 or 15%; the signs are ignored.
- Second number: type the whole, or the percent the part stands for. The labels under the question change to say which.
- Examples: tap a tip, a sales tax, a test score or a reverse percentage to see how each question works, then type your own numbers.
When a percentage calculator comes in handy
Use the percentage calculator for a tip at a restaurant, the sales tax on a purchase, a discount in a store, a test score, a commission, the share of a budget, or how much of a goal you have reached. The third question works backwards: if $30 is the 20% deposit, the full price is $150.
To see how much a number went up or down in percent, use a percent change calculator. For hours on a pay slip, the time card calculator works out the pay to which you can then apply a percentage. Fractions, averages and ratios are on the math calculators page.
Percentage calculator: at a glance
What it does
Answers the three percentage questions: a percent of a number, what percent a part is of a whole, and the whole when you know a part and its percent.
Who it's for
Shoppers checking a discount, diners working out a tip, students checking grades, and anyone splitting a bill, a budget or a commission.
Watch out for
Know which number is the whole. 20 is 25% of 80, but 80 is 400% of 20: swapping the numbers gives a very different answer.
How the percentage calculator works
Percent means “per hundred”, so 20% is 20 out of every 100, or the decimal 0.2. All three questions use the same relation: part = percent ÷ 100 × whole. Each question gives you two of the three numbers and asks for the third.
- X% of Y: multiply. Part = X ÷ 100 × Y.
- X is what percent of Y: divide and multiply by 100. Percent = X ÷ Y × 100.
- X is Y% of what: divide by the decimal. Whole = X ÷ (Y ÷ 100).
With your numbers: 20 × 150 ÷ 100 = 30.
The calculator works with up to 4 decimals in the answer and says when it has rounded. A percentage can be more than 100 (250 is 125% of 200) or negative (a loss), and the same rule still holds.
Percentage calculator: worked examples
What is a 15% tip on an $80 bill?
15% is 0.15, and 0.15 × 80 = $12. The total with the tip is $92.
Common mistake: multiplying by 15 instead of 0.15 and getting $1,200. Divide the percent by 100 first.
I scored 45 out of 60 on a test. What percent is that?
45 ÷ 60 = 0.75, and 0.75 × 100 = 75%.
Common mistake: dividing 60 by 45 (133%). The part goes on top and the whole goes underneath.
A $30 deposit is 20% of the price. What is the full price?
20% is 0.2, and 30 ÷ 0.2 = $150. Check: 20% of $150 is $30.
Common mistake: taking 20% of 30 ($6) or adding 20% to 30 ($36). The $30 is the part, so divide by the percent.
What is 8.25% sales tax on $120?
8.25 ÷ 100 = 0.0825, and 0.0825 × 120 = $9.90, so you pay $129.90 in total.
Common mistake: writing 8.25% as 0.825. Moving the decimal point two places gives 0.0825.
Video: using a percentage calculator
A percentage calculator in Excel and Google Sheets
Type the first number in A2 and the second in B2. Spreadsheets also understand the % sign, so =20%*150 gives 30, and a cell formatted as a percentage shows 0.2 as 20%.
Read the table row by row: each row is one cell of your sheet, what to put in it and an example.
| Cell | What goes in it | Example |
|---|---|---|
| A2 | Percent, or the part | 20 |
| B2 | The whole, or the percent | 150 |
| C2 | X% of Y | =A2*B2/100 |
X% of Y
=A2*B2/100 X is what percent of Y
=A2/B2*100 X is Y% of what number
=A2/(B2/100) Percent of a total, shown with a % sign
=TEXT(A2/B2,"0.00%") If B2 can be 0, wrap the dividing formulas in IFERROR, for example =IFERROR(A2/B2*100,"") so the cell stays empty instead of showing #DIV/0!.
Percentage calculator: frequently asked questions
How do I calculate a percentage of a number?
Divide the percentage by 100 and multiply by the number. 20% of 150 is 20 ÷ 100 × 150 = 30.
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 60 is 45 ÷ 60 × 100 = 75%.
How do I find the original number from a percentage?
Divide the part by the percent as a decimal. If 30 is 20%, the whole is 30 ÷ 0.2 = 150.
Can a percentage be more than 100?
Yes. More than 100% means more than the whole: 250 is 125% of 200, and 150% of 40 is 60.
Is X% of Y the same as Y% of X?
Yes, they are always equal, because both are X × Y ÷ 100. 8% of 50 is 4, and so is 50% of 8, which can make mental math easier.
Why does the answer say “rounded”?
Some answers never end, such as 1 out of 3 = 33.333…%. The calculator shows up to 4 decimals and says so when it has rounded.
Other math calculators
More math calculators are on the way. See the math category or all calculators from A to Z.
Related calculators
Report a problem with this calculator · Sponsor this calculator