BerryCalc

Percentage Calculator

Find a percentage of a number, what percent one number is of another, or the whole from a part — with every step shown.

What do you want to find?

Updated November 20, 2026Runs in your browser — nothing you type is uploaded

How to use the percentage calculator

Pick the question you are asking, type two numbers, and the answer appears as you type. The tape on the right shows the result and every step of the working, so you can check the math or copy it into homework, a spreadsheet or a message.

  1. X% of Y — finds a share of a number, such as 15% of 240. Use it for tips, tax, commission, or how many points a percentage grade is worth.
  2. X is what % of Y — turns a part and a whole into a percentage, such as 18 out of 72. Use it for test scores, survey results or how much of a budget is spent.
  3. X is Y% of what — works backwards from a part to the whole, such as "45 is 30% of what?". Use it when you know a deposit or a discount and need the full amount.

Commas, dollar signs and % signs are ignored, so you can paste numbers like $1,280 or 7.5%. Decimals and negative numbers work too.

Percentage formulas

A percentage is a number out of 100. "Per cent" means "per hundred", so 25% is 25 ÷ 100 = 0.25. Every percentage question is one of three rearrangements of the same formula:

Question Formula Example
What is X% of Y? Y × X ÷ 100 15% of 240 = 240 × 15 ÷ 100 = 36
X is what % of Y? X ÷ Y × 100 18 ÷ 72 × 100 = 25%
X is Y% of what? X ÷ (Y ÷ 100) 45 ÷ 0.30 = 150

The part, the whole and the percentage are always linked as part = whole × percentage ÷ 100. If you know any two, the percentage calculator finds the third.

Worked examples

Restaurant tip. 20% of a 64.50 bill is 64.50 × 20 ÷ 100 = 12.90. For a full tip breakdown with a split between friends, the tip calculator does the rest.

Test score. You got 42 questions right out of 48. 42 ÷ 48 = 0.875, and 0.875 × 100 = 87.5%.

Sales tax. 7.5% of 1,280 is 1,280 × 0.075 = 96. The total with tax is 1,280 + 96 = 1,376. The calculator shows that "plus X%" total under the answer.

Working back to the whole. A 45 deposit is 30% of the price. 45 ÷ 0.30 = 150, so the full price is 150. The check line on the tape confirms that 30% of 150 is 45.

Part of a group. 3 out of 8 people chose the vegetarian option. 3 ÷ 8 × 100 = 37.5%, and the remaining share is 62.5%.

Percentage of a number in your head

Some shortcuts make quick checks easy:

Percentage change and percentage points

This page answers "part of a whole" questions. If you want to know how much something went up or down — a price rising from 80 to 100, a salary raise, a drop in sales — use the percentage increase calculator. It divides the change by the starting value, which is a different question.

Also watch the difference between percent and percentage points. If an interest rate goes from 4% to 5%, it rose by 1 percentage point, but by 25 percent (1 ÷ 4 × 100). News reports mix these up often.

For prices with "% off" stickers, including two discounts stacked on top of each other, try the discount calculator.

Rounding

The percentage calculator keeps up to six decimal places in the answer and shows more in the working, so you can round to whatever your teacher, receipt or report needs. Money is normally rounded to two decimals; grades are often rounded to one.

Percentage Calculator FAQ

How do I calculate a percentage of a number?

Multiply the number by the percentage and divide by 100. For example, 15% of 240 is 240 × 15 ÷ 100 = 36.

How do I find what percent one number is of another?

Divide the part by the whole and multiply by 100. For example, 18 out of 72 is 18 ÷ 72 × 100 = 25%.

How do I find the whole if I know the part and the percentage?

Divide the part by the percentage written as a decimal. If 45 is 30% of a number, the number is 45 ÷ 0.30 = 150.

Is X% of Y the same as Y% of X?

Yes. Both equal X × Y ÷ 100, so 8% of 50 and 50% of 8 are both 4. Swapping the numbers can make mental math easier.

What is the difference between percent and percentage points?

Percentage points measure the gap between two percentages; percent measures the relative change. A rate going from 4% to 5% rose by 1 percentage point, which is a 25% increase.

Does the percentage calculator store my numbers?

No. The calculation runs in your browser and nothing you type is sent to a server or saved.