Back to Free Tools

FREE TOOLS

Modular Exponentiation Calculator

Calculate exact base-to-exponent residues with bounded integers and no allocation of the full unbounded power.

Decimal integer base, exponent and modulus

JSON modular power report

Browser only

Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.

This tool needs JavaScript. If it does not load, refresh the page and try again.

How to use this tool

  • Enter Base, Nonnegative exponent and Modulus at least 2.
  • Select Calculate modular power.
  • Download modular-power.json for the exact residue and stated exponent-zero convention.

Examples

Base -2, exponent 5 and modulus 13 produce residue 7.

Limitations

  • 100 digits and 128 raw UTF-16 units per scalar, at most 333 exponent bits, 666 modular multiplications, 202 intermediate digits, 64 KiB report and 30 seconds.
  • Negative exponents are rejected; no inverse mode or full ordinary-power output is included.
  • No primality testing, constant-time behavior or cryptographic certification.

Related tools

No items found.

More tools for your workflow

Explore the related desktop tool