Modular Arithmetic Calculator

Enter values

The remainder of a divided by n. The result is always between 0 and n−1.

=Result
3
Quotient (a ÷ n)2
Result3

17 mod 7 = 3

calcula·ro Open the full calculator →