Google Sheets
CEILING function in Google Sheets
Rounds a number up to the nearest integer multiple of specified significance.
=CEILING(value, [factor])CEILING syntax and parameters
Two arguments, one required.
- valuenumberRequired
The value to round up to the nearest integer multiple of factor.
- factornumberOptional
[OPTIONAL: 1 by default] - The number to whose multiples value will be rounded. factor may not be equal to 0.
CEILING examples
Formulas you'll actually reuse.
A price rounded up to the next 5 cents:
=CEILING(B2, 0.05)Result
23.8An order quantity rounded up to the next pallet of 25:
=CEILING(B2, 25)Result
125
CEILING in Excel
Same name — your formula ports as-is.
Try CEILING in the playground
Edit the example — nothing to install.
Preloaded with the CEILING formula from Example 1 — change anything and watch it respond.
Loading the editor…
CEILING errors
What they mean — and the fixes.
#NUM!The number and the significance have different signs — use CEILING.MATH for negatives.
Related functions
More ways Google Sheets gets this done.
- ABSReturns the absolute value of a number.MathExcel
- ACOSReturns the inverse cosine of a value, in radians.MathExcel
- ACOSHReturns the inverse hyperbolic cosine of a number.MathExcel
- ACOTReturns the inverse cotangent of a value, in radians. .MathExcel
- ACOTHReturns the inverse hyperbolic cotangent of a value, in radians. Must not be between -1 and 1, inclusive..MathExcel
- ASINReturns the inverse sine of a value, in radians.MathExcel