Find the modular multiplicative inverse of a number modulo a positive integer.
Both inputs must be safe integers. The modulus must be greater than 1, and the two numbers must be coprime.
10 mod 17 has inverse 12 because 10 x 12 = 120 and 120 mod 17 = 1.
Yes. The calculator normalizes the value into the modulus before solving.
If a and m share a factor greater than 1, the inverse does not exist.
Related Tools