is the ceiling function, which returns the smallest integer greater than or equal to . The bracket symbol suggests a ceiling and forms a pair with the floor function (the greatest integer at most ).
Some concrete values:
Integers are left unchanged, while any non-integer is pushed up to the next integer. Note that for a negative number this rounds toward zero (to the right on the number line).
Domain and range. The domain is all real numbers and the range is the set of all integers. The graph is a staircase of horizontal segments at integer heights. Each step has width : on the interval the value is exactly . So every step includes its right end (the integer point, a filled dot) and excludes its left end (an open dot).
Discontinuities and jumps. The function is discontinuous at every integer. At an integer the left-hand limit equals and so does the value, so it is continuous from the left; but just past the value leaps to . Every jump has size , and the ceiling function is left-continuous, in contrast with the right-continuous floor function.
Relation to other functions. Ceiling and floor are linked by a reflection through the sign:
Moreover, when is not an integer, , and when is an integer the two agree.
Applications. Rounding up appears everywhere in daily life and in computing. The number of boxes needed to pack items at per box is ; page counts, the number of buses required, and memory block counts are all computed with the ceiling.