Learn Excel
EN
Sets how numbers, dates and formulas look, so everything works just like your own Excel.

Home › Excel functions › ROUND

ROUND Function in Excel: ROUND, ROUNDUP, ROUNDDOWN and MROUND

ROUND rounds a number to the number of digits you choose. Its siblings ROUNDUP, ROUNDDOWN and MROUND always round up, always round down, or round to a multiple such as 5 cents.

In this guide
  1. ROUND syntax
  2. Rounding vs. formatting
  3. Try it yourself
  4. ROUNDUP and ROUNDDOWN
  5. Round to a multiple
  6. Negative numbers
  7. Round times up or down
  8. INT and TRUNC
  9. Round other formulas
  10. More ROUND examples
  11. Keep learning
  12. FAQ

ROUND syntax

=ROUND(number, num_digits)
num_digitsRounds toExampleResult
22 decimals=ROUND(3.14159, 2)3.14
11 decimal=ROUND(3.14159, 1)3.1
0Whole number=ROUND(3.6, 0)4
-1Tens=ROUND(1234.5, -1)1230
-2Hundreds=ROUND(1234.5, -2)1200
-3Thousands=ROUND(1234.5, -3)1000

A 5 is rounded away from zero: =ROUND(2.5, 0) gives 3 and =ROUND(-2.5, 0) gives -3.

Rounding is not the same as formatting

The Decrease Decimal button only changes how a number looks. The cell still holds every decimal, and calculations use the full value. That's why a column of prices showing two decimals can add up to a total that looks one cent off.

ABC
1Stored valueShown with 2 decimals=ROUND(A,2)
21.0041.001.00
31.0041.001.00
41.0041.001.00
5Sum3.013.00

The formatted column shows 1.00 three times but adds up to 3.012, displayed as 3.01. The rounded column adds up to exactly 3.00. If the rounded value is what matters (invoices, VAT, payroll), use ROUND in the formula.

ROUND practice: try it yourself

Reading is one thing, typing it is another. Build the formula below step by step: the tips tell you what to type next, and you can click or drag across cells to add them, just like in Excel.

Task: Round the price in B2 to two decimals, in C2: =ROUND(B2,2)

ROUNDUP and ROUNDDOWN

They take the same arguments as ROUND but always go in one direction, away from or towards zero:

  • =ROUNDUP(3.141, 2) returns 3.15
  • =ROUNDDOWN(3.149, 2) returns 3.14
  • =ROUNDUP(41/12, 0) returns 4: you need 4 boxes to pack 41 items in boxes of 12.

Round to a multiple: MROUND

=MROUND(number, multiple)
  • =MROUND(17, 5) returns 15 (nearest multiple of 5)
  • =MROUND(1.23, 0.05) returns 1.25 (nearest 5 cents)
  • =MROUND(A2, "0:15") rounds a time to the nearest quarter hour

To always round up or down to a multiple, use CEILING.MATH and FLOOR.MATH: =CEILING.MATH(17, 5) returns 20.

Rounding negative numbers

ROUNDUP and ROUNDDOWN look at the distance from zero, not at the number line. With negative numbers that is often the opposite of what you expect:

FormulaResultWhy
=ROUNDUP(-3.21, 1)-3.3away from zero
=ROUNDDOWN(-3.29, 1)-3.2towards zero
=CEILING.MATH(-3.21, 0.1)-3.2up on the number line
=FLOOR.MATH(-3.21, 0.1)-3.3down on the number line
=MROUND(-17, 5)#NUM!number and multiple have different signs
=MROUND(-17, -5)-15same sign, so it works

For refunds, credit notes or temperatures, decide first whether "up" means "larger" (CEILING.MATH) or "further from zero" (ROUNDUP).

Round times up or down to blocks of minutes

MROUND goes to the nearest quarter hour. For billing or shift schedules you usually want a fixed direction:

  • =CEILING.MATH(A2, TIME(0, 15, 0)) rounds up to the next 15 minutes: 9:07 becomes 9:15.
  • =FLOOR.MATH(A2, TIME(0, 30, 0)) rounds down to the half hour: 9:47 becomes 9:30.
  • =CEILING.MATH(B2-A2, TIME(0, 15, 0))*24 bills the time between start (A2) and end (B2) per started quarter, as decimal hours: 0:50 becomes 1.

Format the first two results as a time with Ctrl+1. Times are fractions of a day, so ROUNDUP with decimals doesn't help here: =ROUNDUP(A2, 2) rounds to hundredths of a day, steps of about 14 minutes.

Drop the decimals: INT and TRUNC

=TRUNC(8.9) simply cuts off the decimals and returns 8. =INT(8.9) also returns 8, but for negative numbers INT rounds down: =INT(-8.9) returns -9, while =TRUNC(-8.9) returns -8.

Round the result of another formula

Wrap any calculation in ROUND to round its result: =ROUND(AVERAGE(B2:B10), 1) or =ROUND(B2*21%, 2) for VAT in cents.

More ROUND examples

Copy a formula and change the ranges to match your own data.

What you wantFormula
Round to 2 decimals=ROUND(A2, 2)
Round to thousands=ROUND(A2, -3)
Always round up to a whole number=ROUNDUP(A2, 0)
Round to the nearest 0.05 (cash rounding)=MROUND(A2, 0.05)
Round to the nearest quarter (0.25)=ROUND(A2*4, 0)/4

Frequently asked questions

How do I round to the nearest whole number in Excel?

Use =ROUND(A2, 0). To always round up use ROUNDUP(A2, 0), to always round down use ROUNDDOWN(A2, 0).

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

Use a negative number of digits: -1 for tens, -2 for hundreds, -3 for thousands. For example, =ROUND(1234, -2) returns 1200.

Why does my total look one cent off?

The cells are formatted to show two decimals but contain more. Round each value with ROUND in the formula, so the stored values match what you see.

What's the difference between ROUND and MROUND?

ROUND rounds to a number of digits. MROUND rounds to the nearest multiple of any value you choose, such as 5, 0.25 or 15 minutes.

How do I round prices so they end in .99?

Round up to a whole number and subtract one cent: =ROUNDUP(A2, 0)-0.01 turns 12.30 into 12.99. A price that is already whole, such as 12.00, becomes 11.99. For prices ending in 9, use =ROUNDUP(A2, -1)-1: 123 becomes 129.

How do I round numbers that are already in cells, without an extra column?

A formula can't change the cell it reads from. Put =ROUND(A2, 2) in a helper column, copy it, paste it over the original values with Paste Special › Values and delete the helper column.

Should I round each line or only the total?

On an invoice, round each line so the lines add up to the total shown. =SUMPRODUCT(ROUND(B2:B10*C2:C10, 2)) does that in one formula: it rounds every line amount before adding them up.