The three ways to calculate a percentage in Excel
Excel handles percentages in three distinct ways depending on what you're trying to find: the percentage of a total (like what 15 sales represents out of 100 total), the percentage change between two numbers (like revenue growth from one year to the next), or a percentage of a single number (like a 20% discount on a price). Each uses a different formula, and Excel's percentage format can hide or reveal decimal places depending on how you set it up.
The most common task is finding what percentage one number is of another. If you have 25 items sold out of 100 total, you divide 25 by 100 and format the result as a percentage. Excel will show 25%. The second common task is calculating percentage change — if sales were 100 last month and 125 this month, you subtract the old number from the new, divide by the old number, and format as percentage. That gives you 25% growth. The third is taking a percentage of a number — if you need to calculate a 15% discount on a $80 item, you multiply 80 by 0.15 to get $12 off.
Key Takeaways
- To find what percentage one number is of another, use the formula =A1/B1 and format the cell as percentage to see the result as a percentage rather than a decimal.
- To calculate percentage change between two numbers, use =(new value - old value) / old value and format as percentage.
- To find a percentage of a number (like a discount), multiply the number by the decimal form of the percentage: =A1*0.15 for 15% of the value in A1.
- Use the dollar sign ($) in front of cell references when you want to copy a formula down a column without the reference changing — for example, =A1/$B$1 locks B1 in place.
- Excel's percentage format rounds the display but not the actual value, so a cell showing 33% still contains the full decimal for calculations.
Finding what percentage one number is of a total
This is the most frequent percentage calculation. You have a part and a whole, and you want to know what percentage the part represents. The formula is simple: divide the part by the whole. If you have 45 customers out of 200 total, put 45 in cell A1 and 200 in cell B1, then enter =A1/B1 in cell C1. Excel will show 0.225 — that's the decimal form of the percentage.
To display this as 22.5% instead of 0.225, select cell C1 and click the percentage button in the toolbar (it looks like a % symbol), or right-click the cell, choose Format Cells, and select Percentage from the Category list. Excel will now show 22.5%. If you want more decimal places — say, 22.50% — right-click again, choose Format Cells, and change the Decimal Places field from 1 to 2.
If you have many rows of data and want to calculate the percentage for each row, enter the formula in C1, then click C1 and drag the small square at the bottom-right corner of the cell down to C10 (or however many rows you have). Excel will copy the formula down and adjust the row numbers automatically. However, if your total is always in the same cell — say, B1 contains the grand total and you're comparing each row to that total — you need to lock that cell reference. Use =A1/$B$1 instead. The dollar signs tell Excel to keep B1 fixed when you copy the formula down, so every row divides by the same total.
Calculating percentage change from one number to another
Percentage change shows how much a number has grown or shrunk relative to where it started. The formula is (new value minus old value) divided by the old value. If your sales were $5,000 last month and $6,200 this month, you calculate (6200 - 5000) / 5000 = 1200 / 5000 = 0.24, which is 24% growth.
In Excel, put the old value in A1 and the new value in B1. Enter =(B1-A1)/A1 in cell C1. Format C1 as a percentage, and you'll see 24%. If the result is negative — say, sales dropped from $5,000 to $3,500 — the formula gives you -0.30, which displays as -30%, correctly showing a 30% decrease. This same formula works for any comparison: website traffic, employee count, inventory levels, or test scores.
A common mistake is dividing by the new value instead of the old one. If you use =(B1-A1)/B1, you get a different (and wrong) answer. The denominator must always be the starting point — the value you're measuring change from.
Taking a percentage of a single number
This calculation finds a portion of a number. A 20% discount on a $150 item, a 6% sales tax on a purchase, or a 10% tip on a restaurant bill all use this method. The formula is the number multiplied by the percentage in decimal form. For a 20% discount on $150, multiply 150 by 0.20 to get $30 off.
In Excel, put the original number in A1 and enter =A1*0.20 in cell B1 to calculate 20% of that number. If you want to show the percentage as a number in the spreadsheet rather than typing 0.20 directly, put 20 in cell C1 and use =A1*(C1/100) instead. This divides the percentage by 100 to convert it to decimal form, then multiplies. Both methods give the same result; the second is easier to read and adjust.
To find the final price after a discount, use =A1-(A1*0.20) or =A1*0.80 (since 100% minus 20% is 80%). For a price with tax added, use =A1+(A1*0.06) or =A1*1.06. These formulas are identical in result; choose whichever feels clearer to you.
Using absolute and relative cell references in percentage formulas
When you copy a formula down a column, Excel normally adjusts all the cell references. If you have =A1/B1 in row 1 and copy it to row 2, it becomes =A2/B2. This is called a relative reference and is usually what you want. But sometimes you need one reference to stay fixed while others change.
Use a dollar sign before the column letter, the row number, or both to lock a reference in place. =A1/$B$1 locks the entire cell B1, so when you copy down, it becomes =A2/$B$1, =A3/$B$1, and so on. =$A$1/B1 locks column A and row 1, so A1 never changes but B1 becomes B2, B3, etc. =$A1/B1 locks only the column (A), so the row adjusts: =$A2/B2, =$A3/B3. This is useful when you have a header row you want to keep fixed.
The most common use is a total row. If row 10 contains your grand total and rows 1–9 contain individual items, use =A1/$A$10 to divide each item by the total. Copy this formula down, and every row will divide by A10 while the numerator changes from A1 to A2 to A3, and so on.
Formatting percentages to show the right number of decimal places
Excel's percentage format rounds the display but keeps the full decimal value underneath. A cell showing 33% actually contains 0.3333... and will calculate using that full precision. This matters when you're doing further math with the result.
To change how many decimal places show, right-click the cell and select Format Cells. Choose Percentage from the Category list on the left. In the Decimal Places field, enter the number you want: 0 for whole percentages (25%), 1 for one decimal place (25.0%), or 2 for two decimal places (25.00%). Click OK. You can also select multiple cells at once and format them all the same way.
If you want to display a percentage with a custom format — for example, 25% growth or 15% off — right-click, choose Format Cells, select Custom from the Category list, and type a format like 0.0"% growth" in the Format Code field. Excel will display the number as a percentage followed by your text. This is purely visual; the underlying value remains a decimal.
Common mistakes and how to avoid them
The most frequent error is forgetting to format the result as a percentage. If you enter =A1/B1 and see 0.25 instead of 25%, the formula is correct but the format is wrong. Select the cell and click the percentage button in the toolbar to fix it instantly.
The second common mistake is using the wrong denominator in a percentage change formula. Remember: you always divide by the starting value, not the ending value. If you're calculating growth from 100 to 150, divide (150-100) by 100, not by 150. The first gives you 50% growth; the second gives you 33%, which is wrong.
A third mistake is mixing up decimal and percentage form. If you want to calculate 15% of a number, use 0.15, not 15. The formula =A1*0.15 is correct; =A1*15 multiplies by 15 times the number, not 15% of it. When in doubt, think of the percentage as a fraction: 15% is 15 out of 100, which is 0.15 in decimal form.
Frequently Asked Questions
How do I show a percentage with no decimal places?
Right-click the cell, select Format Cells, choose Percentage, and set Decimal Places to 0. Excel will display 25% instead of 25.00%. The underlying value still contains the full decimal; only the display changes.
Can I calculate a percentage of a percentage?
Yes. If you have 50% in A1 and want to find 20% of that, use =A1*0.20. This gives you 10% (20% of 50% is 10%). The formula treats the first percentage as a decimal, so 50% becomes 0.50, and 0.50 times 0.20 equals 0.10, or 10%.
What's the difference between formatting as percentage and multiplying by 0.01?
Formatting as percentage is purely visual — it displays a decimal as a percentage without changing the underlying value. Multiplying by 0.01 converts a whole number to its decimal equivalent. If A1 contains 25, formatting it as percentage shows 2500% (because 25 as a decimal is 25.00, displayed as a percentage). Multiplying by 0.01 gives 0.25, which you'd then format as 25%. Use formatting when your formula already produces a decimal; use multiplication when you're converting a whole number.
How do I calculate what number is 25% of 200?
Use =200*0.25, which gives 50. Or put 200 in A1 and use =A1*0.25. If you have the percentage in a cell (say, 25 in B1), use =A1*(B1/100) to convert it to decimal form first, then multiply.
Can I use percentage formulas in conditional formatting or other Excel features?
Yes. You can use percentage formulas in conditional formatting rules, in data validation, and in charts. The formula itself works the same way; Excel just applies it in a different context. For example, you could highlight cells where the percentage change exceeds 10% by using a conditional formatting rule with the formula =(B1-A1)/A1>0.1.