Example 1
- x = 3.2
4
What is ⌈3.2⌉? 4. The first integer above 3.2.
Type an x. Ceiling is the least integer that is not smaller than x. ⌈3.2⌉ = 4. ⌈−1.2⌉ = −1. ⌈5⌉ = 5.
The calculator rounds x up to the next integer. Negatives go toward +∞: −1.2 gives −1, not −2. A whole x stays itself.
Enter data and click Calculate.
Ceiling (round up) is the least integer that is not smaller than x. School writes ⌈3.2⌉ = 4, because 4 is the first integer above 3.2. The calculator rounds up and shows 4.
A negative x does not run further into minus. Ceil walks toward +∞. ⌈−1.2⌉ = −1, because −1 is larger than −1.2 and −2 is smaller. Floor of that same −1.2 is −2.
The field is x. A comma and a dot are the same decimal. 3.2 and 3,2 both give 4. Whole 5 stays 5.
Floor goes the other way. Rounding to n places keeps a fraction. Here the result is always an integer.
The fractional part is not ceil. Absolute value drops the sign. Here you stay with ceil alone.
⌈3.2⌉ = 4. ⌈−1.2⌉ = −1. ⌈5⌉ = 5. 0.1 gives 1. −0.1 gives 0.
⌈x⌉ = Math.ceil(x)
Ceil is the least integer ≥ x. ⌈3.2⌉ = 4. ⌈−1.2⌉ = −1. ⌈5⌉ = 5. Negatives go toward +∞.
4
What is ⌈3.2⌉? 4. The first integer above 3.2.
-1
What is ⌈−1.2⌉? −1, not −2. Ceil goes toward plus infinity.
5
What is ⌈5⌉? 5. A whole number stays itself.
4. The least integer that is not smaller than 3.2.
The least integer ≥ x. The calculator rounds x up to the next integer.
−1, not −2. Ceil goes toward +∞. −2 is already smaller than −1.2.
5. When x is already an integer, the result is that same x.
Yes. −0.1 gives 0. −3 gives −3.
Ceil steps toward +∞. Floor steps toward −∞. For −1.2, ceil is −1 and floor is −2.
Yes. 3.2 and 3,2 both give 4.
Yes. 1 is the first integer above 0.1.
On the floor page. Here you stay with ceil alone.
No. 3.2 stays 4 under every label.
The calculator computes the same formula as the definition below.
Page updated in 2026.