To work out percentages in Excel, divide the part by the whole and format the result as a percentage. For example, if A1 holds 25 and B1 holds 200, the formula =A1/B1 returns 0.125; click the % button on the Home tab to display 12.5%. That single pattern covers most percentage tasks: part-of-total, percentage change, and percentage increase or decrease. This guide shows the exact formulas, how to format them, and how to avoid the usual errors.
What You'll Need
- Microsoft Excel (desktop or web) or a compatible spreadsheet app such as Google Sheets or LibreOffice Calc. Menu labels can differ slightly by version, device or region.
- Your data in two columns: one for the part and one for the whole (or old and new values for change calculations).
- Basic familiarity with typing formulas that start with an equals sign.
Step-by-Step
- Enter your data. Put the part in column A and the whole in column B, starting at row 2. For example, A2 = 25 (items sold) and B2 = 200 (total stock). Label the columns in row 1 so you can read the sheet later.
- Write the division formula. Click C2 and type
=A2/B2, then press Enter. Excel returns 0.125. This is the decimal form of the percentage; the formatting step next makes it readable. - Format as a percentage. Select C2, go to the Home tab, and click the % (Percent Style) button in the Number group. The cell now shows 12.5%. To control decimal places, use the Increase Decimal or Decrease Decimal buttons next to it, or right-click the cell, choose Format Cells, pick Percentage, and set the decimal places.
- Copy the formula down. Drag the small square at the bottom-right corner of C2 down the column, or double-click it to fill to the end of your data. Relative references adjust automatically, so C3 becomes
=A3/B3and so on. - Calculate a percentage of a number. To find 15% of 200, type
=200*15%or=200*0.15. The result is 30. To apply a percentage held in a cell, use=B2*C2where C2 contains 15%. - Calculate percentage change. With the old value in A2 and the new value in B2, type
=(B2-A2)/A2and format as a percentage. A result of 0.25 means a 25% increase; a negative result means a decrease. Do not use=B2/A2for change, because that gives the ratio, not the change. - Increase or decrease by a percentage. To raise 200 by 15%, use
=200*(1+15%), which gives 230. To reduce it by 15%, use=200*(1-15%), which gives 170. With the percentage in a cell, replace 15% with the cell reference. - Show a percentage of a total with SUM. If A2:A10 holds parts and you want each part as a share of the total, put
=SUM(A2:A10)in a cell, then in B2 type=A2/$B$11(adjust the reference to your total cell) and format as a percentage. The dollar signs lock the total so it does not shift when you copy the formula down. - Check the result. Multiply the percentage by the whole to confirm you get the part back. If 12.5% × 200 returns 25, the formula is correct.
Common Mistakes
- Forgetting to format. A cell showing 0.125 is correct but easy to misread. Apply Percent Style so the value displays as 12.5%.
- Dividing the wrong way round. The part goes on top and the whole on the bottom. Reversing them gives a percentage above 100% that usually makes no sense.
- Using the ratio for change.
=B2/A2gives the new value as a share of the old, not the change. Use=(B2-A2)/A2for percentage change. - Not locking the total. When calculating each item's share of a total, an unlocked total reference shifts as you copy down and produces wrong answers. Use absolute references such as
$B$11. - Typing the percent sign into a formula incorrectly.
=A2/B2%divides by 0.125, not by 12.5. Keep the percent sign out of the division and format the result instead. - Dividing by zero or blank cells. This returns #DIV/0!. Check that the whole column contains numbers and no empty cells.
Tips
- Use the keyboard shortcut Ctrl+Shift+% (Cmd+Shift+% on Mac) to apply percentage formatting instantly.
- Keep raw numbers in one area and percentage results in another so you can re-check the maths without overwriting data.
- Press F4 after selecting a cell reference in a formula to cycle through absolute and relative references.
- Use Format Cells to set a fixed number of decimal places when you need consistent reporting.
- For a quick visual, select your percentage column and apply Data Bars or a simple chart from the Insert tab.
Troubleshooting
- #DIV/0! appears. The denominator is zero or blank. Fill in the whole value or wrap the formula in IFERROR, for example
=IFERROR(A2/B2,""). - The result looks like 0.125 instead of 12.5%. The cell is formatted as General or Number. Select it and click the % button on the Home tab.
- The percentage is wildly wrong. Check the order of the division and confirm both cells contain numbers, not text. Text values are ignored or cause errors.
- Copying the formula gives the same answer everywhere. The references are probably absolute (with $ signs) when they should be relative. Remove the dollar signs where the row should change.
- Negative percentages appear unexpectedly. For percentage change, a negative result simply means a decrease; confirm the old and new values are in the right columns.
- The formula shows as text. The cell may be formatted as Text. Change the format to General, then re-enter the formula.
Frequently Asked Questions
How do I calculate a percentage of a total in Excel?
Divide the part by the total, for example =A2/B2, then format the result as a percentage. If the total is in a fixed cell, lock it with dollar signs, such as =A2/$B$11.
What is the formula for percentage increase?
Use =(New-Old)/Old, for example =(B2-A2)/A2, and format as a percentage. A positive result is an increase and a negative result is a decrease.
Why does Excel show 0.5 instead of 50%?
The cell is formatted as a number, not a percentage. Select the cell and click the % button on the Home tab, or use Format Cells and choose Percentage.
Can I calculate percentages across an entire column at once?
Yes. Enter the formula in the first cell, then drag the fill handle down or double-click it to copy the formula to the rest of the column. Relative references adjust automatically.
How do I find what percentage one number is of another?
Divide the first number by the second and format as a percentage. For example, =25/200 formatted as a percentage gives 12.5%.
Why do I get #DIV/0! when calculating percentages?
The cell you are dividing by is zero or empty. Enter a non-zero value or use IFERROR to display a blank or a message instead of the error.