Floor and Ceiling Calculator

Enter a number to find its floor and ceiling.

A whole number, decimal or fraction.

Try

Result

You enteredx=3.7x = 3.7

⌊3.7⌋=3, ⌈3.7⌉=4\displaystyle \lfloor 3.7 \rfloor = 3,\ \lceil 3.7 \rceil = 4

Rounded

4\displaystyle 4

Fractional part

710\displaystyle \frac{7}{10}
Show the work
  1. Floor and ceiling

    The floor ⌊x⌋\lfloor x \rfloor is the greatest whole number that is not more than xx; the ceiling ⌈x⌉\lceil x \rceil is the least whole number that is not less than xx. They are the whole numbers just below and just above xx.

    Using ⌊x⌋≤x≤⌈x⌉\lfloor x \rfloor \le x \le \lceil x \rceil

    x=3.7x = 3.7
  2. Find the whole numbers on each side

    3.73.7 lies between the whole numbers 33 and 44, with nothing in between.

    3<3.7<43 < 3.7 < 4
  3. Result

    The floor is the lower of the two and the ceiling the upper: ⌊3.7⌋=3, ⌈3.7⌉=4\lfloor 3.7 \rfloor = 3,\ \lceil 3.7 \rceil = 4.

Worked examples