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