How this calculation works
For negative values, rounding down moves away from zero unless the number is already a whole integer.
floor(x) ≤ x ≤ ceil(x)A worked example
The floor of −2.3 is −3 and its ceiling is −2.
Good to know
When the input is an integer, floor and ceiling are equal.
Reference: OpenStax Prealgebra (opens in a new tab) ↗
Read the result
Find the neighbouring integers below and above a real value.
The primary result is labeled “Floor”. Keep the input definitions in view when comparing this result with another method.
Try a related calculation
When the input is an integer, floor and ceiling are equal.
For a related exercise, try the fraction calculator.
A few questions, answered
How can I check the default inputs by hand?
The floor of −2.3 is −3 and its ceiling is −2.
Which rule does this calculator apply?
floor(x) ≤ x ≤ ceil(x)