Calculate the modulo (remainder) of dividing one number by another. The modulo operation finds the remainder after division and is widely used in programming, cryptography, and number theory.
Enter your values below
How this calculator works
The modulo operation computes the remainder when a is divided by n. It is calculated as a - n × floor(a/n). For example, 17 mod 5 = 2 because 17 = 5 × 3 + 2.
Common questions about this calculator