TechBuzzPro

Excel Percentage Formula: Calculate Any Percentage

· 6 min read · Apps & Browsers

In this article
  1. How Excel percentages work
  2. Find what percentage one value is of another
  3. Calculate percentage increase or decrease
  4. Apply a percentage to a price or amount
  5. Enter, format, and copy percentage formulas
  6. Common percentage formula problems
  7. Frequently Asked Questions

To calculate a percentage of a value in Excel, multiply the value by the percentage: if A2 contains 200 and B2 contains 15%, enter =A2*B2 in C2; the result is 30. To find what percentage one number is of another, divide the part by the total, such as =A2/B2, then format the result as a percentage.

How Excel percentages work

Excel stores percentages as decimal values: 100% is 1, 50% is 0.5, and 15% is 0.15. When you type 15% into a cell, Excel interprets it as 0.15. Multiplying 200 by 0.15 therefore returns 30. Applying Percentage format changes how a number is displayed; it does not change the underlying value used in calculations.

You can enter a percentage directly in a formula, but a cell reference is usually easier to update and reuse. For example, with an amount in A2 and a rate in B2, enter =A2*B2 in C2. If B2 contains 15%, C2 returns 30 when A2 is 200. If B2 instead contains the number 15, the formula returns 3,000—not 30—because Excel treats 15 as fifteen, or 1,500%, rather than 15%.

Find what percentage one value is of another

To express a part as a percentage of a total, divide the part by the total. With the part in A2 and the total in B2, enter =A2/B2 in C2. If A2 is 30 and B2 is 200, the result is 0.15; apply Percentage format to show 15%.

In Excel for Microsoft 365 on Windows, select the result cell and choose Home > Number > Percent Style. The keyboard shortcut is Ctrl+Shift+%. On Mac, use Command+Shift+%. Excel for the web also has a Percent Style button on the Home tab. Formatting is optional for the calculation, but it makes the result easier to read. You can choose the number of decimal places with the Increase Decimal or Decrease Decimal controls on the Home tab.

For totals that could be zero or blank, guard against a division error. With the part in A2 and the total in B2, use =IFERROR(A2/B2,0) to display 0 when the division cannot be completed. This can conceal issues in the source data, however; if a zero total should be investigated, displaying a message may be clearer. With those same cells, use =IFERROR(A2/B2,"Check total").

Calculate percentage increase or decrease

To measure how much a value changed relative to its starting value, subtract the old value from the new value, then divide by the old value. With the original amount in A2 and the new amount in B2, enter =(B2-A2)/A2 in C2 and format C2 as a percentage. If A2 is 80 and B2 is 100, the result is 25%, because the increase of 20 is one-quarter of the starting 80.

A negative result indicates a decrease. If the original value is 100 and the new value is 80, the formula returns -20%. This is a relative change, not the difference in percentage points. For example, a rate that rises from 10% to 12% increases by 2 percentage points, but its relative increase is 20%: (12%-10%)/10%.

The starting value cannot be zero for this calculation because division by zero is undefined. If a value moves from zero to a positive amount, report the absolute difference or describe the change separately rather than presenting an ordinary percentage increase.

Apply a percentage to a price or amount

For a discount, calculate the discount amount and subtract it from the original price. With the price in A2 and the discount rate in B2, enter =A2*B2 in C2 to calculate the discount. If the price is $80 and the rate is 25%, C2 returns $20. To calculate the price after the discount directly, enter =A2*(1-B2) in D2; the result is $60.

To add a percentage, such as an illustrative sales tax rate, multiply by one plus the rate. With a pre-tax amount in A2 and a rate in B2, enter =A2*(1+B2) in C2. At $80 and 8%, the result is $86.40. These examples show spreadsheet arithmetic only; actual tax, fees, and prices depend on applicable terms and rules.

  • Amount represented by a rate: amount × rate.
  • Part as a share of total: part ÷ total.
  • Percentage change: (new value − old value) ÷ old value.
  • Amount after a discount: original amount × (1 − discount rate).
  • Amount after an increase: original amount × (1 + increase rate).

Enter, format, and copy percentage formulas

For a straightforward calculation, place the relevant values in separate cells, type the formula into the result cell, and press Enter. When a percentage formula needs to be used on multiple rows, select the result cell and drag its fill handle—the small square at its lower-right corner—down the column. Excel adjusts relative references for each row. For example, a formula using A2 and B2 shifts to A3 and B3 in the next row.

If every row should use the same rate stored in B1, lock that reference before copying the formula down. With an amount in A2 and the fixed rate in B1, enter =A2*$B$1. The dollar signs keep the reference on B1 while A2 changes as the formula is filled down. On Windows, pressing F4 while editing a cell reference cycles through reference styles; Mac keyboards may require Fn+F4, depending on keyboard settings.

Enter rates as percentages, such as 8%, or as their decimal equivalents, such as 0.08. Avoid typing 8 when you mean 8%, unless you divide by 100 in the formula. Also distinguish a cell’s number format from its value: applying Percentage format to the number 8 displays 800%, because the stored value is eight.

Common percentage formula problems

  • The answer is 100 times too large: The rate may be entered as 15 instead of 15%. Change the cell value to 15%, or use 0.15.
  • The result appears as a decimal: The calculation may be correct, but the result cell is in General format. Apply Percentage format to display, for example, 0.15 as 15%.
  • The formula returns #DIV/0!: The denominator is zero or blank. Check the source data or use IFERROR if an alternate display is appropriate.
  • The formula changes the wrong cells when copied: Lock a rate or total reference with dollar signs, as in $B$1, when it must stay fixed.
  • The displayed value looks rounded: Increase the displayed decimal places to inspect more detail. Formatting changes the display, not the stored calculation. Use ROUND only when you specifically need to round the calculated value.

Frequently Asked Questions

What is the formula to calculate a percentage in Excel?
To calculate a percentage of a number, multiply the number by the rate, as in =A2*B2. To calculate what percentage a part is of a total, divide the part by the total, as in =A2/B2, and format the result as a percentage.

How do I calculate 20% of a number in Excel?
If the number is in A2, enter =A2*20%. If A2 is 150, the result is 30. You can instead enter 20% in B2 and use =A2*B2.

How do I calculate percentage increase in Excel?
Put the original value in A2 and the new value in B2, then enter =(B2-A2)/A2. Format the result as a percentage. A move from 80 to 100 returns 25%.

How do I show a formula result as a percentage?
Select the result cell and choose Home > Number > Percent Style, or press Ctrl+Shift+% on Windows. On Mac, press Command+Shift+%. This changes the display format, not the underlying calculation.

Why does Excel show 1000% instead of 10%?
The stored value may be 10 rather than 0.10 or 10%. Excel interprets 10 as 1,000% when Percentage format is applied. Enter 10% or 0.1 to represent ten percent.