Percentage Calculator

Answer any percentage question with written steps: P% of a number, what percent one number is of another, the whole from a part and its percent, a number plus or minus a percentage, and percent to decimal or decimal to percent. For an old-to-new comparison, use the Percent Change Calculator.

What is P% of X?
30
20% of 150 = 30
Percent as a decimal0.2
The rest (80% of 150)120

Formula: P% of X = (P ÷ 100) × X

Results update as you type
Step by step
  1. Convert the percent to a decimal: 20 ÷ 100 = 0.2
  2. Multiply by the number: 0.2 × 150 = 30

What this calculator does

This percent calculator answers the common percentage questions in one place: a percent of a number, what percent one number is of another, the whole when you know a part and its percent (a reverse percentage), a number plus or minus a percentage, and percent to decimal conversions. Each answer shows the formula and every step with your numbers.

For a change between an old and a new value, use the Percent Change Calculator, the Percentage Increase Calculator or the Percentage Decrease Calculator. To compare two values with no starting point, use the Percentage Difference Calculator. For shopping prices, use the Percent Off Calculator or the Discount Calculator.

Percentage formula

Percent of the whole: P = (part ÷ whole) × 100

Part from a percent: part = (P ÷ 100) × whole

Whole from a part: whole = part ÷ (P ÷ 100)

Add or subtract a percentage: X × (1 + P ÷ 100) and X × (1 − P ÷ 100)

For 20% and 150: part = 0.2 × 150 = 30; P = (30 ÷ 150) × 100 = 20%; whole = 30 ÷ 0.2 = 150.

Variable definitions

  • P: The percent (20 means 20%, which is 0.2 as a decimal).
  • part: The amount that is P% of the whole (X in the calculator).
  • whole: The full amount, which is 100% (Y in the calculator).
  • X: The number you start from when adding or subtracting a percent.

How to calculate a percentage

Almost every percentage question is one of three types. If you are learning how to calculate percentage problems by hand, pick the type first, then use its formula; this is also how to calculate a number as a percentage of another.

What is P% of a number?

Divide the percent by 100 and multiply by the number: part = (P ÷ 100) × whole.

  1. Convert the percent to a decimal: 15 ÷ 100 = 0.15
  2. Multiply by the number: 0.15 × 240 = 36

What percent is one number of another?

Divide the part by the whole and multiply by 100: P = (part ÷ whole) × 100.

  1. Divide the part by the whole: 36 ÷ 240 = 0.15
  2. Multiply by 100: 0.15 × 100 = 15%

A number is P% of what?

Divide the part by the percent as a decimal: whole = part ÷ (P ÷ 100). This is the reverse percentage, used to find an original amount.

  1. Convert the percent to a decimal: 15 ÷ 100 = 0.15
  2. Divide the part by it: 36 ÷ 0.15 = 240

Worked example

Add 20% to 150:

  1. Convert the percent to a decimal: 20 ÷ 100 = 0.2
  2. Find 20% of 150: 0.2 × 150 = 30
  3. Add it to the number: 150 + 30 = 180
  4. Same in one step: 150 × (1 + 0.2) = 150 × 1.2 = 180

Subtract 20% from 150: 150 × 0.8 = 120.

Small numbers stay exact: 7% of 3 = 0.21, shown as 0.21, with no binary rounding error.

How to use this calculator

  1. Choose the question type in the first box.
  2. Enter the numbers. Decimals, negatives and large numbers such as 1e12 are accepted.
  3. Pick how many decimals to show (2 to 6).
  4. Read the answer, the formula recap and the written steps.
  5. Use Copy or Share to send the result with its formula.

Common mistakes

  • Forgetting to divide by 100: 15% is 0.15, not 15, when multiplying.
  • Swapping part and whole: 36 is 15% of 240, but 240 is 666.6667% of 36.
  • Undoing a percentage with the same percent: 150 − 20% = 120, but 120 + 20% = 144, not 150, because the second 20% is taken of a smaller number.
  • Confusing percent with percentage point: going from 8% to 10% is a 2 percentage-point rise, but a 25% increase.
  • Slope as a percent: a roof or ramp slope of 4:12 is a 33.3% grade (rise ÷ run × 100). Use the roof pitch calculator for rise/run conversions.

Percentage points vs percent

A percentage point is the plain difference between two percentages. A percent change compares that difference with the starting percentage. If a rate goes from 4% to 5%, it rose by 1 percentage point, but by 25% in relative terms (1 ÷ 4 × 100 = 25%).

