Modular arithmetic operations:

  • Addition: (a + b) mod n
  • Subtraction: (a - b) mod n
  • Multiplication: (a × b) mod n
  • Exponentiation: (a^b) mod n
  • Multiplicative Inverse: a⁻¹ mod n (a×a⁻¹ ≡ 1 (mod n))

Note: The multiplicative inverse requires a and n to be coprime.

Modular Arithmetic

Click the button for detailed calculation and sharing.
Previous Calculations
0
  There is no calculation history yet
Click on it to reload past records

Related Calculations