Skip to content

ROUND

Rounds a number to a set number of decimal places, or to tens, hundreds and thousands with a negative number. Halves round away from zero.

Syntax

=ROUND(, )

Math and trigonometry

All versions of Excel.

Try it

Edit the formula in B2 or change the inputs. The sheet recalculates as you type.

B2
A
B
C
1
Value
Rounded
2
3.14159
3.14
3

B2 =ROUND(A2,2) returns 3.14

How ROUND works

ROUND changes the value of a number. That is its main difference from formatting a cell to show two decimals: a number format only changes what you see, while ROUND changes what is stored and what every later formula uses.

How ROUND works

=ROUND(3.14159, 2) returns 3.14. The second argument says how many decimal places to keep. A value of 0 rounds to a whole number, and negative values round to the left of the decimal point: =ROUND(1234.5678, -2) returns 1200.

Excel rounds a number that ends exactly on a half away from zero. So =ROUND(2.5, 0) is 3 and =ROUND(-2.5, 0) is -3. It does not use "banker's rounding", where halves go to the nearest even number.

When to round, and when to format

Round when a figure is a real amount that will be paid, invoiced or reported, such as a price including tax. Format when you only want a tidy display. If you only format, the cell shows 23.99 but still holds 23.988, and a column of such values can appear not to add up on the page.

A common pattern is to round each line before totalling: =ROUND(B2*(1+$E$1), 2) on every row, then SUM. The total then equals the sum of the numbers a reader sees. If you round only the total, it can differ by a penny or two from the sum of rounded lines.

Rounding to other steps

ROUND works in powers of ten. For other steps use a different function:

  • MROUND rounds to the nearest multiple, such as 5 or 0.05.
  • ROUNDUP and ROUNDDOWN always go away from or towards zero.
  • INT and TRUNC remove the decimal part.

Rounding inside bigger formulas

ROUND is often wrapped around a calculation, as in =ROUND(AVERAGE(B2:B9), 1), so the intermediate figures keep full precision until the end. Avoid rounding in the middle of a chain of calculations unless the rounded figure is the one you need to carry forward, because each round discards a little accuracy.

ROUND accepts numbers and numeric text only. A cell that holds text such as "n/a" returns #VALUE!.

Arguments

number
The number to round: a value, a cell such as B2, or a calculation such as B2*1.2.
num_digits
How many decimal places to keep. 2 keeps pence or cents, 0 gives a whole number, and a negative number rounds to the left of the point: -1 to tens, -2 to hundreds, -3 to thousands.

Examples

Each example is a live sheet. Change the inputs or the formula and watch the result.

Example 1

Round to two decimals

B2 =ROUND(A2,2)

Result: 3.14

The third decimal, 1, is below 5, so the 4 stays as it is.

B2
A
B
C
1
Value
Rounded
2
3.14159
3.14
3

B2 =ROUND(A2,2) returns 3.14

Example 2

Round to the nearest hundred

B2 =ROUND(A2,-2)

Result: 1200

A negative num_digits works left of the decimal point: -1 is tens, -2 is hundreds and -3 is thousands.

B2
A
B
C
1
Revenue
To nearest 100
2
1234.5678
1200
3

B2 =ROUND(A2,-2) returns 1200

Example 3

Halves round away from zero

B3 =ROUND(A3,0)

Result: -3

Excel rounds the half in -2.5 away from zero, so the result is -3. ROUND(A2,0) gives 3.

B3
A
B
C
1
Value
Rounded
2
2.5
3
-2.5
-3
4

B3 =ROUND(A3,0) returns -3

Example 4

Price including tax, rounded to the penny

C2 =ROUND(A2*(1+B2),2)

Result: 21.64

19.99 x 1.0825 is 21.639175, which rounds to 21.64. Without ROUND the cell would only appear to hold 21.64.

C2
A
B
C
1
Net price
Tax rate
Gross price
2
19.99
0.08
21.64
3

C2 =ROUND(A2*(1+B2),2) returns 21.64

Example 5

Round only after totalling

B6 =ROUND(SUM(B2:B4),2)

Result: 10

The three lines add to exactly 10. Rounding each line to 2 places first would give 3.33 + 3.33 + 3.33 = 9.99.

B6
A
B
C
1
Line
Cost
2
A
3.333
3
B
3.333
4
C
3.334
5
6
Total
10

B6 =ROUND(SUM(B2:B4),2) returns 10

Your turn.

Solve it in the sheet. Every answer is checked, with hints if you need them.

Task 1 of 2

In C2, work out the gross price including the tax rate in E1, rounded to two decimals. Fill it down to C6.

Answer in C2, then it fills down to C6.

C2
A
B
C
D
E
1
Item
Net price
Gross price
Tax rate
8.25%
2
Desk lamp
12.49
3
Monitor arm
8.95
4
Laptop stand
23.40
Net total to nearest 10
5
USB-C hub
5.75
6
Webcam
19.99
7
8

Common mistakes

  • Formatting a cell to two decimals doesn't round it. The full value is still stored and used by other formulas, so totals can look a penny out. Use ROUND when the rounded value matters.
  • A negative num_digits rounds to the left of the point, not to the right. ROUND(1234.5, -2) is 1200, not 1234.50.
  • Rounding each line and then totalling can give a different answer from totalling and then rounding. Decide which the report needs and apply it consistently.
  • ROUND only rounds to a power of ten. To round to the nearest 5, 0.05 or 25, use MROUND or CEILING.MATH.
  • ROUND returns #VALUE! for text that isn't a number. Check for "n/a" or stray spaces in the source column.

Questions people ask

How do I round to 2 decimal places in Excel?

Use `=ROUND(B2, 2)`. This changes the stored value. If you only want to change the display, use the Decrease Decimal button or a number format instead.

What is the difference between ROUND and formatting?

ROUND changes the number, so every later formula uses the rounded figure. Formatting changes only what the cell shows, while the full value stays underneath.

How do I round to the nearest 10, 100 or 1,000?

Use a negative second argument: `=ROUND(B2, -1)` for tens, `-2` for hundreds and `-3` for thousands.

Does Excel round 0.5 up or down?

Away from zero. ROUND(0.5, 0) is 1 and ROUND(-0.5, 0) is -1. Excel does not round halves to the nearest even number.

How do I always round up or always round down?

Use ROUNDUP to round away from zero and ROUNDDOWN to round towards zero. Both take the same two arguments as ROUND.

Learn ROUND in a real sheet.

ROUND is taught in Excel foundations, lesson 13: ROUND. Each lesson is a short, graded exercise like the one above.