To calculate a percentage, divide the part by the whole using a formula like =A2/B2, then format the result as a percentage (Home › Number Format › %).
=B2/C2
You often need to show a number as a percentage: a discount, a completion rate, a growth figure, or a share of a total. Excel makes this easy with a simple division formula and percentage formatting.
Step by step
- Click the cell where you want the percentage to appear.
- Type the formula: start with =, then click the part cell, type /, and click the whole cell (for example =A2/B2).
- Press Enter. The result appears as a decimal.
- With the cell selected, go to Home › Number Format and click the % button to show it as a percentage.
- To apply the same formula down a column, drag the fill handle (the small square at the bottom-right of the cell) down.
Try it here
Examples
1 Percent of total
Divides the score by the total to get the fraction, then formats as a percentage. The result is 0.75, which displays as 75%.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Item | Score | Total | ||
| 2 | Quiz 1 | 15 | 20 | 0.75 | |
| 3 | Quiz 2 | 18 | 20 | ||
| 4 |
=B2/C22 Percentage increase
Calculates the increase from the old value to the new value as a percentage of the old value. The result is 0.2, which displays as 20%.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Month | Old | New | ||
| 2 | Jan | 100 | 120 | 0.2 | |
| 3 | Feb | 150 | 180 | ||
| 4 |
=(C2-B2)/B23 Percentage decrease
Shows how much a value dropped compared to the original. The result is -0.25, which displays as -25%.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Product | Original | Sale | ||
| 2 | Shirt | 80 | 60 | -0.25 | |
| 3 | Pants | 120 | 90 | ||
| 4 |
=(C2-B2)/B2Other ways to do it
| Formula | Use it when |
|---|---|
=B2/C2 | Use when you want the raw decimal and will format the cell as % separately. |
=TEXT(B2/C2,"0%") | Use when you need the percentage as text, for example to combine with other text in a sentence. |
Practise it
Free exercises with instant feedback. No sign-up needed.
Common mistakes
- The result shows as a decimal like 0.75 instead of 75%. Select the cell and click the % button on the Home tab, or press Ctrl+Shift+%.
- You get #DIV/0! because the whole (denominator) is zero or empty. Make sure the total cell contains a number greater than zero. You can also wrap the formula in IFERROR, e.g. =IFERROR(B2/C2,0).
- The formula returns a wrong percentage because you divided by the wrong cell. Double-check that you are dividing the part by the whole, not the other way around.
Questions people also ask
How do I calculate percentage of total in Excel?
Divide the part by the total, e.g. =A2/B2, and format as %. If you want to copy the formula down, make the total an absolute reference: =A2/$B$2.
How do I calculate percentage change?
Use =(new_value - old_value) / old_value. For example, =(C2-B2)/B2.
Why does my percentage show as a decimal?
Excel stores percentages as decimals. Select the cell and click the % button on the Home tab to display it as a percentage.
Functions used
Every formula on this page was checked by SheetSkill’s spreadsheet engine. All how-to guides