How do I calculate a percentage?
Divide the part by the whole, then format the cell as a percentage. Do not also multiply by 100 if you use that format.
BasicsBeginner4 minExcel · Google Sheets
Example content. The numbers are fictional and made for learning.
Answer
Put the part in one cell and the whole in another. In the sample, 240 is the part and 1,200 is the whole. The formula =B2/C2 returns 0.2.
Format that cell as a percentage to display 20%. In Excel, use the percent style on the Home tab. In Google Sheets, use the percent button on the toolbar. The stored value stays 0.2. The format only changes how it is shown.
If you multiply by 100 and also apply the percent format, the cell shows 2000%. Use one approach: the ratio plus percent format, or the ratio times 100 with a number format.
If the whole can be 0, the division produces an error. The divide-by-zero question shows a formula that returns a blank instead. The slash in this formula is the same in Excel and Google Sheets, and there is no function name to translate.
Divide the part by the whole.
=B2/C2This formula does not use a function name. The cell names and the math signs are the same in Excel and Google Sheets.
Parts of the formula
=Starts the formula.
B2The part. In the sample, 240.
/Divide. This sign is the same in Excel and Google Sheets.
C2The whole. In the sample, 1,200. The result 0.2 displays as 20% after you apply a percent format.