The fastest way to calculate a percentage in Excel

To find a percentage in Excel, you multiply the part by 100 and divide by the whole, or you let Excel do the math by entering a formula. The simplest formula is =(part/whole)*100. If you have a number in cell A1 and the total in cell B1, you would type =A1/B1*100 in an empty cell and press Enter. Excel shows you the result instantly.

Most of the time, though, you do not need the *100 part at all. If you enter =A1/B1 and then format the cell as a percentage, Excel multiplies by 100 for you and adds the % sign. This is cleaner and easier to read in a spreadsheet full of numbers.

The method you choose depends on whether you want the result to look like 25% or 25.00 or 0.25. All three are the same number displayed differently — Excel just shows it in the format you pick.

Key Takeaways

  • The formula =A1/B1 calculates the percentage; then format the cell as a percentage to add the % sign automatically.
  • Use =(A1/B1)*100 if you want the number without the % sign, like 25 instead of 25%.
  • You can copy a percentage formula down a column to calculate percentages for multiple rows at once.
  • Absolute references like $B$1 lock a cell so it does not change when you copy the formula to other cells.

Setting up your data before you calculate

Before you write any formula, make sure your numbers are in the right cells. You need the part (the smaller number) in one column and the whole (the total) in another. For example, if you are calculating what percentage of your budget you spent on office supplies, put the supplies cost in one cell and the total budget in another.

Label your columns so you know what each number means. Put "Spent" in one header and "Total Budget" in another. This makes it much easier to spot mistakes later. If your data is messy or spread across different places, take a minute to organize it first — it saves time when you are building formulas.

Using the formula =part/whole and formatting as percentage

This is the method most people use because it is the cleanest. Click on an empty cell where you want the percentage to appear. Type =A1/B1 (replace A1 and B1 with the cells that hold your part and whole). Press Enter.

Excel shows you a decimal: 0.25 instead of 25%. To turn this into a percentage, right-click the cell and choose Format Cells. In the window that opens, click the Number tab, then select Percentage from the list on the left. Click OK. The cell now shows 25% instead of 0.25.

You can also use the percentage button in the toolbar. Select the cell with your decimal, then click the % button in the ribbon at the top. Excel formats it as a percentage instantly. This is faster than right-clicking if you have several cells to format.

Using the formula =(part/whole)*100 for a plain number

If you want the result to show as 25 instead of 25%, use this formula instead. Type =(A1/B1)*100 in your cell and press Enter. Excel shows you 25 with no % sign.

This method is useful when you are building a report or chart where the % sign would look cluttered, or when you want to do more math with the percentage afterward. The number 25 is easier to use in another calculation than 25% is.

The downside is that someone reading your spreadsheet might not immediately know that 25 means 25 percent. Add a label or header to make it clear.

Copying a percentage formula to multiple rows

Once you have written your formula in one cell, you can copy it down to calculate percentages for many rows at once. Click the cell with your formula. You should see a small square in the bottom-right corner of the cell — this is the fill handle. Click and drag it down to the last row you want to fill.

Excel copies the formula and adjusts the cell references automatically. If your first formula was =A1/B1, the second row becomes =A2/B2, the third becomes =A3/B3, and so on. This saves you from typing the same formula over and over.

If the formula does not adjust the way you expected, you may need to use absolute references. This is covered in the next section.

Using absolute references when you need one cell to stay the same

Sometimes you want to divide many numbers by the same total. For example, you might want to see what percentage each expense is of your total budget. If the total budget is in cell B10, you want every formula to divide by B10, not by B2, B3, B4, and so on.

To lock a cell so it does not change when you copy the formula, add dollar signs: =$A1/$B$10. The dollar signs tell Excel "do not change this part." Now when you copy the formula down, A1 becomes A2, A3, A4 (the part changes), but B10 stays B10 (the whole stays the same).

You can lock just the column, just the row, or both. $B10 locks the column B but lets the row change. B$10 locks the row 10 but lets the column change. $B$10 locks both. Use whichever fits what you are trying to do.

Fixing common mistakes with percentage formulas

The most common mistake is forgetting to format the cell as a percentage after using =A1/B1. You end up with 0.25 when you meant to show 25%. The fix is simple: select the cell and click the % button in the toolbar.

Another mistake is dividing by zero. If your "whole" cell is empty or contains 0, Excel shows #DIV/0! error. Check that every cell in your denominator (the bottom part of the division) has a number in it. If some rows legitimately have no total, you can use an IF statement to hide the error: =IF(B1=0,"",A1/B1). This shows nothing instead of an error when B1 is empty.

A third mistake is using the wrong cells. Double-check that you are dividing the part by the whole, not the other way around. If you divide the total by the part, you get a number much larger than 100%, which is usually wrong.

Frequently Asked Questions

How do I show more or fewer decimal places in a percentage?

Right-click the cell and choose Format Cells. In the Number tab, select Percentage and change the number in the "Decimal places" field. Set it to 0 to show 25%, to 1 to show 25.0%, or to 2 to show 25.00%. Click OK.

Can I calculate percentage change between two numbers?

Yes. The formula is =((new-old)/old)*100. If a price went from $50 to $60, you would use =((60-50)/50)*100 to get 20%. This tells you the percentage increase or decrease.

What if I want to find what number is a certain percentage of a total?

Use the formula =total*percentage. If you want to know what 20% of 500 is, type =500*0.20 and press Enter. Excel shows 100. You can also type =500*20% and Excel understands it the same way.

How do I calculate what percentage one number is of another without showing the % sign?

Use =(A1/B1)*100 and do not format the cell as a percentage. Excel shows the number without the % sign, like 25 instead of 25%.

Can I use percentage formulas in charts?

Yes. Calculate your percentages in cells first, then build your chart from those cells. Excel uses the percentage values to draw the chart. You can also right-click a chart element and choose to show data labels as percentages, though this works best for pie charts.