Modulo Calculator
Calculate the remainder of division (modulo operation).
17 mod 5
2
Quotient (truncated division)3
Remainder (always non-negative)2
JS % operator result2
Verification
17 = 5 x 3 + 2
Calculate the remainder of division (modulo operation).
17 mod 5
2
Verification
17 = 5 x 3 + 2