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)| Argument | What it means | |
|---|---|---|
number | Required | The value or calculation to round. |
num_digits | Required | Decimal 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
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Invoice | Net | VAT rate | |
| 2 | INV-301 | 41.35 | 0.24 | 9.92 |
| 3 | INV-302 | 18.99 | 0.24 | |
| 4 | INV-303 | 129.6 | 0.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
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Student | Test 1 | Test 2 | Test 3 | |
| 2 | Maria | 78 | 85 | 91 | 84.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
| A | B | C | |
|---|---|---|---|
| 1 | City | Population | |
| 2 | Thessaloniki | 1234567 | 1,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
| A | B | C | |
|---|---|---|---|
| 1 | Case | Value | |
| 2 | Refund | -2.5 | -3 |
| 3 | Charge | 2.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.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
Totals off by a cent | Values 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 results | A 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
Rounduses banker's rounding; callApplication.WorksheetFunction.Roundin 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.
| Language | Function name |
|---|---|
| Czech | ZAOKROUHLIT |
| Danish | AFRUND |
| Dutch | AFRONDEN |
| Finnish | PYÖRISTÄ |
| French | ARRONDI |
| German | RUNDEN |
| Hungarian | KEREKÍTÉS |
| Italian | ARROTONDA |
| Norwegian (Bokmål) | AVRUND |
| Polish | ZAOKR |
| Portuguese (Brazil) | ARRED |
| Portuguese (Portugal) | ARRED |
| Russian | ОКРУГЛ |
| Spanish | REDONDEAR |
| Swedish | AVRUNDA |
| Turkish | YUVARLA |
Recipes that use ROUND
- How to calculate a weighted average in Excel
- How to calculate compound interest in Excel
- How to calculate overtime in Excel
- How to calculate percentage change in Excel
- How to calculate percentage of total in Excel
- How to convert decimal hours to time in Excel
- How to create a loan payment schedule in Excel
- How to create a progress bar in Excel cells