Inverse Modulo Calculator
Enter a number a and a modulus n to find both the multiplicative inverse (a⁻¹ mod n) and the additive inverse (-a mod n). The Inverse Modulo Calculator checks if a multiplicative inverse exists using the GCD condition, then applies the Extended Euclidean Algorithm to compute results — plus shows step-by-step verification.
Results
Multiplicative Inverse (a⁻¹ mod n)
--
Additive Inverse (−a mod n)
--
GCD(a, n)
--
Multiplicative Inverse Exists?
--
Verification: (a × a⁻¹) mod n
--