Tabellab
Excel formulas

How to round to the nearest 0.05 in Excel (MROUND, CEILING and FLOOR)

To round to the nearest 0.05 in Excel, use =MROUND(A2,0.05). MROUND rounds to the nearest multiple of its second argument, so 18.792 becomes 18.80 and 10.512 becomes 10.50. To always round up to the next 5 cents use =CEILING(A2,0.05) (10.512 becomes 10.55), and to always round down use =FLOOR(A2,0.05) (18.792 becomes 18.75). The same three functions round to quarters, to 5 dollars, to full cases or to started quarter hours, as the worked example shows.

Updated 21 Oct 2026 5 min read By Tabellab team

MROUND: the nearest multiple

=MROUND(number, multiple) returns the multiple of multiple that is closest to number. With 0.05 that means the nearest 5 cents:

  • 18.792 → 18.80 (18.80 is 0.008 away, 18.75 is 0.042 away)
  • 13.3249 → 13.30
  • 24.968 → 24.95
  • 3.333 → 3.35

A value exactly halfway between two multiples is rounded away from zero, like ROUND does. Change the multiple and the same formula rounds to anything: =MROUND(A2,0.25) to the nearest quarter (13.3249 → 13.25), =MROUND(A2,5) to the nearest 5 dollars (247 → 245).

Worked example: shelf prices to the nearest 5 cents

Rows 2 to 6 are calculated prices of a fictional coffee roaster, rounded three ways. Rows 9 to 15 apply the same functions to other multiples.

Worked example: shelf prices to the nearest 5 cents
ABCDE
1ItemExact priceNearest 0.05 (MROUND)Up (CEILING)Down (FLOOR)
2House blend 250 g18.792018.8018.8018.75
3Decaf 250 g10.512010.5010.5510.50
4Espresso 250 g13.324913.3013.3513.30
5Filter 1 kg24.968024.9525.0024.95
6Sample bag3.33303.353.353.30
7
8Other roundingsValueResultFormula used
9Nearest quarter (0.25)13.324913.25MROUND(x,0.25)
10Nearest 5 dollars247245MROUND(x,5)
11Charm price ending .9916.6616.99CEILING(x,1)-0.01
12Bags in cases of 124148CEILING(x,12)
13Hours billed per started quarter hour1.782.00CEILING(x,0.25)
14Refund, MROUND with a negative multiple-3.17-3.15MROUND(x,-0.05)
15Refund, sign-safe ROUND version-3.17-3.15ROUND(x/0.05,0)*0.05
Key formulas
  • C3=MROUND(B3,0.05)Nearest 5 cents
  • D3=CEILING(B3,0.05)Always up
  • E3=FLOOR(B3,0.05)Always down
  • C11=CEILING(B11,1)-0.01Charm price
  • C15=ROUND(B15/0.05,0)*0.05Works for negative numbers too

Prices and quantities are fictional. Column D of rows 9 to 15 shows the formula pattern used in column C.

Why ROUND is not enough

ROUND works with decimal places, not multiples. =ROUND(10.512,2) gives 10.51, the nearest cent, and =ROUND(10.512,1) gives 10.50, the nearest 10 cents. Neither gives you 5-cent steps. If you prefer ROUND, divide by the step, round, and multiply back:

=ROUND(A2/0.05,0)*0.05

This gives the same result as MROUND for positive numbers and also works for negative numbers without any sign rules. In older templates you will also see =ROUND(A2*20,0)/20, which is the same idea, because there are 20 steps of 0.05 in one unit.

CEILING and FLOOR: always up or always down

Nearest is not always what you want. =CEILING(A2,0.05) rounds up to the next multiple and =FLOOR(A2,0.05) rounds down. On the decaf price of 10.512, MROUND gives 10.50, CEILING 10.55 and FLOOR 10.50. Use CEILING when the result must never be below the calculated value, such as a minimum selling price, and FLOOR when it must never be above, such as a discount cap.

CEILING is also the tool for packs and time:

  • Full cases: 41 bags in cases of 12 → =CEILING(41,12) = 48. MROUND would give 36 and leave you 5 bags short.
  • Started quarter hours: 1.78 hours of work → =CEILING(1.78,0.25) = 2.00 hours billed. For real time values use TIME(0,15,0) as the multiple.

Charm prices ending in .99 or .95

Retail prices often end in .99. Round up to the next whole dollar and subtract one cent: =CEILING(A2,1)-0.01 turns 16.66 into 16.99. For .95 endings, subtract 0.05 instead. Rounding up first guarantees the price never falls below the calculated one, which FLOOR or ROUND would not. If you set prices from a cost and a margin, the guide on markup vs margin shows how to get the calculated price first.

Negative numbers and the #NUM! error

MROUND needs the number and the multiple to have the same sign. =MROUND(-3.17,0.05) returns #NUM!. For refunds and credit notes either use a negative multiple, =MROUND(-3.17,-0.05) = −3.15, or a formula that works for both signs:

  • =MROUND(A2,0.05*SIGN(A2)) flips the multiple with the sign of the number.
  • =ROUND(A2/0.05,0)*0.05 needs no sign rule at all.

CEILING and FLOOR have their own rules for negatives. CEILING.MATH and FLOOR.MATH accept a positive multiple for negative numbers and have a mode argument that decides whether to round toward or away from zero.

Round the value, not just the display

Number formatting only changes what you see. A cell formatted to two decimals still holds 18.792, and a total of such cells can differ from the sum of the prices on the screen. MROUND, CEILING and FLOOR change the stored value, so the totals match what customers see. On invoices, round each line first and then add the rounded lines, as in calculating VAT from a gross amount.

Common mistakes

  • Using ROUND with 2 decimals. That rounds to the nearest cent, not to 5 cents. Use MROUND(x,0.05) or ROUND(x/0.05,0)*0.05.
  • MROUND on negative numbers. A positive multiple with a negative number returns #NUM!. Use a negative multiple, SIGN, or the ROUND version.
  • MROUND for packs. Nearest can round down and leave you short. Order quantities and billed time need CEILING.
  • Formatting instead of rounding. A two-decimal format hides the extra digits but keeps them in every sum. Round the value with a formula.
  • Charm prices from FLOOR. FLOOR(x,1)-0.01 can put the price below the calculated one. Round up with CEILING first.
  • Comparing rounded results with =. 0.05 is not exact in binary, so a result can be 3.1500000000000004. Wrap comparisons in ROUND(…,2).

Frequently asked questions

How do I round to the nearest 0.05 in Excel?

Use =MROUND(A2,0.05). Alternatively =ROUND(A2/0.05,0)*0.05 gives the same result and also works for negative numbers.

How do I always round up to the nearest 0.05?

Use =CEILING(A2,0.05). It returns the next multiple of 0.05 at or above the value, so 10.512 becomes 10.55. FLOOR(A2,0.05) rounds down instead.

Why does MROUND return #NUM!?

The number and the multiple have different signs, for example MROUND(-3.17,0.05). Use a multiple with the same sign, MROUND(A2,0.05*SIGN(A2)), or ROUND(A2/0.05,0)*0.05.

How do I round to the nearest 5 or 10 in Excel?

Use MROUND with 5 or 10 as the multiple: =MROUND(A2,5) turns 247 into 245. ROUND(A2,-1) also rounds to the nearest 10, because a negative digits argument rounds to the left of the decimal point.

Practise it in a lab

Related guides

Reading is step one. Doing is step two.

Every guide links to a lab where you build the same calculation in an online spreadsheet and get instant feedback.

Open the lab