Modulo Calculator
Compute A mod B — the remainder left after dividing A by B.
Calculator
Modulo Calculator
Result
—
Formula
A mod B
Step-by-step
- 1
Enter both numbers
A is divided by B.
- 2
Read the remainder
The result is what is left over.
Worked example
Example input: a: 17, b: 5
Result: 2
Related tools
- Basic Calculator
Standard arithmetic.