Home > Formulas > Math Trig > Rounding

Excel Rounding Functions

Debra Dalgleish - Contextures

How to choose functions in Excel that round numbers, up or down. ROUND, ROUNDUP, MROUND, FLOOR, ODD, and more!

Also see: Round Numbers - Format

Excel ROUND function example

Rounding Functions in Excel

To see a quick overview of 7 ways to round in Excel, you can watch this short (silent) video slide show. There are details and step by step instructions, below the video.

ROUND Function

The Excel ROUND function rounds a number to a specified number of digits from the decimal point. The rounding can be to the right of the decimal point, or to the left of the decimal point.

For example:

  1. Sales Tax: Round a sales amount to the nearest cent
  2. Age Decade: Round an age to the nearest decade
  3. Difference: Total amounts with small differences

ROUND Function Syntax

The ROUND function syntax has the following two arguments in its syntax:

ROUND(number, num_digits)

  • number: The number that you want to round
  • num_digits: The number of digits that you want to round to
    • If greater than zero, number is rounded to the right of the decimal point
    • If zero, number is rounded to the nearest integer
    • If less than zero, number is rounded to the left of the decimal point

Sales Tax Example

In the ROUND formula shown below, the sales tax (HST) is rounded to the nearest cent, by using 2 as the number of decimal places to round.

=ROUND(B5*D6,2)

ROUND to the right

Age by Decade Example

In the screen shot below, the age is rounded to the nearest decade, by using -1 as the number of decimal places to round. Because the original number is negative, it rounds to the left of the decimal place.

=ROUND(B4,-1)

ROUND to the left

Total Amounts with Small Difference

In the worksheet shown below, there is a small difference between the sum of the Total column and the Received column.

difference in column sums

  • In column C, tax is calculated by multiplying sales price times TaxRate (cell F1)
    • =[@Cost]*TaxRate
  • When payment is received, that amount is manually entered in column E
    • Amount entered always checked, to ensure it matches the Total due.

Why are the totals different, when the amounts are carefully entered, and checked for accuracy?

  • In column F, a formula finds the difference between the Total and Received amounts.
  • Even though they look the same on the worksheet, there is a small difference in most rows.
  • This is caused by hidden decimal places in the Tax column.

Fix SUM Differences With ROUND Function

To fix the problem, use the ROUND function in the Tax calculation column.

  • =ROUND([@Cost]*TaxRate,2)

With the tax rounded to 2 decimal places, it is an exact match for the amount that's typed in the Received column.

  • In each row, the Difference calculation shows a result of zero
  • In the Total row, the sums in the two columns are exactly the same.

no difference in column sums

ROUNDDOWN Function

The Excel ROUNDDOWN rounds a number down, to a specific number of places from the decimal point. For example:

  • Round a year down to the nearest decade

In the screen shot below, the publication year is rounded down to the nearest decade, by using -1 as the number of digits in the ROUNDDOWN function. Because the number is negative, it rounds to the left of the decimal place.

=ROUNDDOWN(B4,-1)

ROUNDDOWN function example

ROUNDUP Function

The Excel ROUNDUP function rounds a number up, to a specific number of places from the decimal point. For example:

  • Round a price up to the nearest dime

In the screen shot below, the price is rounded up to the nearest dime, by using 1 as the number of digits in the ROUNDUP function.

=ROUNDUP(B4,1)

ROUNDUP function example

MROUND Function

The MROUND function rounds a number to the closest specified multiple. For example:

  • Round a sales amount to the nearest nickel

In the screen shot below, the total sales amount is rounded to the nearest nickel, by using 0.05 as the multiple in the MROUND function.

Instead of hard coding the multiple into the formula, it is entered in cell B9, where it can be changed easily.

  • =MROUND($B$7,$B$9)

MROUND function example

FLOOR Function

The Excel FLOOR function rounds numbers down, toward zero, based on the multiple of significance that you specify.

FLOOR(number,significance)

For example:

  • Round a year down to the nearest decade

