⌊x⌋ Floor Calculator

Find the floor of a number, the greatest integer less than or equal to the input.

No ratings yet — be the first

Enter details

Floor
lfloorrfloor = ?
  • Number

Log in or create a free account to save your inputs and results, so you don't have to enter them again next time.🔒 No spam, ever. We never sell or share your details, and you can delete your history or account at any time. Privacy policy

Fill in the details and click Calculate to see your results.

Formula at a glance

Floor formula: floor(x)
How the floor works: floor(x)

Rate this calculator

Was it useful? A quick star rating helps others — and you can leave a comment too.
Rate it: ★ ★ ★ ★ ★

📘 About the Floor Calculator

Floor is a standard mathematical rounding-down function.

For positive numbers it usually resembles dropping the decimal part, but for negative numbers it moves toward negative infinity.

🧮 Formula

Floor function
floor(x)

Where

  • x = input number
Floor is not the same as truncation for negative numbers.

✏️ Worked examples

⌊7.8⌋

You enter
Number7.8
You get
Floor7

7.

⌊−2.1⌋

You enter
Number-2.1
You get
Floor-3

-3.

🧭 How to use this calculator

What you enter

  • Number

What you get

  • Floor

💡 Floor versus truncation

  • Floor moves toward negative infinity.
  • For positive values, floor and truncation toward zero give the same whole-number result.
  • For negative values, they can differ.

❓ Frequently asked questions

What is the floor of a number?

It is the greatest integer less than or equal to that number.

What is the floor of -2.1?

It is -3.