The Basic Formula for Percentages
To calculate a percentage in Excel, divide the part by the whole, then multiply by 100. The formula is =(part/whole)*100. For example, if you want to find what percentage 25 is of 200, you would enter =25/200*100 in a cell, and Excel returns 12.5.
You can also skip the multiplication by 100 and format the cell as a percentage instead. Enter =25/200, then right-click the cell, select Format Cells, choose Percentage, and click OK. Excel automatically multiplies by 100 and adds the % symbol for you.
The second method is cleaner when you are working with multiple percentages in a spreadsheet, because the formatting stays consistent and the numbers are easier to read at a glance.
Key Takeaways
- The percentage formula is (part divided by whole) multiplied by 100, or you can divide and format the cell as a percentage.
- Use dollar signs in your formula — =$B$2/$C$2 — to lock a cell reference so it does not change when you copy the formula down.
- To find the percentage change between two numbers, use =((new-old)/old)*100.
- Percentage of total formulas work best when you sum the denominator first, then reference that sum in every row of your calculation.
Calculating Percentage of a Total
When you want to know what percentage each item represents of a total — for example, what percentage of your budget went to groceries — set up your formula to divide each item by the sum of all items. If your items are in cells B2 through B10 and you want the percentage in column C, enter =B2/SUM($B$2:$B$10)*100 in cell C2.
The dollar signs lock the range $B$2:$B$10 so that when you copy the formula down to C3, C4, and beyond, the sum range stays the same while B2 changes to B3, B4, and so on. Without the dollar signs, the range would shift and your percentages would be wrong.
After you enter the formula in C2, click the cell, then drag the small square at the bottom-right corner down to C10. Excel copies the formula and adjusts the row numbers automatically.
Finding Percentage Change
Percentage change tells you how much a number has grown or shrunk compared to its starting point. The formula is =((new value - old value) / old value) * 100. If a product cost $50 last month and costs $60 this month, the percentage change is =((60-50)/50)*100, which equals 20.
A positive result means the value increased. A negative result means it decreased. This calculation is useful for tracking sales growth, price changes, or any metric that shifts over time.
If your old value is in cell A2 and your new value is in cell B2, you can write the formula as =((B2-A2)/A2)*100 and copy it down for multiple rows.
Using Absolute References to Lock Cells
An absolute reference uses dollar signs to lock a cell so it does not change when you copy a formula. If you want to divide every number in column B by a single number in cell D2, write =B2/$D$2*100. The B2 will change to B3, B4, and so on as you copy down, but $D$2 stays locked to D2.
Without the dollar signs, copying the formula would shift D2 to D3, D4, and beyond, giving you wrong results. Dollar signs before the column letter and row number lock both. A dollar sign before only the column (like $D2) locks the column but lets the row change, and a dollar sign before only the row (like D$2) locks the row but lets the column change.
Use absolute references whenever you are copying a formula across multiple cells and one part of the formula should stay the same.
Formatting Cells as Percentages
After you calculate a percentage, you can format the cell to display it with a % symbol and control how many decimal places show. Select the cell or range of cells, right-click, and choose Format Cells. Click the Number tab, select Percentage from the list on the left, and set the number of decimal places you want.
If you already multiplied by 100 in your formula, formatting as percentage will multiply by 100 again and show a number 100 times too large. In that case, either remove the *100 from your formula or format the cell as a number instead of a percentage.
You can also use the percentage button in the toolbar. Select your cells and click the % button to instantly format them as percentages with two decimal places.
Common Mistakes to Avoid
The most common error is forgetting to lock the denominator with dollar signs when you copy a formula down. This causes the divisor to shift and produces incorrect percentages in every row below the first.
Another mistake is multiplying by 100 in the formula and then formatting the cell as a percentage, which multiplies by 100 twice and shows a result 100 times too large. Choose one method: either multiply by 100 in the formula and format as a number, or divide and format as a percentage.
A third error is dividing by zero, which produces an error message. If your denominator might be zero, use the =IFERROR() function to display a message or blank cell instead. For example, =IFERROR(B2/B3*100,"N/A") shows "N/A" if B3 is zero.
Frequently Asked Questions
Should I multiply by 100 or format as a percentage?
Formatting as a percentage is cleaner and less error-prone. Enter your formula as =part/whole, then format the cell as a percentage. This avoids the mistake of multiplying by 100 twice and keeps your spreadsheet easier to read and edit later.
How do I calculate what 15% of a number is?
Multiply the number by 0.15. If the number is in cell A2, enter =A2*0.15. You can also write =A2*15% and Excel will understand it. This is the reverse of the percentage formula — instead of finding what percentage one number is of another, you are finding what amount equals a certain percentage.
Can I copy a percentage formula across columns instead of down rows?
Yes. If you want to copy a formula to the right, use the same dollar-sign method. Lock the row with =B$2/C$2*100 so that when you copy to the right, the row stays 2 but the columns shift. Without the dollar signs, both the row and column would change.
What does the #DIV/0! error mean?
This error means you are dividing by zero or by an empty cell. Check your denominator to make sure it contains a number greater than zero. Use =IFERROR(B2/B3*100,0) to show 0 instead of an error, or =IFERROR(B2/B3*100,"") to show a blank cell.
How do I show percentages with no decimal places?
Right-click the cell, select Format Cells, choose Percentage, and set decimal places to 0. Or select the cell and use the decrease decimal button in the toolbar (it looks like an arrow pointing left with decimal points). Excel rounds the display but keeps the full precision for calculations.