Modular Arithmetic Calculator

Compute a mod n, modular exponentiation (a^b mod n), and modular inverses using clock-arithmetic rules from number theory.

Operation
Choose between basic modulo, modular exponentiation, or modular inverse.

Inputs

Results

Enter a value to see results.

Details

Embed this calculator

Preview

Paste this code into your page to show the calculator.

Share this calculation

Anyone who opens this link sees your values already filled in.

200+ calculators · 10 languages · 100% free

Was this calculator helpful?

No

How can we improve this calculator?