Modular Exponentiation Calculator

Calculate base^exponent mod modulus with BigInt support. 100% free, runs locally in your browser—nothing is uploaded to our servers.

Modular exponentiation is widely used in RSA encryption, Diffie-Hellman key exchange, elliptic curve cryptography, etc. This tool uses BigInt with the square-and-multiply algorithm, supporting arbitrarily large integers.