Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Percentage Formula in Excel: How to Calculate

· 5 min read · Home Tech

In this article
  1. How Excel Handles Percentages
  2. Basic Percentage Formula
  3. Calculating Percentage of a Total
  4. Percentage Change (Increase/Decrease)
  5. Finding a Percentage of a Number
  6. Common Mistakes and How to Avoid Them
  7. Using Percentage Format vs. Multiplying by 100
  8. Frequently Asked Questions

This guide explains the percentage formula in Excel, showing how to calculate percentages, apply percent change, and avoid common errors. You'll learn the core formula structure, see worked examples, and get answers to frequent questions.

How Excel Handles Percentages

In Excel, a percentage is simply a number formatted with the percent sign. The underlying value is always a decimal fraction: 50% is stored as 0.5, 100% as 1, and 200% as 2. When you type 50% into a cell, Excel automatically divides by 100 and stores 0.5, then displays it with the % symbol. This is crucial because any formula that uses a percentage must account for this decimal representation.

The basic formula for a percentage is part / whole. For example, if you have 20 apples and 5 are red, the percentage of red apples is =5/20, which equals 0.25, or 25% when formatted. In Excel, you enter =5/20 and then apply the percent format to the cell. The result shows 25%.

Basic Percentage Formula

The most common percentage calculation is finding what percent one number is of another. The formula is:

= (part / whole) * 100

However, in Excel you do not multiply by 100 manually. Instead, you divide the part by the whole and then format the result as a percentage. For instance, if cell A1 contains 50 and cell B1 contains 200, the formula =A1/B1 returns 0.25. After applying the percent format, it displays 25%.

To format a cell as a percentage, select the cell, go to the Home tab, and click the Percent Style button (%) in the Number group. You can also use the keyboard shortcut Ctrl+Shift+% on Windows or Cmd+Shift+% on Mac.

Calculating Percentage of a Total

Often you need to find what percentage a specific value contributes to a total. For example, if you have sales data for four regions and want to know each region's share of total sales, you divide each region's sales by the total sales.

  • Place the individual values in a column, say A2:A5.
  • In another column, enter the formula =A2/SUM($A$2:$A$5) for the first row.
  • Drag the fill handle down to copy the formula to other rows.
  • Format the result cells as percentages.

Using absolute references (with $ signs) for the total ensures the denominator stays constant when you copy the formula. The result shows each region's share of the total, and the sum of all percentages equals 100%.

Percentage Change (Increase/Decrease)

To calculate the percentage change between two numbers, use the formula:

=(new_value - old_value) / old_value

For example, if last year's sales were $1,000 (old value) and this year's sales are $1,250 (new value), the formula =(1250-1000)/1000 returns 0.25, or 25% increase. If the new value is less than the old, the result is negative, indicating a decrease. For instance, =(800-1000)/1000 gives -0.20, or -20%.

To display a negative percentage, format the cell as a percentage; Excel will show a minus sign. If you want to show a decrease as a positive number, you can use the ABS function, but that is rarely necessary.

Finding a Percentage of a Number

Sometimes you need to calculate a percentage of a given number, such as a 15% tip on a $50 meal. The formula is:

=number * percentage

In Excel, you can write =50*15% or =50*0.15. Both return 7.5. If the percentage is in a cell (say B1 contains 15%), use =A1*B1 where A1 is the number. Remember that Excel treats 15% as 0.15, so the multiplication works correctly.

Common Mistakes and How to Avoid Them

One frequent error is forgetting to format the result as a percentage. If you enter =A1/B1 and the cell is in General format, Excel shows 0.25, not 25%. Always apply the percent format to cells containing percentage formulas.

Another mistake is using the wrong denominator in percentage change. The denominator must be the old value, not the new value. For example, a change from 100 to 150 is a 50% increase, but if you mistakenly divide by 150, you get 33.3%.

Also, be cautious when the old value is zero. Division by zero returns the #DIV/0! error. In such cases, you may need to handle the error with an IF function, but that is beyond the basic formula.

Using Percentage Format vs. Multiplying by 100

Some users multiply by 100 to get a percentage number, such as =A1/B1*100, and then format the cell as a number. This works, but it is generally better to use the percent format because it keeps the underlying value as a decimal, which is more consistent for further calculations. If you multiply by 100, the cell contains 25, not 0.25, which can cause errors if you later use that value in another formula expecting a decimal.

For example, if you want to add a 20% tax to a price, you can multiply the price by 1.20. If you have the tax rate in a cell formatted as a percentage (showing 20%), the formula =price*(1+tax_rate) works. If you stored 20 as a number, you would need to divide by 100 first.

Frequently Asked Questions

How do I calculate a percentage in Excel without a formula?
You can type a number and then apply the percent format. For example, type 0.25 and format as percentage to get 25%. But for any calculation, you need a formula.

Why is my percentage formula showing a decimal like 0.25?
Because the cell is not formatted as a percentage. Select the cell and click the Percent Style button, or use the keyboard shortcut Ctrl+Shift+%.

How do I calculate a percentage increase in Excel?
Use the formula =(new-old)/old. For example, if old is in A1 and new is in B1, enter =(B1-A1)/A1 and format as percentage.

How do I calculate a percentage of a total in Excel?
Divide the part by the total using absolute reference for the total. For example, =A2/SUM($A$2:$A$10) gives the percentage of each value in A2:A10 relative to the total.

What does #DIV/0! mean in a percentage formula?
It means the denominator is zero. You cannot divide by zero. Check the cell used as the divisor and ensure it is not empty or zero.

Can I use a percentage in a formula without formatting?
Yes, you can type 20% directly in a formula, and Excel treats it as 0.20. For example, =100*20% returns 20.