Number Fundamentals & Precision

Floor Function Calculator

Find the greatest integer that is not greater than a decimal.

Exact arithmetic

Find the greatest integer below

Toward −∞
  1. 1EnterProvide the known values
  2. 2CalculateResults update automatically
  3. 3VerifyReview the details and units
Try an example

Floor

Enter valid values to see the result.

Your entries are calculated in this browser and are not submitted to 365CALCS.COM.

Feedback

Understand the subject

What is the floor function?

Floor chooses the last whole number at or below a value.

Use it to count complete units, create integer intervals, or apply a lower bound.

The key rule

What stays true

See the idea

Visual explanation

Example

Apply it

floor(−1.2) = −2

For negative values, floor moves toward negative infinity—not toward zero.

Quick guide

How to use this calculator

  1. Enter a finite decimal.
  2. Read the greatest integer less than or equal to it.
  3. Notice that negative values move toward negative infinity.

Calculation method

Floor points downward

An integer remains unchanged. A positive fractional value discards its fraction; a negative fractional value moves to the next lower integer.

Worked example

Floor of a negative decimal

−2 is the greatest integer that is no larger than −1.2.

floor(−1.2) = −2

Supported inputs

Precision and limits

Exact decimal input

Finite decimals use integer-scaled arithmetic, with no binary floating-point conversion.

Input boundary

Unless stated otherwise, use at most 200 digits total and 100 digits after the decimal marker.