Modulo Calculator
Find the remainder after dividing one number by another.
Results are provided for general informational use. Verify important financial, health or legal figures before relying on them.
Find the remainder after dividing one number by another.
The Modulo Calculator finds the remainder left after one number is divided by another. Modulo operations appear in programming, repeating cycles, time calculations and elementary number theory.
For related tasks, try GCD Calculator, LCM Calculator or Exponent Calculator.
The tool uses the remainder operation after division. The divisor must be non-zero. For negative numbers, the sign behavior follows JavaScript remainder semantics.
17 modulo 5 equals 2 because 17 = 5 × 3 + 2.
They are closely related; for positive inputs this tool gives the familiar division remainder.
No. Division by zero is undefined.
Yes, although modulo is most commonly used with integers.