Modulo Calculator

Enter two numbers to calculate the remainder of the first divided by the second.

Formula

a mod b = the remainder after dividing a by b

Example

10 mod 3 = 1, since 10 ÷ 3 = 3 remainder 1.

Frequently Asked Questions

What happens if the divisor is zero?
Division by zero is undefined, so the calculator shows an error instead of a result.