Inverse Modulo Calculator

Find x where a·x ≡ 1 (mod m).

a⁻¹ mod m 5
Step-by-step with your numbers:
1. Values used:
2. a = 3
3. m = 7
4. a⁻¹ mod m = 5
Did we solve your problem today?

Modular multiplicative inverse.

FAQ

When?

Only exists if a and m are coprime.