Google Sheets ROUND Function: Step-by-Step Guide
In this article
The ROUND function in Google Sheets rounds a number to a specified number of decimal places using standard rounding rules: digits 5 and above round up, while 4 and below round down. The syntax is =ROUND(value, places), where value is the number or cell reference you want to round, and places is the number of decimal places to keep. For example, =ROUND(3.14159, 2) returns 3.14, and =ROUND(2.5, 0) returns 3. This guide walks you through using ROUND correctly, avoiding common errors, and fixing typical problems.
What You'll Need
- A Google account with access to Google Sheets (free with any Google account).
- A spreadsheet open in Google Sheets on desktop or mobile. The steps below apply to both, though the mobile app may label menus slightly differently.
- Basic familiarity with entering formulas (starting with
=).
Step-by-Step
- Open your spreadsheet. Go to sheets.google.com and open the file you want to work in, or create a new blank spreadsheet.
- Select the cell where you want the rounded result. Click the cell once so it is highlighted. This is where the formula output will appear.
- Type the ROUND formula. Start with an equals sign, then type
ROUND(. For example, to round the number in cell A1 to two decimal places, type=ROUND(A1, 2). You can also type a literal number:=ROUND(7.865, 1). - Press Enter (or Return). The cell will display the rounded result. If you typed a cell reference, the result updates automatically when the source value changes.
- Adjust the number of decimal places. The second argument controls precision. Use 0 for whole numbers, 1 for tenths, 2 for hundredths, and so on. Negative values round to the left of the decimal point:
=ROUND(1234, -2)returns 1200. - Copy the formula down or across. Drag the small blue square at the bottom-right corner of the cell (the fill handle) to apply the same formula to other rows. Relative references adjust automatically; use dollar signs (e.g.,
$A$1) if you need an absolute reference. - Check the result. Click the cell and look at the formula bar to confirm the formula is correct. The displayed value is the rounded number, but the underlying cell still contains the formula, not a static number.
Common Mistakes
- Forgetting the second argument.
=ROUND(A1)is valid and rounds to 0 decimal places, but many users expect it to keep decimals. Always specifyplacesexplicitly. - Confusing ROUND with formatting. Changing the number format (Format > Number) only changes how a value is displayed; it does not change the stored value. ROUND actually changes the value used in calculations.
- Using text instead of numbers. If the source cell contains text that looks like a number (e.g., "3.14" with a leading apostrophe), ROUND may return an error or unexpected results. Convert text to numbers first.
- Expecting ROUND to handle negative places incorrectly. Negative places are valid and round to tens, hundreds, etc. A common error is assuming only positive places work.
- Rounding before summing. Rounding each value and then summing can produce a different total than summing and then rounding. Decide which approach your calculation requires.
- Typing commas incorrectly in some locales. In regions where the decimal separator is a comma, formula syntax may require a different separator (often a semicolon). Google Sheets usually handles this automatically, but check your locale settings if you see errors.
Tips
- Use
ROUNDUPorROUNDDOWNwhen you need to always round in one direction, regardless of the digit. - Combine ROUND with other functions, e.g.,
=ROUND(SUM(A1:A10), 2)to sum first and then round the total. - To round to the nearest whole number quickly, use 0 as the places argument:
=ROUND(A1, 0). - If you need to round to a specific multiple (e.g., nearest 5), use
MROUNDinstead. - Remember that ROUND uses standard half-up rounding for positive numbers; for negative numbers, -2.5 rounds to -3 (away from zero).
- Use the formula bar to edit long formulas; double-click the cell to enter edit mode.
Troubleshooting
If your ROUND formula returns an error, check these common issues:
- #VALUE! error: One of the arguments is not a number. Ensure the cell reference points to a numeric value, or use
VALUE()to convert text to a number. - #NAME? error: The function name is misspelled (e.g., "ROUND" not "ROUNDD") or you are using a function not available in your locale. Check spelling.
- #N/A error: The referenced cell is empty or contains an error. Check the source cell.
- Formula shows as text: The cell may be formatted as plain text. Change the format to Number (Format > Number) and re-enter the formula.
- Unexpected rounding results: Verify the number of decimal places. For example,
=ROUND(2.675, 2)may return 2.67 due to floating-point representation; this is a known limitation of binary floating-point arithmetic, not a bug in Sheets. - Formula not updating: Check that automatic calculation is enabled (File > Settings > Calculation). If set to manual, press Ctrl+R (or Cmd+R on Mac) to recalculate.
If the problem persists, try re-entering the formula from scratch or copying it to a new cell to isolate the issue.
Frequently Asked Questions
What is the difference between ROUND and formatting a number?
ROUND changes the actual value stored in the cell, so it affects calculations. Formatting only changes how the number is displayed; the underlying value remains unchanged.
Can I round to the nearest thousand?
Yes. Use a negative number for places: =ROUND(12345, -3) returns 12000.
Does ROUND work with negative numbers?
Yes. For example, =ROUND(-2.5, 0) returns -3. Google Sheets rounds half away from zero for negative numbers.
How do I round a range of cells at once?
You cannot round a range directly with ROUND; you must apply the formula to each cell individually. Use =ROUND(A1, 2) in a helper column and fill down, or use ARRAYFORMULA with ROUND to apply to a range: =ARRAYFORMULA(ROUND(A1:A10, 2)).
Why does ROUND sometimes give unexpected results with decimals?
This is due to floating-point precision in computers. For example, 2.675 may be stored as 2.674999..., so rounding to two decimals gives 2.67. To avoid this, consider using ROUND on values that are already exact or use MROUND with a small tolerance.
Is ROUND available in Google Sheets on mobile?
Yes. The ROUND function works the same way in the Google Sheets mobile app for Android and iOS. The formula entry method is similar, though the keyboard and interface differ slightly.