Modulo Calculator
Calculate the remainder (modulo) of a division operation. Supports positive and negative integers.
mod=
What is Modulo?
The modulo operation (mod) returns the remainder after dividing one number by another.
a mod b = a − b × ⌊a/b⌋
17 mod 5 = 2 (because 17 = 5 × 3 + 2)
Related Calculators
Last updated: 2026-08-08