Google Sheets Percentages: How to Calculate & Format

How-to basics · Updated November 23, 2026

To calculate a percentage in Google Sheets, divide the part by the total and format the result as a percent—for example, =B2/C2 with the cell formatted to Percent. That single formula covers most percentage needs, but the real skill is knowing when to use raw numbers, percent formatting, and functions like PERCENTIF or TO_PERCENT.

How Percentage Formatting Works in Sheets

Google Sheets stores percentages as decimal values. When you type 50% into a cell, Sheets actually stores 0.5 and applies a percent number format that displays it as 50%. This matters because formulas treat the underlying decimal, not the displayed label. For example, if A1 contains 50% and you multiply A1 by 200, the result is 100, not 100%.

To apply percent formatting, select the cells and go to Format > Number > Percent. You can also use the % icon in the toolbar. For more decimal places, choose Format > Number > Custom number format and enter something like 0.00%.

Basic Percentage Formulas (with Examples)

Assume you have sales in column A and totals in column B, with data in rows 2 to 10. To find what percentage each sale is of its total, enter in C2:

=A2/B2

Then drag the fill handle down. If A2 is 30 and B2 is 120, the formula returns 0.25, which displays as 25% after formatting. Always divide the part by the whole, not the other way around.

To calculate a percentage change between two values (e.g., last year vs. this year), use the formula:

=(new - old) / old

For example, with old value in D2 (200) and new value in E2 (250), the formula =(E2-D2)/D2 gives 0.25 or 25% increase. If the result is negative, it indicates a decrease.

Using PERCENTIF and Other Built-in Functions

Google Sheets has a dedicated function for conditional percentages: PERCENTIF. Its syntax is PERCENTIF(range, criterion). For instance, if you have a list of grades in A2:A20 and want the percentage of cells that contain “Pass”, use:

=PERCENTIF(A2:A20, "Pass")

This returns the count of “Pass” divided by the total number of non-empty cells in the range, formatted as a percentage. Note that it ignores blank cells. For numeric criteria, you can use operators like ">50".

Another useful function is TO_PERCENT, which converts a decimal to a percentage value (not just formatting). For example, =TO_PERCENT(0.25) returns 25% as a text-like value that can be used in concatenation. However, for most calculations, simply formatting the cell is better because TO_PERCENT returns a value that may not work in further arithmetic.

Common Mistakes and How to Avoid Them

One frequent error is dividing the total by the part, which gives the inverse. Another is forgetting to format the cell as percent, leaving a decimal like 0.25 that looks wrong. Also, be careful with empty cells: if your divisor is blank, Sheets treats it as 0, resulting in a #DIV/0! error. Use =IFERROR(A2/B2, "") to display a blank instead.

A common misconception is that typing % in a formula like =A2*10% works differently. In Sheets, 10% is interpreted as 0.1, so =A2*10% is the same as =A2*0.1. That’s correct, but it’s easy to accidentally type =A2*10 and get ten times the intended value.

Formatting Percentages for Readability

By default, percent formatting shows no decimal places (e.g., 25%). For precise figures, increase decimals via Format > Number > Custom number format and enter 0.00% to show two decimals. You can also add a thousands separator for large numbers, but that’s less common for percentages.

For conditional formatting based on percentages, select your data range and go to Format > Conditional formatting. Under “Format cells if,” choose “Greater than” or “Less than” and enter a decimal (e.g., 0.5 for 50%). Use the fill color option to highlight cells that meet the condition.

Percentages in Charts and Pivot Tables

When creating a chart, you can display values as percentages by selecting the chart, then in the Chart editor under “Customize” > “Series,” check “Data labels” and choose “Percentage.” For pivot tables, add a field to the “Values” section, then click the field and select “Show as” > “% of grand total” or “% of column total.” This is useful for analyzing proportions without writing formulas.

Alternatives and Differences from Excel

Excel uses the same underlying decimal system, but its function names differ slightly. For example, Excel has COUNTIF but not PERCENTIF; you’d write =COUNTIF(range,"Pass")/COUNTA(range) and format as percent. Excel also has a “Percent Style” button on the Home tab, while Sheets uses the toolbar or menu. Keyboard shortcuts: in Windows, Ctrl+Shift+% applies percent formatting in both Excel and Sheets; on Mac, it’s Cmd+Shift+%.

If you need to calculate a percentage of a total across multiple rows, consider using SUM with absolute references. For example, to find each item’s share of a grand total in B2:B10, enter in C2: =B2/$B$11 (where B11 holds the total). The dollar signs lock the reference when copying down.

Frequently Asked Questions

How do I calculate a percentage increase in Google Sheets?
Use =(new_value - old_value) / old_value and format as percent. For example, if old is 50 and new is 60, the formula returns 0.2, or 20%.

Why is my percentage showing as 0.25 instead of 25%?
You haven’t applied percent formatting. Select the cell(s) and click the % icon in the toolbar, or go to Format > Number > Percent.

Can I use percentages in conditional formatting rules?
Yes. In the conditional formatting rule, enter the decimal equivalent (e.g., 0.5 for 50%) or use a formula like =A1>0.5.

How do I format a cell to show a percentage with two decimals?
Go to Format > Number > Custom number format and type 0.00%. This displays 25.00% for a value of 0.25.

What does #DIV/0! mean in a percentage formula?
It means the divisor (the total) is zero or blank. Use =IFERROR(A2/B2, "") to show an empty cell instead of an error.

Is there a way to calculate a percentage of a total without writing a formula?
Yes, use a pivot table. Add the field to Values, then click “Show as” and choose “% of grand total.”

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.