This article describes the formula syntax and usage of the CEILING.MATH function (function: A prewritten formula that takes a value or values, performs an operation, and returns a value or values. Use functions to simplify and shorten formulas on a worksheet, especially those that perform lengthy or complex calculations.) in Microsoft Excel.


Rounds a number up to the nearest integer or to the nearest multiple of significance.


CEILING(number, [significance],  [mode])

The CEILING.MATH function syntax has the following arguments.

  • Number    Required. Number must be less than 9.99E+307 and greater than -2.229E-308.
  • Significance    Optional. The multiple to which Number is to be rounded.
  • Mode    Optional. For negative numbers, controls whether Number is rounded toward or away from zero.


  • By default, significance is +1 for positive numbers and -1 for negative numbers.
  • By default, positive numbers with decimal portions are rounded up to the nearest integer. For example, 6.3 is rounded up to 7.
  • By default, negative numbers with decimal portions are rounded up (toward 0) to the nearest integer. For example, -6.7 is rounded up to -6.
  • By specifying the Significance and Mode arguments, you can change the direction of the rounding for negative numbers. For example, rounding -6.3 to a significance of 1 with a mode of 1 rounds away from 0, to -7. There are many combinations of Significance and Mode values that affect rounding of negative numbers in different ways.
  • The Mode argument does not affect positive numbers.
  • The significance argument rounds the number up to the nearest integer that is a multiple of the significance specified. The exception is where the number to be rounded is an integer. For example, for a significance of 3 the number is rounded up to the next integer that is a multiple of 3.
  • If Number divided by a Significance of 2 or greater results in a remainder, the result is rounded up.


The workbook below shows examples of this function. Inspect them, change existing formulas, or enter your own formulas to learn how the function works.

To work more in-depth with the example data in Excel, download the embedded workbook to your computer, and then open it in Excel.

Top of Page Top of Page

Applies to:
Excel 2013, Excel Online