Ceiling Function Calculator

Round a number up to the nearest integer.

⌈x⌉ 5

Formula: ⌈x⌉ = smallest integer ≥ x

Step-by-step with your numbers:
1. Values used:
2. Number = 4.2
3.
4. ⌈x⌉ = 5
Did we solve your problem today?

The ceiling function rounds any number up to the next whole number.

The math behind it

⌈x⌉ is the smallest integer that is greater than or equal to x. For integers, the ceiling is the number itself.

Worked example

⌈4.2⌉ = 5, and ⌈−4.2⌉ = −4.

FAQ

How does it treat negatives?

It rounds toward positive infinity, so ⌈−4.2⌉ = −4.