Modular Arithmetic Calculator

In modular (or "clock") arithmetic, all integers are reduced to their remainder after dividing by a fixed integer, called the modulus. For example, suppose the modulus is 7. To reduce 16 modulo 7, divide 16 by 7. The result is the remainder, 2.

To use the Modular Arithmetic Calculator, enter a non-zero integer for the modulus m, and integers a and b below. Then click Calculate.

Modulus m:
a: b:
All results are reduced modulo 17.
a + b =
a - b =
a * b =
a / b =
&radica =
Note: Square roots are only calculated
when the modulus m is prime.

Notes:

Home

Copyright 2009 by Paul Trow