How Fraction Floor Calculator Works?
The Fraction Floor Calculator works in 4 steps: it reads a fraction, divides the numerator by the denominator, moves down to the nearest integer at or below the value, and prints that integer as the floor. The same panel lists the ceiling and the nearest whole number for comparison.
Enter the fraction
Type
29/6or a negative fraction such as-29/6into the input boxes.Compute the decimal
29 ÷ 6 = 4.8333 and −29 ÷ 6 = −4.8333.
Move down to an integer
The floor of 4.8333 is 4. The floor of −4.8333 is −5, as −5 is the first integer below −4.8333.
Read the detail line
The result panel prints
Floor: 4 | Ceil: 5for 29/6. The main result shows the nearest whole number, 5, so the floor value sits on the detail line.
Fraction Floor Calculator Formula
The fraction floor formula is ⌊a/b⌋ = q, where a = q·b + r and 0 ≤ r < b for a positive denominator b. The floor is the quotient of floor division.
Floor division
Subtract the non-negative remainder and divide. For 23/6, r = 5, so ⌊23/6⌋ = 18/6 = 3.
Negative fractions
Floor moves toward negative infinity. ⌊−7/3⌋ = −⌈7/3⌉ = −3, not −2.
Whole-number check
Whole values stay unchanged. ⌊8/4⌋ = 2.
Fractional remainder
The gap between a value and its floor is always a proper fraction or 0. For −11/4, the gap is −11/4 − (−3) = 1/4.
Worked example: floor of −19/5
- Divide: −19 ÷ 5 = −3.8.
- List the integers around −3.8: −4 and −3.
- Pick the lower integer: −4.
- Check with floor division: −19 = −4 × 5 + 1, and the remainder 1 lies from 0 to 4.
- Find the gap: −3.8 − (−4) = 0.2 = 1/5.
Fraction Floor Calculator Conversion Table
The fraction floor conversion table lists 12 positive and negative fractions with the decimal, the floor, the ceiling, and the gap between the value and its floor.
| Fraction | Decimal | Floor | Ceiling | Value − Floor |
|---|---|---|---|---|
| 7/2 | 3.5 | 3 | 4 | 1/2 |
| 11/3 | 3.6667 | 3 | 4 | 2/3 |
| 9/5 | 1.8 | 1 | 2 | 4/5 |
| 22/7 | 3.1429 | 3 | 4 | 1/7 |
| 3/8 | 0.375 | 0 | 1 | 3/8 |
| 15/4 | 3.75 | 3 | 4 | 3/4 |
| 8/4 | 2 | 2 | 2 | 0 |
| −1/2 | −0.5 | −1 | 0 | 1/2 |
| −11/4 | −2.75 | −3 | −2 | 1/4 |
| −5/6 | −0.8333 | −1 | 0 | 1/6 |
| −13/5 | −2.6 | −3 | −2 | 2/5 |
| −17/6 | −2.8333 | −3 | −2 | 1/6 |
What is Fraction Floor Calculator?
A Fraction Floor Calculator is a tool that returns the greatest integer less than or equal to the value of a fraction. The floor of 22/7 is 3.
The floor function, written ⌊x⌋, always rounds toward negative infinity. For positive fractions, the floor equals the whole part of the mixed number: ⌊15/4⌋ = ⌊3 3/4⌋ = 3. For negative fractions that are not integers, the floor is 1 lower than the whole part: ⌊−11/4⌋ = −3, and the mixed number is −2 3/4.
The floor function appears in integer division, calendar math, and computer code. Python writes the floor of a/b as a // b, so -7 // 2 returns −4. JavaScript uses Math.floor(a / b), the same function the calculator runs.
What are the uses of Fraction Floor Calculator?
The Fraction Floor Calculator has 6 main uses, including full-unit counts, integer division, and age calculation.
Full-unit counts
A roll of 23/2 m of fabric yields ⌊11.5⌋ = 11 full pieces of 1 m (3.28 ft).
Integer division
Programmers check that
Math.floor(-7 / 2)returns −4, not −3, before shipping index math.Age calculation
A person who has lived 9000 days has an age of ⌊9000 / 365.25⌋ = 24 years.
Box counts
500 items in boxes of 48 fill ⌊500/48⌋ = 10 full boxes.
Time conversion
1000 minutes contain ⌊1000/60⌋ = 16 full hours, with 40 minutes left.
Grid cell lookup
A point at x = 157/16 lies in grid cell ⌊9.8125⌋ = 9.