Math
Floor Division Calculator
Divide and round the result down to a whole number.
Did this calculator solve your problem today?
✓ Thank you for your feedback!
Report issue to loopingon.com
Sponsored
Floor division gives the whole-number part of a division, rounding toward negative infinity.
The math behind it
a // b = ⌊a ÷ b⌋. The matching remainder is a − b·(a // b), which always has the same sign as the divisor.
Worked Example
17 // 5 = 3, remainder 2.
Frequently Asked Questions
How does it handle negatives?
−17 // 5 = −4 (rounded down), not −3.
Advertisement