To get a percentage in Google Sheets, divide the part by the whole and format the result as a percent: type =A2/B2 in an empty cell, then click the Format as percent button (the % icon) on the toolbar. That is the whole trick. The rest of this guide covers the variations you will actually run into: percentages of a total, percent change, percent increase or decrease, and why Sheets sometimes shows 0.25 instead of 25%.
What You'll Need
- A Google account and access to Google Sheets (desktop browser or the mobile app).
- Two numbers per row: the part and the whole, or the old value and the new value, depending on what you are calculating.
- No add-ons or extensions. Everything here uses built-in formulas and toolbar buttons.
Menu labels can differ slightly between the desktop browser, the Android app and the iPhone/iPad app, and between Google Workspace editions. Where a step is desktop-only, it is called out.
Step-by-Step
- Enter your data in two columns. Put the part (the smaller slice) in column A and the whole (the total) in column B. For example, A2 = 25 and B2 = 200. Leave row 1 for headers such as Part and Total.
- Click the cell where you want the percentage. C2 is a sensible spot.
- Type the division formula. Enter
=A2/B2and press Enter. Sheets returns 0.125, which is the decimal form of 12.5%. - Format the cell as a percent. With C2 still selected, click the Format as percent button on the toolbar (it looks like a % sign). On mobile, tap the cell, tap the format button (the letter A with lines, or the paint roller icon depending on platform), then choose Number format > Percent. The value now reads 12.50%.
- Adjust the decimal places if you want. The toolbar has Increase decimal places and Decrease decimal places buttons next to the percent button. Two decimal places is the default; one is usually enough for reports.
- Fill the formula down. Drag the small blue square at the bottom-right corner of C2 down the column, or copy C2 and paste it into the cells below. Sheets adjusts the row references automatically.
- For a percentage of a total, lock the total cell. If your total sits in a single cell (say B10) and you want each row's share of it, use
=A2/$B$10. The dollar signs make it an absolute reference so it does not shift when you copy the formula down. Format that column as percent too. - For percent change, subtract and divide. With the old value in A2 and the new value in B2, use
=(B2-A2)/A2. A positive result is an increase, a negative result is a decrease. Format as percent. If you want the sign shown explicitly, use a custom number format or wrap the formula inTEXT. - Check the result makes sense. A part larger than the whole gives a result over 100%, which is fine mathematically but often means the columns are swapped. A result of 0 usually means the part cell is empty.
Common Mistakes
- Multiplying by 100 unnecessarily. If you type
=A2/B2*100and then also apply percent formatting, you get 1250% instead of 12.5%. Either divide and format, or multiply and leave it as a plain number. Do not do both. - Forgetting to format. The formula returns a decimal. Without percent formatting it looks like 0.125, which people misread as a tiny number rather than 12.5%.
- Relative references in a percentage-of-total formula. Using
=A2/B2and dragging down when B2 is the single grand total gives wrong answers from row 3 onward. Use$B$2. - Dividing by zero or by an empty cell. Sheets shows
#DIV/0!. Wrap the formula inIFERROR, for example=IFERROR(A2/B2,""), to leave a blank instead of an error. - Mixing text and numbers. A cell that looks like 25 but is stored as text (often pasted from another system) will break the division. Check by selecting the cell: numbers align right by default, text aligns left.
- Using the wrong base for percent change. Percent change always divides by the old value, not the new one. Dividing by the new value gives a different, incorrect figure.
Tips
- Use the Format menu > Number > Percent on desktop if you prefer menus to toolbar buttons. The result is identical.
- For a quick visual, select your percentage column and insert a chart. A pie chart reads percentages directly, and a bar chart makes comparisons between rows easier.
- Conditional formatting can highlight percentages above or below a threshold: Format > Conditional formatting, choose Greater than and enter 0.5 for 50%. Note that the rule compares the underlying decimal, not the displayed percent.
- If you need the percentage as text for a label,
=TEXT(A2/B2,"0.0%")returns a string like 12.5%. Be aware that text results cannot be used in further calculations. - Keep the part and whole in adjacent columns so formulas stay short and easy to audit. Long chains of cell references are where most errors hide.
- Freeze the header row with View > Freeze > 1 row so labels stay visible as you scroll through a long percentage column.
Troubleshooting
If the cell shows a decimal like 0.125 instead of a percentage, the formatting did not apply. Select the cell, click the percent button again, and confirm the toolbar shows the % icon as active. If the button appears greyed out, the cell may contain text rather than a formula result.
If you see #DIV/0!, the denominator cell is empty or zero. Fill in the total or wrap the formula in IFERROR as described above.
If the formula shows as text rather than calculating, the cell is probably formatted as plain text before you typed. Clear the cell, set the format to Automatic or Number, then re-enter the formula.
If copying the formula gives the same answer in every row, your references are absolute when they should be relative, or the reverse. Check for stray dollar signs.
If the percentage looks right but the chart does not, the chart may be plotting the wrong range. Right-click the chart, choose Data range, and confirm the percentage column is included.
If nothing updates after you change a source number, check File > Settings > Calculation and make sure iterative calculation is off unless you deliberately need it. In normal use, Sheets recalculates automatically.
Frequently Asked Questions
How do I get a percentage of a total in Google Sheets?
Divide the part by the total with =A2/B2, then click the percent button. If the total is in one fixed cell, use =A2/$B$2 so the reference does not move when you copy the formula down.
Why does Google Sheets show 0.25 instead of 25%?
The cell is formatted as a number, not a percent. Select it and click Format as percent on the toolbar, or use Format > Number > Percent. The underlying value does not change; only the display does.
How do I calculate percent change between two numbers?
Use =(New-Old)/Old, for example =(B2-A2)/A2. Format the result as a percent. A positive number is an increase and a negative number is a decrease.
Can I show a percentage with no decimal places?
Yes. Select the cell and click Decrease decimal places on the toolbar until it reads the way you want, such as 13% instead of 12.50%. This only changes the display, not the stored value.
How do I stop #DIV/0! errors in a percentage column?
Wrap the formula in IFERROR: =IFERROR(A2/B2,""). Empty totals then produce a blank cell instead of an error, which keeps charts and sums clean.
Does this work the same in the Google Sheets mobile app?
Yes, the formulas are identical. The percent formatting button is in the mobile format menu rather than on a toolbar, and the exact icon varies between Android and iPhone, so look for the number-format option and choose Percent.