To calculate a percentage in Excel, enter a formula that divides the part by the whole and multiplies by 100 (e.g., =A1/B1*100), then format the cell as Percentage. This converts raw numbers into intuitive proportions for analysis, reporting, or tracking progress.

What You'll Need

  • Microsoft Excel (any version: Microsoft 365, Excel 2021, Excel 2019, Excel 2016, or Excel for the web)
  • A spreadsheet with at least two numeric values: the part (numerator) and the whole (denominator)
  • Basic understanding of cell references (e.g., A1, B2)

Step-by-Step

  1. Open your Excel workbook and identify the cells containing the part and the whole. For example, suppose cell A2 contains the part (e.g., 45) and cell B2 contains the whole (e.g., 180).
  2. Click the cell where you want the percentage result to appear (e.g., cell C2).
  3. Type the formula =A2/B2 (replace A2 and B2 with your actual cell references). Do not include the multiplication by 100 yet—Excel handles the percentage conversion automatically if you apply the Percentage format.
  4. Press Enter. The cell now shows a decimal (e.g., 0.25), which represents 25% but is not yet formatted as a percentage.
  5. Select the cell with the result (C2).
  6. Apply the Percentage format:
    • On the Home tab, in the Number group, click the Percentage (%) button.
    • Alternatively, right-click the cell, choose Format Cells, select Percentage in the Category list, and click OK.
    • On the keyboard, press Ctrl+Shift+% (or Command+Shift+% on Mac).
  7. Verify the result displays correctly (e.g., 25%). If your values change later, the percentage updates automatically.

Common Mistakes

  • Missing or extra parentheses: Typing =A2/B2*100 and then applying Percentage format causes double multiplication (e.g., 2500% instead of 25%). Either use =A2/B2 with Percentage format, or use =A2/B2*100 and leave the cell as General/Number format—but never both.
  • Dividing by zero: If the denominator is 0 or blank, Excel returns a #DIV/0! error. Always ensure the whole value is non-zero before calculating.
  • Incorrect cell references: Using absolute references (e.g., $A$1) when relative references are needed—or vice versa—can cause wrong values when copying formulas down columns.
  • Formatting before calculation: Applying Percentage format before entering the formula may cause Excel to interpret raw numbers as already percentages (e.g., typing =45/180 after formatting shows 4,500% instead of 25%).

Tips

  • Use consistent data entry: Ensure both part and whole values are numeric. Avoid spaces, commas, or text in numeric cells (e.g., "100" instead of 100), as Excel treats them as text and formulas fail.
  • Copy formulas safely: After entering =A2/B2 in C2, drag the fill handle down to apply to other rows. Excel automatically adjusts references (A3/B3, A4/B4, etc.).
  • Round percentages: For cleaner displays, wrap your formula in ROUND (e.g., =ROUND(A2/B2, 4) for 4 decimal places), then apply Percentage format.
  • Use named ranges: Select your data, go to Formulas > Define Name, and assign names like "Part" and "Whole". Then use =Part/Whole for clarity.
  • Check for hidden decimals: If formatting doesn’t show expected decimals, increase decimal places using the Increase Decimal button in the Number group.

Troubleshooting

If your percentage calculation doesn’t work as expected, follow these checks in order:

  1. Verify cell contents: Double-click the part and whole cells to confirm they contain numbers—not text (text appears left-aligned; numbers appear right-aligned). If text, use Data > Text to Columns > Finish to convert.
  2. Check the formula syntax: Ensure it starts with =, uses correct cell references, and has no extra characters. For example, =A2/B2 is correct; =(A2/B2 is not.
  3. Inspect for errors: If you see #VALUE!, one cell contains non-numeric data. If you see #DIV/0!, the denominator is zero or empty. If you see #NAME?, Excel doesn’t recognize a function or range name.
  4. Confirm formatting: If the result shows as a decimal (e.g., 0.75) instead of 75%, apply the Percentage format again. Also, check if the cell is set to Accounting or Currency—these override Percentage formatting.
  5. Test with simple values: Enter 1 in A2, 4 in B2, and use =A2/B2. The result should be 25% after formatting. If correct, your issue lies with original data or references.
  6. Restart Excel: Rarely, a temporary glitch causes display errors. Close and reopen Excel, then recheck the formula.

Frequently Asked Questions

How do I calculate a percentage of a number in Excel?

Use the formula =percentage * total. For example, to find 20% of 150, type =20%*150 or =0.2*150 in a cell. The result is 30.

Can Excel automatically update the percentage when values change?

Yes. As long as your formula references live cells (e.g., =A2/B2), updating A2 or B2 instantly recalculates the percentage. No manual refresh is needed.

Why does my percentage show as a whole number with no decimals?

Excel’s default Percentage format uses one decimal place (e.g., 25.0%). To show more precision, select the cell and click Increase Decimal in the Number group until the desired decimals appear.

How do I calculate the percentage change between two numbers?

Use the formula =(new_value - old_value) / old_value. For example, if old value is in B2 (100) and new value is in C2 (120), enter =(C2-B2)/B2 in D2, then apply Percentage format. The result is 20%.

What’s the difference between using *100 and the Percentage format?

*100 stores the raw number (e.g., 25), while Percentage format stores the decimal (0.25) and displays it as 25%. Using both (e.g., =A2/B2*100 + Percentage format) multiplies the value again, causing errors. Choose one method only.

Can I calculate percentages across multiple rows at once?

Yes. Enter the formula once (e.g., =A2/B2 in C2), then drag the small square in the bottom-right corner of C2 down the column. Excel copies and adjusts references for each row (A3/B3, A4/B4, etc.).