Skip to main content

Notice Send us your feedback to help us improve this service.

General Percentage

Calculate X% of Y, or what percent X is of Y.

What this calculator does

This tool answers the two percentage questions people ask most. What is X% of Y? And X is what percent of Y?

Use the first to work out a tip, a sales tax or a discount. Use the second to turn a test mark into a percentage, or to see what share of your budget goes to rent. Pick the question, enter two numbers, and the answer appears.

How we work it out

To find X% of Y, we turn the percent into a decimal by dividing it by 100, then multiply by Y. So 15% becomes 0.15, and 15% of 80 is 0.15 × 80, which is 12.

To find what percent X is of Y, we divide X by Y and multiply by 100. Y cannot be zero for this question, because you cannot divide by zero. Both answers are rounded to two decimal places.

Pick the right question

Choose X% of Y when you know the percent and want an amount. A tip on a restaurant bill, the tax on a purchase and the savings from a sale all work this way. The answer is in the same unit as Y. If Y is in dollars, the answer is in dollars.

Choose X is what % of Y when you know two amounts and want the percent. Put the part in X and the whole in Y. A mark of 42 out of 50 means X is 42 and Y is 50, which gives 84%. If X is bigger than Y, the answer is more than 100%.

Quick checks you can do in your head

  • For 10%, move the decimal point one place left. 10% of $45 is $4.50.
  • For 5%, find 10% and halve it.
  • For 50%, halve the number. For 25%, halve it twice.
  • For 1%, move the decimal point two places left.

If the calculator's answer is far from your rough guess, check that X and Y are in the right boxes.

Common mistakes

Taking a percent off a price that already includes tax does not undo the tax. A $113 price with Ontario's 13% HST was $100 before tax. Taking 13% off $113 gives $98.31, which is too low. To remove a tax, divide by 1.13 instead. You can type 113 / 1.13 into the scientific calculator to do this.

In the same way, a 13% discount followed by 13% tax does not bring you back to the starting price. The tax is worked out on the smaller, discounted amount. Work each step on its own, one after the other.

What this does not include

  • Percentage change between two numbers, which has its own calculator
  • Working backward from a price that already includes tax or a discount
  • Several percentages in a row, such as a discount followed by sales tax
  • Units or currency; the answer is a plain number in the same unit as Y
  • More than two decimal places; every answer is rounded to two

Common questions

How do I work out a tip?

Use the first option, X% of Y. Put the tip percent in X and the bill in Y. A 15% tip on an $80 bill is $12. Some people tip on the amount before tax, so use the subtotal from your bill if that is your habit. The tip calculator can also split the bill between people.

How do I turn a test mark into a percentage?

Choose X is what % of Y. Put your score in X and the total marks in Y. A score of 42 out of 50 gives 84%. If a test has bonus marks and you score above the total, the answer will be more than 100%, which is correct.

Can a percentage be more than 100%?

Yes. In the first option, any X above 100 gives an answer bigger than Y, so 150% of 100 is 150. In the second option, any X larger than Y gives more than 100%. This is common when you compare a new amount with an old one that was much smaller.

What is the difference between percent and percentage points?

Percentage points measure the gap between two percentages. If an interest rate moves from 4% to 5%, it has gone up by one percentage point. Measured as a percent of where it started, it has gone up by 25%, because 1 is a quarter of 4. News stories sometimes mix these up.

Can I use decimals or negative numbers?

Yes. You can type decimals in either box. For example, 2.5% of 1000 is 25. Negative numbers also work, which helps with losses or refunds. In the second option, Y cannot be zero, since no amount can be a percent of nothing.

Sources

Last reviewed October 18, 2026. How we check our numbers.

This is an estimate to help you plan. It is not financial, medical, or legal advice. Talk to a professional before you make a big decision.

Add this calculator to your website

Free to use on your site, blog or intranet. Paste this code where you want the calculator to appear. It works on its own, sets no cookies and shows no ads.