The short answer: there is no single “percentage function” in Google Sheets. Instead, you calculate a percentage with a regular division formula (like =A2/B2) and then format the result as a percent using Format > Number > Percent. This guide covers the exact formulas for common percentage tasks, how to avoid the classic decimal mistake, and how to handle percent change, percent of total, and more.
What “Percentage Function” Really Means in Sheets
When people search for a percentage function, they often expect something like =PERCENT(). That function does not exist. Google Sheets handles percentages through arithmetic and number formatting. The underlying value is always a decimal: 50% is stored as 0.5, 100% as 1, and so on. The percent format simply changes how that decimal is displayed.
This design is actually helpful because it lets you multiply and divide percentages directly in formulas without converting. For example, if cell B2 contains 0.2 and is formatted as a percent, it displays “20%”. If you multiply that by 100, you get 20 (the raw number), which is a common source of confusion.
How to Calculate a Percentage of a Total
The most common percentage task is finding what portion one number is of a total. Suppose you have sales in column B (B2:B10) and you want to know each row’s share of the total.
With the total in B11 (entered as =SUM(B2:B10)), put this in C2:
=B2/$B$11
Copy it down to C10. The dollar signs lock the total reference so it doesn’t shift. Then select C2:C10, go to Format > Number > Percent. The result shows each row’s share. If B2 is 25 and the total is 200, the formula returns 0.125, which displays as 12.5%.
If you want the percentage as a plain number (like 12.5) instead of a formatted percent, use =B2/$B$11*100 and keep the cell in Number format.
Calculating Percent Change (Increase/Decrease)
Percent change compares an old value to a new value. The formula is (new - old) / old. In Sheets, if the old value is in A2 and the new in B2, use:
=(B2-A2)/A2
Format the result as a percent. For example, if A2 = 50 and B2 = 65, the formula gives (65-50)/50 = 0.3, which displays as 30% increase. If B2 is 40, the result is -0.2, or -20% (a decrease).
One common error: dividing by the new value instead of the old. That gives a different number and is only correct if you are calculating the reverse change. Always divide by the original (old) value.
Using the PERCENTIF and PERCENTILE Functions (Real Functions)
While there is no generic PERCENT function, Sheets does have two functions with “percent” in the name:
PERCENTIF()– returns the percentage of a range that meets a condition. For example,=PERCENTIF(A2:A10, ">50")gives the percentage of cells greater than 50. The result is a decimal (0.4 for 40%), so format as percent.PERCENTILE()– returns the value below which a given percentage of the data falls. For instance,=PERCENTILE(B2:B100, 0.9)gives the 90th percentile. The second argument is the percentile as a decimal (0.9 for 90%).
These are not “percentage calculators” in the everyday sense, but they are the only built-in functions that directly produce a percentage-related result.
Common Mistakes and How to Fix Them
Several errors trip up new users:
- Multiplying by 100 unnecessarily. If you format as percent, the cell already shows 50% for 0.5. Adding *100 gives 50%, which is wrong (it would display 5000%). Only multiply by 100 if you want a plain number.
- Using the wrong base. For percent change, always divide by the old value. For percent of total, divide by the grand total.
- Forgetting to lock the total reference. When copying a formula down, use
$B$11(absolute reference) to keep the total constant. - Percent format not applying. If you type
=A2/B2and the result looks like 0.2, select the cell and press Ctrl+Shift+% (Windows) or Cmd+Shift+% (Mac) to apply percent format quickly.
Formatting Percentages Correctly (Including Decimals)
To control how many decimal places appear, use Format > Number > Custom number format. For example, to show one decimal place, enter 0.0% in the custom format box. This displays 12.5% instead of 13%. You can also use Format > Number &b> > Percent and then use the “Increase decimal places” button on the toolbar.
Remember that the underlying value remains the decimal. Changing the display format does not change the number used in other formulas. If you copy a percent-formatted cell and use it in a calculation, Sheets uses the decimal value (0.125), not 12.5.
Percentages in Conditional Formatting and Charts
Percentages also appear in visualizations. In conditional formatting, you can highlight cells that are above a certain percentage. For example, to highlight cells in B2:B10 that are above 20%, select the range, go to Format > Conditional formatting, choose “Greater than” and enter 0.2 (or 20% – Sheets accepts both).
In charts, if you create a pie chart from a column of numbers, the chart labels can show percentages automatically. Select the chart, click the three-dot menu, choose “Edit chart”, then under “Customize > Pie chart”, check “Slice label” and choose “Percentage”. This uses the total of the selected data, not a formula.
Frequently Asked Questions
How do I add a percentage sign to a number without changing its value? Select the cell, go to Format > Number > Percent. This multiplies the displayed value by 100 and adds the % sign, but the underlying value stays the same (0.5 becomes 50%).
What is the formula for percentage increase in Google Sheets? Use =(new-old)/old. For example, if old is in A1 and new in B1, enter =(B1-A1)/A1 and format as percent.
Why does my percentage formula show 0.2 instead of 20%? Because the cell is in “Number” format. Apply percent format via Format > Number > Percent or press Ctrl+Shift+% (Windows) / Cmd+Shift+% (Mac).
Can I calculate a percentage of a total without a separate total cell? Yes, you can embed the SUM: =B2/SUM($B$2:$B$10). This works but is less efficient if you need the total elsewhere.
Is there a PERCENTRANK function in Sheets? Yes, there is PERCENTRANK() which returns the rank of a value as a percentage of a data set. For example, =PERCENTRANK(A2:A10, 5) gives the percentage of values less than or equal to 5. It is different from PERCENTILE, which does the reverse.
How do I convert a decimal to a percentage in a formula? Multiply by 100 if you want the number, or simply format as percent. For example, =0.125*100 gives 12.5, while formatting 0.125 as percent shows 12.5%.
Alternatives and When to Use Them
If you need to do percentage calculations across many rows, you can use array formulas. For example, to get all percentages of total in one go, place =ARRAYFORMULA(B2:B10/SUM(B2:B10)) in C2. This fills the column automatically. For conditional percentages, you might combine IF with division, like =IF(A2>0, B2/A2, 0) to avoid division by zero errors.
In Microsoft Excel, the same principles apply, but the function names differ slightly (e.g., there is no PERCENTIF in Excel; you would use COUNTIF divided by COUNTA). The formatting path is also different: Home > Number > Percent Style.
For most everyday percentage needs, a simple formula plus percent format is all you need. The key is understanding that percentages are decimals in disguise.
Related
- Windows Tab Shortcut: All Key Combos
- Google Sheets REGEXREPLACE: How to Use It
- Entry Level Data Management Jobs in MD USA
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Delete a Blank Page in Word: Step-by-Step GuideTo delete a blank page in Word, turn on formatting marks, find the paragraph mark or break creating…
- How to Insert a Drop-Down Checkbox in Excel CellsTo make a drop-down checkbox in Excel, create a Data Validation list containing unchecked and checked symbols, then…
- Excel Split Names in One Cell Into Two CellsTo split names in Excel, select the name cells and choose Data > Text to Columns > Delimited,…
- Insert 0 in Excel Before a Number: Text or FormattingTo put a leading zero in front of a value in Excel, use a custom number format if…
- Excel Keyboard Shortcuts to Switch Between Worksheet TabsIn Excel for Microsoft 365 on Windows, press Ctrl+Page Down to move to the next sheet tab, or…
- Unmerge Cells in Excel: Keyboard Shortcuts and StepsTo unmerge cells in Excel for Microsoft 365 on Windows, select a merged cell or merged range, then…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.