Math & trig function

ROUND function

Rounds a number to a chosen number of digits, with halves rounded away from zero.

Available in All versions of Excel, Excel for the web, Excel for Mac

In every Excel versionWorks in Google Sheets

Syntax

ROUND(number, num_digits)
ArgumentWhat it means
numberRequiredThe value or calculation to round.
num_digitsRequiredDecimal places to keep. 2 = cents, 0 = whole number, negative values round to the left of the decimal point (−1 tens, −2 hundreds, −3 thousands).

Returns: The rounded number. The stored value really changes, unlike a number format.

How ROUND works

ROUND changes a number so it has only the digits you want. =ROUND(B2*C2, 2) turns a VAT calculation like 9.924 into 9.92, which is what you need on an invoice, payslip or tax return where every line must add up to the printed total. With 0 digits you get a whole number, and with negative digits you round to tens, hundreds or thousands for reports and budgets.

Excel rounds half away from zero: 2.5 becomes 3 and −2.5 becomes −3. This is the rule most people learn at school, but it differs from "banker's rounding" (round half to even) used by VBA's Round function and some other software, so totals can disagree by a cent between systems.

The important difference from formatting: the Decrease Decimal button only changes what you see, and further calculations keep using the full value. ROUND changes the value itself. If you need values that are always rounded up or down, use ROUNDUP, ROUNDDOWN, CEILING.MATH or FLOOR.MATH; to round to a multiple such as 0.05 use MROUND.

Examples

1VAT rounded to cents

D2fx=ROUND(B2*C2, 2)
ABCD
1InvoiceNetVAT rate
2INV-30141.350.249.92
3INV-30218.990.24
4INV-303129.60.24

Result: 9.92

41.35 × 24% = 9.924, which rounds to 9.92. Fill down for 4.56 (from 4.5576) and 31.10 (from 31.104). Shown with 2 decimals.

2Average grade to one decimal

E2fx=ROUND(AVERAGE(B2:D2), 1)
ABCDE
1StudentTest 1Test 2Test 3
2Maria78859184.7

Result: 84.7

The average is 84.666…, and ROUND keeps one decimal: 84.7. Round the final result, not the individual inputs, to avoid rounding errors piling up.

3Round to thousands for a report

C2fx=ROUND(B2, -3)
ABC
1CityPopulation
2Thessaloniki12345671,235,000

Result: 1,235,000

A negative num_digits rounds to the left of the decimal point: −3 gives the nearest thousand, 1,235,000.

4Halves go away from zero

C2fx=ROUND(B2, 0)
ABC
1CaseValue
2Refund-2.5-3
3Charge2.5

Result: -3

−2.5 is rounded to −3 and, in C3, 2.5 to 3. Excel never rounds halves to the even number, unlike VBA's Round.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 17 KB

Common errors and how to fix them

ErrorWhy it happensFix
Totals off by a centValues were only formatted to 2 decimals, so hidden decimals are summed.Round each line with ROUND(...,2) before adding, if the document shows rounded lines.
#VALUE!number is text that cannot be converted.Check the source cell.
Unexpected .5 resultsA value like 1.005 is stored as 1.00499999… in binary floating point.Excel corrects most of these cases; for critical cases round an intermediate value first, e.g. =ROUND(ROUND(x,6),2).

Tips

  • Wrap the whole calculation: =ROUND(B2*C2, 2) rather than rounding B2 and C2 separately.
  • Use num_digits −2 to get prices in hundreds for quick budget figures.
  • File > Options > Advanced > "Set precision as displayed" permanently rounds the whole workbook; ROUND is a safer, per-cell choice.
  • VBA's Round uses banker's rounding; call Application.WorksheetFunction.Round in macros to match the sheet.

Questions

What is the difference between ROUND and formatting with fewer decimals?

Formatting only changes what you see; ROUND changes the stored value, so later sums use the rounded figure.

How do I round to the nearest 5 or 0.05?

Use MROUND, e.g. =MROUND(B2, 0.05), or CEILING.MATH / FLOOR.MATH to force the direction.

Does ROUND use banker's rounding?

No. The worksheet ROUND rounds halves away from zero (2.5 → 3, 3.5 → 4). Only VBA's Round function rounds to even.

Google Sheets

ROUND also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

ROUND in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.

LanguageFunction name
CzechZAOKROUHLIT
DanishAFRUND
DutchAFRONDEN
FinnishPYÖRISTÄ
FrenchARRONDI
GermanRUNDEN
HungarianKEREKÍTÉS
ItalianARROTONDA
Norwegian (Bokmål)AVRUND
PolishZAOKR
Portuguese (Brazil)ARRED
Portuguese (Portugal)ARRED
RussianОКРУГЛ
SpanishREDONDEAR
SwedishAVRUNDA
TurkishYUVARLA

Recipes that use ROUND