Home  /  Blog  /  Math Basics
Math Basics

ROUND Formula in Excel — To the Nearest Whole Number, 2 Decimals, or Nearest 5

By admin 27 November 2026 Math Basics

You multiplied a price by a discount and got $179.991, or divided a total and got 3.14159 — and now you need a clean number: $179.99, or 3.14, or just 3. That is what ROUND does — it rounds a number to the place you choose. The formula has two parts, =ROUND(number, num_digits), and the second part is the whole job: 0 means a whole number, 2 means two decimals, and -1 means the nearest ten. This guide gives you that rule first, then runs ROUND, ROUNDUP and ROUNDDOWN on the same numbers side by side, so you can see exactly where they differ — whole numbers, decimals, tens and hundreds, and the nearest 5.

Quick takeaway: two parts — the number and how many places.

  • =ROUND(number, num_digits) — round to the nearest value.
  • num_digits 2 → 2 decimals. 0 → nearest whole number. -1 → nearest 10. -2 → nearest 100.
  • ROUNDUP always rounds away from zero. ROUNDDOWN always rounds toward zero.
  • Exactly halfway rounds away from zero: ROUND(2.5, 0) is 3.
  • Changing the decimals on screen does not change the number — only ROUND does.
ROUND Formula in Excel — To the Nearest Whole Number, 2 Decimals, or Nearest 5

The Formula — Two Parts

=ROUND(number, num_digits)
PartWhat it does
numberThe value to round — a number, a cell, or another formula’s result
num_digitsHow many places to keep — positive for decimals, 0 for a whole number, negative for tens and hundreds

Both parts are required. The rule for the second part, in one table:

num_digitsRounds toExampleResult
22 decimal places=ROUND(1234.5678, 2)1234.57
11 decimal place=ROUND(1234.5678, 1)1234.6
0Nearest whole number=ROUND(1234.5678, 0)1235
-1Nearest 10=ROUND(1234.5678, -1)1230
-2Nearest 100=ROUND(1234.5678, -2)1200
-3Nearest 1000=ROUND(1234.5678, -3)1000

The Worked Table — One Number, Seven Ways

Take one number, 823.7825, and round it to every place. This is Microsoft’s own example, and it shows the whole system in one column.

FormulaResultRounds to
=ROUND(823.7825, -3)1000Thousands
=ROUND(823.7825, -2)800Hundreds
=ROUND(823.7825, -1)820Tens
=ROUND(823.7825, 0)824Ones
=ROUND(823.7825, 1)823.8Tenths
=ROUND(823.7825, 2)823.78Hundredths
=ROUND(823.7825, 3)823.783Thousandths

Read it from the bottom up and the pattern is plain: each step keeps one more digit, and the digit that decides is always the one just to the right of where you stop. At 0 places, the deciding digit is 7 (from .7825), so 823 rounds up to 824. At -1, the deciding digit is 3 (from 823.7825, the ones place), so 820 stays 820.

Round to the Nearest Whole Number

The most searched use, and the simplest: num_digits is 0.

FormulaResultWhy
=ROUND(7.8, 0)8.8 rounds up
=ROUND(98.76, 0)99.76 rounds up
=ROUND(15.55, 0)16.55 rounds up
=ROUND(3.14159, 0)3.14 rounds down
=ROUND(2.5, 0)3Exactly halfway — rounds away from zero
=ROUND(-2.5, 0)-3Exactly halfway, negative — still away from zero

The last two rows are the rule to remember: a number exactly halfway rounds away from zero, not toward the even number. 2.5 becomes 3, and -2.5 becomes -3. And a real example: a price of $199.99 with 10% off is $179.991 — =ROUND(199.99*0.9, 0) gives $180, and =ROUND(199.99*0.9, 2) gives $179.99. You can calculate and round in one step, with no helper column.

Round to 2 Decimal Places — Money

Money needs two decimals, and ROUND is how a price gets them.

FormulaResult
=ROUND(3.14159, 2)3.14
=ROUND(15.55, 1)15.6
=ROUND(2.15, 1)2.2
=ROUND(2.149, 1)2.1
=ROUND(-1.475, 2)-1.48

The 2.15 and 2.149 rows are the pair to study: 2.15 is exactly halfway at one decimal, so it rounds up to 2.2; 2.149 is one thousandth below halfway, so it rounds down to 2.1. One thousandth of difference, a different answer — that is how precise the rule is. And the last row shows the negative case: -1.475 rounds to -1.48, away from zero, not toward it.

Round to Tens and Hundreds — Negative num_digits

A negative num_digits rounds to the left of the decimal point. -1 is the nearest 10, -2 the nearest 100, -3 the nearest 1000.

FormulaResultWhy
=ROUND(256, -1)260The ones digit is 6, so it rounds up
=ROUND(21.5, -1)2021.5 is closer to 20 than to 30
=ROUND(626.3, -3)1000626.3 is closer to 1000 than to 0
=ROUND(1.98, -1)01.98 is closer to 0 than to 10
=ROUND(-50.55, -2)-100-50.55 is closer to -100 than to 0

The 1.98 row surprises people: rounding to the nearest ten can return 0, when the number is closer to 0 than to 10. That is not an error — it is the rule working correctly. These are Microsoft’s own examples, and every one of them is the nearest value, not the biggest one.

ROUND vs ROUNDUP vs ROUNDDOWN — Same Number, Three Answers

ROUND goes to the nearest value. ROUNDUP always goes away from zero, and ROUNDDOWN always goes toward zero. All three take the same two arguments. Run them on the same numbers and the difference is plain.

Number=ROUND(x, 0)=ROUNDUP(x, 0)=ROUNDDOWN(x, 0)
3.2343
7.8887
76.9777776
2.5332
-3.14159 (1 decimal)-3.1-3.2-3.1

