Round to the Nearest 5, 10 or 0.5 in Excel
By ExcelReady TeamUpdated 6 min read
The short answer
To round to the nearest 5 in Excel, use =MROUND(A2,5), so 23 becomes 25 and 22 becomes 20. A version that works everywhere is =ROUND(A2/5,0)*5. For the nearest 10, use =ROUND(A2,-1). For the nearest 0.5, use =MROUND(A2,0.5). To always round up or down to a multiple, use CEILING or FLOOR instead.
Key takeaways
- =MROUND(A2,5) rounds to the nearest multiple of 5; halfway values round away from zero.
- =ROUND(A2/5,0)*5 does the same job using only ROUND: divide, round, multiply back.
- For the nearest 10, 100 or 1,000, ROUND with negative digits is simplest: =ROUND(A2,-1).
- CEILING always rounds up to a multiple and FLOOR always rounds down.
- MROUND needs the number and the multiple to have the same sign, or it returns #NUM!.
On this page+
- How to round to the nearest 5 with MROUND
- How to round to the nearest 5 with ROUND
- How to round to the nearest 10, 100 or 1,000
- How to round to the nearest 0.5, 0.25 or 0.05
- How to always round up or down to a multiple
- Rounding prices after a discount
- Which rounding formula should you use?
- Common rounding mistakes
- Practise it
To round to the nearest 5 in Excel, use =MROUND(A2,5). It rounds to the closest multiple of any number you choose: 5, 10, 0.5, 0.25 or 15 minutes. If you'd rather stick to ROUND, =ROUND(A2/5,0)*5 gives the same result. This guide covers both, plus how to always round up or down to a multiple with CEILING and FLOOR.
How to round to the nearest 5 with MROUND#
MROUND rounds a number to the nearest multiple of another number. It has two arguments:
=MROUND(number, multiple)The examples use these prices in B2:B6:
| Item | Price | =MROUND(B2,5) |
|---|---|---|
| Chair | 12 | 10 |
| Lamp | 23 | 25 |
| Shelf | 37.4 | 35 |
| Desk | 48 | 50 |
| Sofa | 52.5 | 55 |
A value exactly halfway, like 52.5, rounds away from zero, so it goes up to 55. MROUND is part of Excel 2007 and later on Windows and Mac, and of Excel for the web.
How to round to the nearest 5 with ROUND#
Divide by 5, round to a whole number, then multiply by 5 again.
=ROUND(B2/5,0)*5Here is how it works on the Lamp (23):
B3/5gives 4.6: how many fives fit into 23.ROUND(4.6,0)rounds that to 5.5*5turns it back into the price: 25.
The results are identical to MROUND for every row in the table. This trick works for any multiple: =ROUND(B2/25,0)*25 rounds to the nearest 25. The ROUND function guide explains the digits argument in detail.
How to round to the nearest 10, 100 or 1,000#
Use ROUND with a negative number of digits. Negative digits round to the left of the decimal point.
| Goal | Formula | 1,234.5 becomes |
|---|---|---|
| Nearest 10 | =ROUND(A2,-1) | 1,230 |
| Nearest 100 | =ROUND(A2,-2) | 1,200 |
| Nearest 1,000 | =ROUND(A2,-3) | 1,000 |
=MROUND(A2,10) also works for the nearest 10, but ROUND is shorter and works in any spreadsheet. The article on ROUND, ROUNDUP and ROUNDDOWN has more examples of negative digits.
How to round to the nearest 0.5, 0.25 or 0.05#
For a multiple smaller than 1, MROUND is the easiest choice. The ROUND trick also works: multiply by how many steps fit into 1, round, then divide.
| Goal | MROUND | ROUND version | 7.3 becomes |
|---|---|---|---|
| Nearest 0.5 | =MROUND(A2,0.5) | =ROUND(A2*2,0)/2 | 7.5 |
| Nearest 0.25 | =MROUND(A2,0.25) | =ROUND(A2*4,0)/4 | 7.25 |
| Nearest 0.05 | =MROUND(A2,0.05) | =ROUND(A2*20,0)/20 | 7.3 |
Rounding to 0.05 is common for cash prices in countries without 1-cent coins. Rounding to 0.5 is useful for hours worked and grades. To round time to the nearest 15 minutes, use =MROUND(A2,"0:15"), because Excel stores times as fractions of a day.
How to always round up or down to a multiple#
MROUND picks the nearest multiple. To force the direction, use CEILING to round up and FLOOR to round down.
| Formula | 21 becomes | 24 becomes |
|---|---|---|
=MROUND(A2,5) | 20 | 25 |
=CEILING(A2,5) | 25 | 25 |
=FLOOR(A2,5) | 20 | 20 |
CEILING suits packaging and shipping: if boxes hold 5 items, 21 items need room for 25. FLOOR suits whole bundles you can complete. Excel 2013 and later also have CEILING.MATH and FLOOR.MATH, which handle negative numbers more predictably. The comparison of ROUND vs ROUNDUP vs ROUNDDOWN explains the same up/down idea for decimal places.
A popular pricing trick combines CEILING with subtraction: =CEILING(A2,1)-0.01 turns 23.40 into 23.99.
Rounding prices after a discount#
Discounted prices often land on awkward numbers, so you can round inside the same formula. With the price in B2 and the discount in C2, this rounds the sale price to the nearest 5 cents:
=MROUND(B2*(1-C2),0.05)Take a price of 43 with 12% off. The raw sale price is 43 × 0.88 = 37.84. MROUND moves it to the closest multiple of 0.05, which is 37.85. A price of 26 with 12% off is 22.88, which becomes 22.90.
To round the sale price to a whole 5 instead, change the multiple: =MROUND(B2*(1-C2),5) turns 37.84 into 40, and =FLOOR(B2*(1-C2),5) keeps it at 35 so the customer never pays more than the discount promised. See how to calculate discounts and sale prices for the full method.
Which rounding formula should you use?#
Pick the function by asking two questions: what step do you round to, and does the direction matter?
| You want | Use | Example |
|---|---|---|
| Nearest multiple of 5, 25, 0.5 | MROUND or ROUND(A2/m,0)*m | =MROUND(A2,5) |
| Nearest 10, 100, 1,000 | ROUND with negative digits | =ROUND(A2,-2) |
| Always up to a multiple | CEILING | =CEILING(A2,5) |
| Always down to a multiple | FLOOR | =FLOOR(A2,5) |
| A set number of decimals | ROUND, ROUNDUP, ROUNDDOWN | =ROUND(A2,2) |
If the file will be shared with people on older or other spreadsheet software, the ROUND-based versions are the safest because every program supports ROUND. If readability matters more, MROUND, CEILING and FLOOR say what they do in their names.
Common rounding mistakes#
Check these when a result surprises you:
- MROUND with mixed signs.
=MROUND(-23,5)returns #NUM!. Use=MROUND(-23,-5), which gives -25. - Using formatting instead of a function. Formatting changes only what you see. The cell still holds 23, not 25.
- Expecting halves to round to even. Excel's ROUND and MROUND round 2.5 up to 3 and 52.5 up to 55. They don't use banker's rounding.
- Mixing up CEILING and ROUNDUP. ROUNDUP works in decimal places; CEILING works in multiples.
For splitting a number into whole fives and a remainder, such as 23 into four fives plus 3, use MOD and INT. Rounding also matters for interest: round only the final result, as shown in the compound interest formula, or small errors add up.
Practise it#
Rounding questions appear in almost every Excel test, often with a twist like "nearest 5" or "always up". Practise ROUND, ROUNDUP and ROUNDDOWN in a live spreadsheet: you type the formula and it checks it instantly. Then try the exercise on this page to round to the nearest 5 using only ROUND.
Try it yourself
This is a live spreadsheet. Type the formula in the green cell and press Enter.
Round the price of the Lamp to the nearest 5. Click C3 and divide B3 by 5, round it to 0 decimals with ROUND, then multiply by 5.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Nearest 5 | |||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 | ||||
| 6 | ||||
| 7 | ||||
| 8 | ||||
| 9 |
Tip: =ROUND(B3/5,0) gives the number of fives; multiply that by 5.
Practise this in a lesson
Frequently asked questions
How do I round to the nearest 5 in Excel?
Use =MROUND(A2,5). If you prefer to use only ROUND, type =ROUND(A2/5,0)*5. Both turn 23 into 25 and 22 into 20.
How do I always round up to the nearest 5?
Use =CEILING(A2,5). It rounds up to the next multiple of 5, so 21 becomes 25. For rounding down, use =FLOOR(A2,5), which turns 24 into 20.
How do I round to the nearest 0.5 in Excel?
Use =MROUND(A2,0.5) or =ROUND(A2*2,0)/2. Both turn 7.3 into 7.5 and 7.2 into 7.
How do I round to the nearest 10 or 100?
Use ROUND with a negative number of digits. =ROUND(A2,-1) rounds to the nearest 10 and =ROUND(A2,-2) rounds to the nearest 100.
Why does MROUND return #NUM!?
The number and the multiple have different signs, for example =MROUND(-23,5). Use a negative multiple for negative numbers, =MROUND(-23,-5), which returns -25.