Math
Modular Exponentiation Calculator
Compute base^exponent mod modulus with BigInt square-and-multiply. Useful for understanding RSA-style operations (educational).
Runs entirely in your browser; input is not sent to our servers.
Messages, keys, passwords, plaintext, ciphertext, and files are never stored in
localStorage, history, or analytics payloads.
Educational
Integer base; up to 256 digits.
Non-negative integer exponent; up to 256 digits.
Non-zero modulus; up to 256 digits.
a^e mod m
Sources
Related calculators
More tools in Math and popular picks.