Modulo Calculator
Calculate the remainder (modulo) of dividing one number by another.
How to use this tool
- Enter dividend (a) and divisor (b) in the fields above.
- Results update instantly as you type — or click Calculate.
- Read your remainder (a mod b) and the full breakdown beneath it.
The modulo operation (a mod b) returns the remainder after dividing a by b.
Frequently asked questions
- What is the modulo operation?
- The modulo (%) returns the remainder of a division. For example, 17 mod 5 = 2 because 17 = 3×5 + 2.