Ceiling chooses the first whole number at or above a value.
Use it when partial units still require a full unit: containers, trips, batches, pages, or people-per-vehicle capacity.
The key rule
What stays true
ceil(x) is the smallest integer greater than or equal to x
See the idea
Visual explanation
−2−1.2−1ceiling ↑ −1
Example
Apply it
ceil(−1.2) = −1
For negative values, ceiling moves toward positive infinity—not away from zero.
Quick guide
How to use this calculator
Enter a finite decimal.
Read the least integer greater than or equal to it.
Notice that negative values move toward positive infinity.
Calculation method
Ceiling points upward
An integer remains unchanged. Any positive fractional remainder advances to the next integer; a negative fractional value discards its fraction toward positive infinity.
Worked example
Ceiling of a negative decimal
−1 is the smallest integer that is still greater than −1.2.
ceil(−1.2) = −1
Supported inputs
Precision and limits
Exact decimal input
Finite decimals use integer-scaled arithmetic, with no binary floating-point conversion.
Input boundary
Unless stated otherwise, use at most 200 digits total and 100 digits after the decimal marker.