Modular Arithmetic Calculator

Modular arithmetic is 'clock arithmetic' — numbers wrap around after reaching a modulus.

What this calculator does

17 mod 5 = 2 (17 = 3×5 + 2). Used in cryptography, hashing, and computer science.

Frequently asked questions

What is modular arithmetic?

Arithmetic where numbers 'wrap around' after reaching a modulus value. Example: 10 mod 3 = 1.