Rounding Calculator
Round numbers to any decimal place using standard rounding, ceiling, floor, or truncation.
See the result instantly.
Rounding simplifies numbers to a desired precision. Four common methods:
Round (Half-Up): Standard rounding — 5 and above rounds up.
round(3.456, 2) = 3.46
Ceiling: Always rounds up (toward positive infinity).
ceil(3.411) = 4 | ceil(3.411, 2) = 3.42
Floor: Always rounds down (toward negative infinity).
floor(3.999) = 3 | floor(3.999, 2) = 3.99
Truncate: Chops off digits (toward zero).
trunc(3.999, 2) = 3.99 | trunc(-3.7) = -3
Key difference: Floor and truncate differ for negatives:
floor(-2.3) = -3(rounds toward -∞)trunc(-2.3) = -2(rounds toward 0)