When the inverse exists
A modular inverse exists exactly when the number and the modulus are coprime. In practice that means .
When the inverse exists, multiplying by it returns residue modulo .
A modular inverse exists exactly when the number and the modulus are coprime. In practice that means .
When the inverse exists, multiplying by it returns residue modulo .
Calculate modular subtraction easily with our online tool.
Easily calculate modular multiplication online.
Easily check if two numbers are congruent modulo another number.