Tested tool guide
Tested browser tools
Checked August 16, 2026
What Modular Arithmetic Calculator does, with a checked example
Modular Arithmetic Calculator reduces addition, multiplication, exponentiation, and multiplicative inverses to residues for a chosen modulus. Enter the operands required by the selected operation and the modulus; the numerical result is accompanied by a clock-face number circle showing wraparound among residue classes. It answers questions such as where a power lands on a finite cycle. The important trap is the inverse: division modulo n is not ordinary division, and an input has no multiplicative inverse unless it is coprime to n.
Worked example
A concrete input and expected output from the current implementation.
Input
Operation: exponentiation
Base: 3
Exponent: 4
Modulus: 7
->
The ordinary power is 3^4 = 81. Since 81 = 7 * 11 + 4, its residue modulo 7 is 4.