Modulo Calculator (remainder)
Find the remainder and quotient of a division (a mod b).
Result
Remainder (a mod b)
2.0000
Quotient
3
How it works
a = quotient × b + remainder
The modulo is the remainder left after dividing a by b. Example: 17 mod 5 = 2, with a quotient of 3 (since 3×5 + 2 = 17).
Advertisement
Frequently asked questions
What is 17 mod 5?
2 — because 17 = 3×5 + 2.
What if the divisor is 0?
Division by zero is undefined, so the result is shown as 0.
Advertisement