Multiplicative Inverse Modulo Calculator
Enter an integer a and a modulus m to find the modular multiplicative inverse — the value a⁻¹ such that a × a⁻¹ ≡ 1 (mod m). The calculator uses the Extended Euclidean Algorithm to compute the result and tells you whether the inverse exists (it only does when gcd(a, m) = 1).
Results
Modular Multiplicative Inverse (a⁻¹ mod m)
--
GCD(a, m)
--
Inverse Exists?
--
Verification: (a × a⁻¹) mod m
--