A modular inverse is a value that undoes addition or multiplication under a modulus.
A modular inverse is a value that undoes addition or multiplication under a modulus.
| Input | What it means |
|---|---|
| Inverse type | Choose the applicable option; it determines which relationship or conversion the page applies. |
| a | A value or coefficient in the formula above; keep the displayed position and sign. |
| Modulus m | Use the measured or stated value for this item, with the unit or category shown beside the field. |
Modulo 7, the additive inverse of 3 is 4 and its multiplicative inverse is 5.
Solve modular equations where ordinary division is unavailable.
Keep the original input precision through the calculation and round the final answer to the precision you need. Rounding an intermediate result can change later steps.
Check the operation, units, signs and rounding first. Equivalent fractions or expressions can look different while representing the same value.