Number Fundamentals & Precision

Ceiling Function Calculator

Find the smallest integer that is not less than a decimal.

Exact arithmetic

Find the least integer above

Toward +∞

Ceiling

Enter valid values to see the result.

Your entries are calculated in this browser and are not submitted to 365CALCS.COM.

Quick guide

How to use this calculator

  1. Enter a finite decimal.
  2. Read the least integer greater than or equal to it.
  3. 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.