ShareYourGroupShareYourGroupExcel Formulas

Math functions

ROUND, ROUNDUP, ROUNDDOWN and MROUND functions in Excel

ROUND rounds a number to a chosen number of decimal places; ROUNDUP and ROUNDDOWN force the direction, and MROUND rounds to a multiple.

Rounding in Excel comes in two kinds that look alike and are not. You can change how many decimals a cell shows, using the number format. Or you can change the number itself, using these functions. Knowing the difference saves hours of chasing totals that are "one paisa out".

Syntax

=ROUND(number, num_digits)
=ROUNDUP(number, num_digits)
=ROUNDDOWN(number, num_digits)
=MROUND(number, multiple)
ArgumentWhat it is
numberThe number to round.
num_digitsHow many decimal places to keep. 0 gives a whole number. A negative figure rounds to tens, hundreds and so on.
multipleFor MROUND: the step to round to, such as 5, 50 or 0.25.

Examples

Each result below is what Excel itself showed for the formula on the sample sheet.

Sample sheet: A small price list with item codes. The table is sorted by code.
ABCDE
1CodeItemCategoryPriceStock
2A101Basmati Rice 5 kgGrocery65040
3A102Toor Dal 1 kgGrocery16075
4B201NotebookStationery60300
5B202Ball PenStationery100
6C301LED BulbElectronics110200
7C302Power BankElectronics129918
8D401Steel BottleHome45055

Formatting is not rounding

The Decrease Decimal button on the Home tab only changes the display. A cell that shows 54.17 may hold 54.1666666. Any formula that uses the cell uses the full value. That is how a column of rounded-looking figures can add up to a total that seems wrong by a small amount.

When the rounded value is the real one, as with an invoice amount, round it with a function.

The num_digits argument

num_digitsRounds to1234.567 becomes
2two decimal places1234.57
1one decimal place1234.6
0a whole number1235
-1the nearest ten1230
-2the nearest hundred1200
-3the nearest thousand1000

Which function?

To force a direction with a step, use CEILING to go up and FLOOR to go down: =CEILING(1299,50) gives 1300, and =FLOOR(1299,50) gives 1250.

Where to round in a calculation

Round at the end, not at every step. Rounding early throws away detail, and the small errors pile up. There is one exception: when a rule says each line must be rounded, as on a tax invoice, round each line and then add the rounded lines, so that the printed figures add up.

Why 0.1 plus 0.2 is not exactly 0.3

Computers store decimals in binary, and many simple decimals cannot be stored exactly. Now and then a result such as 0.30000000000000004 appears, or a comparison such as =A1=0.3 is unexpectedly FALSE. Wrapping a calculation in ROUND before comparing it cures this.

Common mistakes

In Google Sheets

All four functions exist in Google Sheets and work the same way. In Sheets, the number of places in ROUND may be left out, and then it rounds to a whole number.

Related functions

Every result on this page was calculated in Microsoft Excel (version 16.0, build 20326) on 12 November 2026, not typed by hand.

This is an independent help site. It is not connected with or approved by Microsoft. Excel and Microsoft 365 are trademarks of Microsoft Corporation, named here only to say which program a formula is for. The people and figures in the sample sheets are made up.