Read the 3.2 row: ROUND gives 3 (nearest), ROUNDUP gives 4 (away from zero), ROUNDDOWN gives 3 (toward zero). Read the 2.5 row: ROUND gives 3 (halfway, away from zero), ROUNDUP gives 3, ROUNDDOWN gives 2. And the negative row shows the rule that trips people up: ROUNDUP(-3.14159, 1) is -3.2, not -3.1 — “up” means away from zero, so a negative number gets more negative. Use ROUNDUP when you must have enough — ordering stock, staffing a shift, charging for a part-used hour. Use ROUNDDOWN when you must not overstate — a budget you are certain of, inventory you actually hold.

Round to the Nearest 5 — MROUND

ROUND cannot round to the nearest 5 — its steps are powers of ten. For a multiple, use MROUND.

=MROUND(number, multiple)
FormulaResultWhy
=MROUND(12, 5)1012 is closer to 10 than to 15
=MROUND(13, 5)1513 is closer to 15 than to 10
=MROUND(17, 5)1517 is closer to 15 than to 20
=MROUND(18, 5)2018 is closer to 20 than to 15
=MROUND(23, 5)2523 is closer to 25 than to 20

MROUND works with any multiple, not just 5: =MROUND(123, 10) gives 120, and =MROUND(7.3, 0.5) gives 7.5. The multiple and the number must have the same sign, or Excel returns #NUM! — MROUND(-12, 5) is an error, not -10.

Why the Total Is a Cent Out — Two Traps

Trap 1: the screen is not the number. Changing the decimals shown — Home → Number group → Decrease Decimal — only changes what you see. The cell still holds the full value, and a SUM of the column adds the full values. Three cells holding 0.125 each show 0.13, 0.13, 0.13 — and their sum shows 0.38, not 0.39. The displayed values add to 0.39, but the real values add to 0.375, which displays as 0.38. Only ROUND changes the number itself.

Trap 2: round once, at the end. If you round every step of a calculation, the small errors add up. Round the final result, not the middle of the chain. A price of $199.99 with 10% off is $179.991 — round it once, to $179.99, and use that. And one honest note about the famous 2.675 case: in Excel’s ROUND, =ROUND(2.675, 2) gives 2.68, because Excel works on the value as displayed — to 15 significant digits — so 2.675 is a true half and rounds away from zero. The 2.67 answer you may have seen is what Python’s round() and VBA’s Round give, because they work on the binary double 2.6749999… — a different tool with a different rule. If a total is a cent out and everything else checks, round the final result rather than each line — that is where the cent went.

Common Mistakes

MistakeWhat happensFix
You used 2 when you meant 0The answer has two decimals instead of being a whole numbernum_digits 0 means a whole number; 2 means two decimals
You used a positive num_digits for tens=ROUND(256, 1) rounds to one decimal, not to the nearest tenNegative num_digits rounds left of the point: -1 is tens, -2 is hundreds
You expected ROUNDUP to mean “bigger”ROUNDUP(-3.14159, 1) is -3.2 — more negative, not bigger“Up” means away from zero, for negatives too
You changed the decimals on screenThe display changed, the total did notUse ROUND on the value itself
You rounded every stepThe small errors added up and the total is a cent outRound once, at the end
You used MROUND with mixed signs#NUM!The multiple and the number must have the same sign

Frequently Asked Questions

How do I round to the nearest whole number in Excel? =ROUND(number, 0). For example, =ROUND(7.8, 0) gives 8, and =ROUND(98.76, 0) gives 99.

How do I round to 2 decimal places in Excel? =ROUND(number, 2). For example, =ROUND(3.14159, 2) gives 3.14.

What is the difference between ROUND, ROUNDUP and ROUNDDOWN? ROUND goes to the nearest value. ROUNDUP always goes away from zero. ROUNDDOWN always goes toward zero. On 3.2 they give 3, 4 and 3.

How do I round to the nearest 5 in Excel? Use MROUND: =MROUND(number, 5). For example, =MROUND(13, 5) gives 15, and =MROUND(12, 5) gives 10.

How do I round up to the nearest whole number in Excel? =ROUNDUP(number, 0). For example, =ROUNDUP(3.2, 0) gives 4 — even though 3.2 is closer to 3.

Why is my total a cent out after rounding? Usually the decimals on screen were changed instead of the values — the display changed, the numbers did not — or every step was rounded instead of just the final result. Use ROUND on the value, once, at the end.

Does ROUND change the number or just how it looks? It changes the number. Changing the decimals shown (Home → Decrease Decimal) only changes the display.

That is the ROUND formula in Excel: two parts, the number and num_digits — 0 for a whole number, 2 for two decimals, -1 for the nearest ten, -2 for the nearest hundred. On the numbers in this guide, that one rule answers every question: 7.8 becomes 8, 3.14159 becomes 3.14, 1234.5678 becomes 1235 at zero places and 1200 at -2, and 2.5 becomes 3 because a number exactly halfway rounds away from zero. When the nearest value is not what you want, ROUNDUP always goes away from zero and ROUNDDOWN always goes toward it — and on 3.2 they give 4 and 3 where ROUND gives 3. And when the step is not a power of ten, MROUND takes over: 13 becomes 15 at the nearest 5. Remember the two things that catch everyone once: changing the decimals on screen does not change the number, and rounding every step instead of once at the end is where the missing cent goes. From here, the next maths worth learning are the ones this formula sits on — the multiplication formula for the price before rounding, the division formula for the split before rounding, and the percentage change formula for the discount rate before rounding — and the full learning order for the whole site is on the Excel Formulas hub and the Math Basics category page.


About admin

Author of Excel formula guides on this blog.

View all guides by admin →

Keep Learning

Related guides