Percentage Calculator

This percentage calculator works out a percentage of a number, what percent one number is of another, or the whole when you only know a part and its percentage.

Percentage Calculator inputs

What do you want to calculate?

What is X% of Y?

Result

Enter your values to see the result.

  • Formula v1.0, unit-tested
  • Examples generated by the calculator
  • Updated
  • How we calculate
On this page

Formula

Part = (Percentage ÷ 100) × Whole

Part
the portion you are measuring
Percentage
how many hundredths of the whole the part represents
Whole
the total the percentage is taken from

What a percentage means

“Percent” means “per hundred”. 36% is 36 out of every 100, which you can also write as the fraction 36/100 or the decimal 0.36. Because every percentage is a fraction of 100, percentages let you compare proportions of totals that are very different sizes. For example, 9 out of 25 and 360 out of 1,000 are both 36%.

The three percentage questions

Almost every everyday percentage problem is one of three questions. Each one rearranges the same relationship, so you only need to remember one formula.

You know You want Calculation
The percentage and the whole The part (Percentage ÷ 100) × Whole
The part and the whole The percentage (Part ÷ Whole) × 100
The part and the percentage The whole Part ÷ (Percentage ÷ 100)

Choose the matching tab in the percentage calculator above. The labels say which number goes where, so you don’t need to rearrange anything yourself.

How to use the percentage calculator

  1. Pick the question you’re answering: X% of Y, X is what % of Y, or X is P% of what.
  2. Type the two numbers you know. You can use commas as thousands separators, such as 12,500.
  3. The answer updates as you type. The working line underneath shows the exact sum, so you can check it or copy it into your notes.
  4. Use Copy result to copy the answer as a sentence, or Share to send a link that opens the calculator with the same numbers.

In the X% of Y mode you also see the whole increased and decreased by the percentage. This is handy for adding sales tax or applying a discount in one step.

How to calculate a percentage by hand

Each of the three questions takes one or two steps on paper. The trick is to turn the percentage into a decimal first by dividing it by 100, which moves the decimal point two places to the left: 35% becomes 0.35, 4.5% becomes 0.045.

Finding a percentage of a number

To find 35% of 260, convert 35% to 0.35 and multiply: 0.35 × 260 = 91. If you’d rather avoid decimals, divide by 100 first and then multiply: 260 ÷ 100 = 2.6, and 2.6 × 35 = 91.

Finding what percent one number is of another

To find what percent 18 is of 72, divide the part by the whole, then multiply by 100: 18 ÷ 72 = 0.25, and 0.25 × 100 = 25%. The number after “of” is almost always the whole, so it goes on the bottom.

Finding the whole from a part

If 54 is 45% of some number, divide the part by the percentage as a decimal: 54 ÷ 0.45 = 120. To check, take 45% of 120, which gives 54 again.

Common percentages of common numbers

This table covers the percentages that come up most often in shopping, tipping and grading. Read across from the percentage and down from the number.

Percentage of 20 of 50 of 80 of 120 of 250 of 1,000
1% 0.2 0.5 0.8 1.2 2.5 10
5% 1 2.5 4 6 12.5 50
10% 2 5 8 12 25 100
15% 3 7.5 12 18 37.5 150
18% 3.6 9 14.4 21.6 45 180
20% 4 10 16 24 50 200
25% 5 12.5 20 30 62.5 250
30% 6 15 24 36 75 300
40% 8 20 32 48 100 400
50% 10 25 40 60 125 500
75% 15 37.5 60 90 187.5 750

Because percentages scale in a straight line, you can combine rows. 35% of 80 is 30% of 80 plus 5% of 80: 24 + 4 = 28.

Mental math shortcuts

  • 10% and 1%. Move the decimal point one place left for 10% and two places left for 1%. 10% of 64 is 6.4, and 1% is 0.64.
  • 5% is half of 10%. For 15%, add 10% and 5%. For 20%, double 10%.
  • Fractions you already know. 50% is a half, 25% is a quarter, 20% is a fifth and 75% is three quarters. A quarter of 360 is 90, so 25% of 360 is 90.
  • Swap the numbers. 4% of 75 is the same as 75% of 4, which is 3. Pick whichever order is easier.
  • Add or remove in one multiplication. To add 7%, multiply by 1.07. To take 30% off, multiply by 0.70. This skips the separate subtraction.

Real-life uses

Percent off: discounts and sales tax

A store sign says 30% off a $120 coat. Ten percent of 120 is 12, so 30% is 36, and you’d pay $84. Sales tax works the other way: at a 7% rate, a $45 purchase costs 45 × 1.07 = $48.15. When a price tag already includes tax and you want the pre-tax amount, divide. An item costing $54 including 8% tax was $54 ÷ 1.08 = $50 before tax.

Tip percentages

For a 20% tip on a $38 bill, take 10% ($3.80) and double it to get $7.60. For 15%, add half of the 10% figure to itself: $3.80 + $1.90 = $5.70. Many people tip on the pre-tax total, so if your receipt separates tax, use the subtotal.

