Ceiling Function Calculator - Round Up to Nearest Integer

Your details

Enter any real number: positive, negative, decimal, or whole number. The ceiling is the smallest integer >= x.
Integer mode: standard ceiling to the nearest whole number. Multiple mode: round up to the nearest multiple of a custom base.
Ceiling (result)Rounded up by <= 0.5
5

Smallest integer (or multiple) >= x

Floor of x4
Fractional part {x}0.3
Round (nearest integer)4
Distance to ceiling0.7
Ceiling5
Floor4
Round (nearest)4

The ceiling of 4.3 is 5 (rounded up to the nearest integer).

  • The ceiling 5 is 0.7 above 4.3.
  • The floor is 4, so 4.3 lies between 4 and 5 on the number line.
  • The fractional part is 0.3 - this is the amount stripped away to reach the floor.

Next stepSwitch to "Ceiling to nearest multiple" mode to round up to any custom increment such as 5, 10, 0.25, or 100.

= Powered by OnlyCalculators