News reports often mix the two, so check which one is meant. For the relative change between any two values, use the Percent Change Calculator.

Percent to decimal and decimal to percent

To turn a percent into a decimal, divide by 100 (move the decimal point two places to the left): 25% = 0.25 and 7.5% = 0.075. To turn a decimal into a percent, multiply by 100 (move it two places to the right): 0.075 = 7.5% and 1.25 = 125%. Choose Percent to decimal or decimal to percent in the calculator to convert either way.

Percent shortcuts

  • 10%: move the decimal point one place left. 10% of 80 = 8.
  • 5%: half of 10%. 5% of 80 = 8 ÷ 2 = 4.
  • 1%: divide by 100. 1% of 80 = 0.8.
  • 20%: double 10%. 20% of 80 = 8 × 2 = 16.
  • 15% tip: 10% plus 5%. On a 48 bill: 4.8 + 2.4 = 7.2. The Tip Calculator also splits the bill.

How to calculate percentages in Excel and Google Sheets

Typing 20% into a cell stores 0.2, so formulas need no ÷ 100. With 150 in A2 and 20% in B2:

QuestionFormulaResult
20% of 150=A2*B230
What percent 30 (A2) is of 150 (B2)=A2/B2, formatted as percent20%
30 (A2) is 20% (B2) of what=A2/B2150
150 plus 20%=A2*(1+B2)180
150 minus 20%=A2*(1-B2)120

To show a decimal such as 0.2 as 20%, use the % button (Excel: Home tab; Google Sheets: toolbar) or Format, Number, Percent. Formatting only changes how the value looks; the cell still holds 0.2.

Browse the math calculators for related percentage, statistics and measurement tasks.

Frequently asked questions

›How do I calculate a percentage of a number?

Divide the percent by 100 and multiply by the number. 20% of 150 = 0.2 × 150 = 30, and 15% of 240 = 0.15 × 240 = 36.

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

Divide the part by the whole and multiply by 100. 30 is what percent of 150? 30 ÷ 150 × 100 = 20%. 36 of 240 is 15%.

›How do I find the original number from a percentage?

Divide the part by the percent written as a decimal. 30 is 20% of what? 30 ÷ 0.2 = 150. After an increase, divide by the multiplier instead: if a number is 180 after adding 20%, the original is 180 ÷ 1.2 = 150.

›How do I add a percentage to a number?

Multiply the number by 1 plus the percent as a decimal. 150 + 20% = 150 × 1.2 = 180. To subtract, multiply by 1 minus the decimal: 150 − 20% = 150 × 0.8 = 120.

›What is the difference between percentage and percentage points?

A percentage point is the plain gap between two percentages; a percent change compares that gap with the starting value. From 4% to 5% is 1 percentage point but a 25% rise; from 8% to 10% is 2 points, a 25% rise.

›How do I calculate a percentage on a calculator?

Type the part, press ÷, type the whole, press ×, type 100 and press =. For 30 out of 150: 30 ÷ 150 × 100 = 20, so the answer is 20%. For P% of a number, type the number × P ÷ 100 =.

›Can the percent be greater than 100?

Yes. 150% of 40 = 1.5 × 40 = 60. A percent above 100 gives more than the whole number.

›Can I use negative numbers?

Yes. A negative percent or number gives a result with the opposite sign: −20% of 50 = −10. Subtracting more than 100% also gives a negative result: 200 − 150% = −100.

›How do I write a percent as a fraction?

Put the percent over 100 and simplify. 25% = 25/100 = 1/4, and 150% = 150/100 = 3/2. When adding fractions with different denominators, the LCM Calculator finds the least common denominator before you combine them.

›Which calculator should I use for sale prices or a change between two numbers?

This page answers general percentage questions. For a sale price, use the Percent Off or Discount Calculator. To compare an old and a new value, use the Percent Change, Percentage Increase or Percentage Decrease Calculator, and for two values with no starting point use the Percentage Difference Calculator.

›How are the results shown?

The math is exact: numbers are read exactly as typed, so 7% of 3 is exactly 0.21 (no 0.21000000000000002). The answer is shown to the decimals you pick (2 to 6) with trailing zeros removed, and a ≈ sign marks answers that repeat forever, such as 1 ÷ 3.

Related calculators

If this helped, the following calculators are useful for everyday math problems:

Last updated: November 14, 2026 · Checked against standard formulas and sample test cases.

Numbers are read exactly as typed and every result is worked out with exact whole-number arithmetic, so no binary rounding errors appear (7% of 3 is exactly 0.21). Only the displayed answer is shortened to the decimals you choose.