Floor Function Calculator

Round a number down to the nearest integer.

⌊x⌋ 4

Formula: ⌊x⌋ = largest integer ≤ x

Step-by-step with your numbers:
1. Values used:
2. Number = 4.8
3.
4. ⌊x⌋ = 4
Did we solve your problem today?

The floor function rounds any number down to the previous whole number.

The math behind it

⌊x⌋ is the largest integer that is less than or equal to x. It rounds toward negative infinity.

Worked example

⌊4.8⌋ = 4, and ⌊−4.2⌋ = −5.

FAQ

Is floor the same as truncation?

For positives yes, but for negatives floor goes further down: ⌊−4.2⌋ = −5 while truncation gives −4.