In the screen shot below, the year is rounded down to the nearest decade, by using 10 as the significance in the FLOOR function.

=FLOOR(B4,10)

FLOOR function example

  • Note: In the FLOOR function, if the number is positive, and the significance is negative, the result is the #NUM! error. The FLOOR function works well in the music example above, because the song's year is always a positive number.

FLOOR.PRECISE or FLOOR.MATH Function

Both FLOOR.PRECISE and FLOOR.MATH return a number that is rounded down to the nearest integer or to the nearest multiple of significance.

Regardless of the sign of the number, the number is rounded down.

  • FLOOR.PRECISE(number,significance)
    • or
  • FLOOR.MATH(number,significance)

FLOOR Functions - Excel Versions

Here's what Microsoft recommends using:

  • Excel 2013 and later: Use FLOOR.MATH, instead of FLOOR.
  • Excel 2010: Use FLOOR.PRECISE, instead of FLOOR.

FLOOR Function Results Compared

The three functions are compared in the following table.

  • Results from FLOOR.PRECISE and FLOOR.MATH are the same
  • FLOOR is different -- it rounds toward zero, and returns an error if the number is positive and the significance is negative.

FLOOR Function Results Compared

CEILING Function

The Excel CEILING function rounds numbers up, toward zero, based on the multiple of significance that you specify. For example:

  • Round a price up to the nearest quarter

In the screen shot below, the price is rounded up to the nearest quarter, by using 0.25 as the multiple in the CEILING function.

=CEILING(B4,0.25)

CEILING function example

ODD and EVEN Functions

The Excel ODD and EVEN functions round numbers up, to the next odd or even integer.

  • Note: The ODD function and EVEN function are available in Excel 2016 and later versions

ODD function and EVEN function

ODD Function

The ODD function will round numbers up, to the next odd integer.

The ODD function syntax has the following argument in its syntax:

ODD(number)

  • number: (required) The number that you want to round

Away from Zero

For both positive and negative numbers, the result is rounded up, away from zero. For example, with the ODD function

  • 9.1 would round up to 11
  • -9.1 would round up to -11.

EVEN Function

The EVEN function will round numbers up, to the next even integer.

The EVEN function syntax has the following argument in its syntax:

EVEN(number)

  • number: (required) The number that you want to round

Away from Zero

For both positive and negative numbers, the result is rounded up, away from zero. For example, with the EVEN function

  • 9.1 would round up to 10
  • -9.1 would round up to -10.

Sum Rounded Numbers

If a column has decimal numbers, you can use the ROUND function, to round each number individually, BEFORE calculating the total. This might give a different result than rounding the numbers AFTER summing them. .

In this example, there are decimal numbers in cells A1:A5

1.5
2.9
3.8
9.2
3.5

In cell A6, the formula rounds the total to 0 decimal places, AFTER summing them. It returns a result of 21.0

  • =ROUND(SUM(A1:A5), 0)

The formula in cell A7 rounds each number BEFORE summing them. It returns a result of 22.0

  • =SUMPRODUCT(ROUND(A1:A5,0))

ROUND right

Get the Sample Files

  1. Rounding Examples: To follow this tutorial, you can get the rounding functions sample file. The zipped file is in xlsx format, and does not contain macros. Some functions will only work in newer versions of Excel.
  2. 7 Ways to Round: Get the 7 Ways to Round sample workbook, to follow along with the 7 Ways to Round slide show. The zipped file is in xlsx format, and does not contain any macros.
  3. Column Sum Differences: Get this tax calculation column sum difference sample workbook. The zipped file is in xlsx format, and does not contain any macros.

Get Monthly Excel Tips!

Don't miss my monthly Excel newsletter! You'll get quick tips, article links, and a bit of fun. Add your email, and click Sign Up.

Next, when you get my reply, click the Confirm button. I add this step to protect you from spam!

Excel Functions Tutorials

Round Numbers - Format

Functions List

AVERAGE

SUM / SUMIF

Subtotal Feature

VLOOKUP

Last updated: October 23, 2026 1:06 PM