Going Stellar

Home/Google Sheets reference

Google Sheets function · Math

ROUND in Google Sheets: syntax and examples

ROUND changes the stored value of a number to the decimals you ask for. Without places it returns an integer, and a negative places rounds to tens, hundreds or thousands. Use it before you add up prices, so totals match the invoice.

Syntax

ROUND(value, [places])

Arguments

ArgumentTypeRequiredWhat it does
valuenumberyesThe number to round. A cell, a formula or a literal.
placesnumbernoHow many decimals to keep. 0 or omitted gives an integer, a negative number rounds to tens, hundreds and so on.

Examples

The examples use this table, starting in A1:

ValueNote
2.5half
-2.5negative
1234.5678long
0.125eighth
=ROUND(A4, 2)

Result: 1234.57

Two decimals: 1234.5678 becomes 1234.57.

Run in a Google Sheet (English US locale) on .

=ROUND(A4, -2)

Result: 1200

A negative places rounds to the left of the decimal point, here to hundreds.

Run in a Google Sheet (English US locale) on .

=ROUND(A2)

Result: 3

Without places the result is an integer. 2.5 goes up to 3.

Run in a Google Sheet (English US locale) on .

=ROUND(A3)

Result: -3

Half values round away from zero, so -2.5 becomes -3, not -2.

Run in a Google Sheet (English US locale) on .

=ROUND(A4/7, 3)

Result: 176.367

Round the result of a calculation, not just a cell.

Run in a Google Sheet (English US locale) on .

Common errors

  • Number formatting only hides decimals, ROUND really removes them. A column that looks rounded can still add up to a different total.
  • Half values go away from zero: 2.5 becomes 3 and -2.5 becomes -3. For a different rule use ROUNDUP, ROUNDDOWN or MROUND.
  • Text that is not a number, such as "abc", returns #VALUE!. Check the source column before rounding it.
  • ROUND takes one or two arguments. A third one, easy to add by habit from other functions, gives an error.

Compared with Excel

ROUND works the same in Excel, including the away-from-zero rule for halves.

Sources

  1. ROUND (Docs Editors Help)

Markdown version · All functions