Percentages for grades and test scores

If you scored 46 out of 50, divide 46 by 50 and multiply by 100 to get 92%. The same method works with any number of questions, which is why percentages are used to compare tests of different lengths. To combine several tests into one grade, average the scores with the average calculator, or weight them by points if the tests count differently.

Commission, fees and interest

A real estate agent earning 3% commission on a $320,000 sale receives $9,600. A 2.9% card processing fee on a $250 order is $7.25. Percentages of money that grow over time, such as interest, are handled by the simple interest calculator and the compound interest calculator.

Nutrition labels

The % Daily Value on a U.S. food label is a percentage of a reference amount. The Daily Value for sodium is 2,300 mg, so a serving with 460 mg of sodium shows 20%. Put 460 and 2,300 into the “X is what % of Y” mode to check.

Common mistakes

  • Taking the percentage of the wrong number. In “what percent of the class passed?”, the whole is the number of students in the class, not the number who passed.
  • Mixing up percentages and percentage points. If an interest rate moves from 4% to 5%, it rose by 1 percentage point. That’s a 25% increase in the rate itself. For that kind of comparison, use the percentage change calculator.
  • Undoing a percentage with the same percentage. A 20% discount followed by a 20% markup doesn’t return the original price: 100 → 80 → 96. To undo a percentage, use the “X is P% of what” mode.
  • Adding stacked discounts. “20% off, then an extra 10% off” is not 30% off. The second discount applies to the already reduced price, so you pay 0.80 × 0.90 = 0.72 of the original, a 28% discount in total.
  • Subtracting tax to remove it. Taking 8% off a $54 tax-inclusive price gives $49.68, not the correct $50, because the tax was 8% of the pre-tax price, not of the total.

Worked examples

A tip on a restaurant bill

You want to leave an 18% tip on a $64.50 bill.

Inputs (X% of Y): Percentage = 18 %; Of the number = 64.50

(18 ÷ 100) × 64.5 = 11.61

Answer: 18% of 64.5 is 11.61.

A test score as a percentage

You answered 42 out of 48 questions correctly.

Inputs (X is what % of Y): Part (X) = 42; Whole (Y) = 48

(42 ÷ 48) × 100 = 87.5

Answer: 42 is 87.5% of 48.

Finding the original total

A $27 deposit is 15% of the total price. What is the total?

Inputs (X is P% of what): Part (X) = 27; Percentage (P) = 15 %

27 ÷ (15 ÷ 100) = 180

Answer: 27 is 15% of 180.

A sale discount

An $85 jacket is marked 30% off. How much do you save, and what do you pay?

Inputs (X% of Y): Percentage = 30 %; Of the number = 85

(30 ÷ 100) × 85 = 25.5

Answer: 30% of 85 is 25.5.

Assumptions and limitations

  • Results and percentages are shown to up to 4 decimal places. Enter more precise inputs if you need more precision.
  • Negative numbers and decimals are allowed in every mode. A negative percentage of a positive number gives a negative result.
  • Percentages above 100 are allowed. 150% of a number is one and a half times that number.
  • In the "X is what % of Y" mode the whole can't be 0, and in the "X is P% of what" mode the percentage can't be 0, because both would mean dividing by zero.
  • In the "X% of Y" mode, the number increased and decreased by the percentage is shown too. These are simple one-step adjustments, not compounded changes.

Frequently asked questions

How do I calculate a percentage of a number in my head?

Find 10% by moving the decimal point one place left, then scale. For 15% of 240, 10% is 24, 5% is half that (12), so 15% is 36.

How do you find the percentage of two numbers?

Divide the part by the whole and multiply by 100. 18 out of 24 is 18 ÷ 24 × 100 = 75%. Use the "X is what % of Y" mode, with the number after "of" as the whole.

How do I add a percentage to a number, such as sales tax?

Multiply by 1 plus the percentage as a decimal. Adding 7% tax to $45 is 45 × 1.07 = $48.15. The X% of Y mode shows this figure directly as the number plus the percentage.

How do I find the original price before a discount?

Divide the sale price by what's left after the discount. If $68 is the price after 15% off, you paid 85% of the original, so the original was 68 ÷ 0.85 = $80. Use the "X is P% of what" mode with 68 and 85.

Can a percentage be more than 100%?

Yes. A percentage above 100 means the part is larger than the whole you are comparing it with. 150% of 150 is 225, and if you score 60 points against a target of 48, you reached 125% of the target.

How do you calculate a percentage increase?

Subtract the old value from the new one, divide by the old value and multiply by 100. A rise from 80 to 92 is 12 ÷ 80 × 100 = 15%. The [percentage change calculator](/percentage-change-calculator/) does this for you and handles decreases too.

What's the difference between a percent and a percentage point?

A percent is a share of something. A percentage point is the simple gap between two percentages. A rate that moves from 4% to 5% rose by 1 percentage point, which is a 25% increase in the rate itself.

Tip Calculator

Tip, total and per-person share, with a round-up option.

Everyday Life