Modular Exponentiation Calculator (a^b mod m)

Compute exact BigInt modular powers a^b mod m using binary exponentiation for RSA and number theory.

Runs locally in browser Free · No login Independently Verified 2026-11-25 v4.0.0
Result
—
MetricValue

    Formula & Methodology

    c = a^b mod m (O(log b) squaring)

    Technical Explanation

    Compute exact BigInt modular powers a^b mod m using binary exponentiation for RSA and number theory. Executes 100% locally in your browser with step-by-step derivations and CSV export.

    Worked Examples

    • Adjust inputs above to inspect live step-by-step output and download results as CSV.

    Limitations & Assumptions

    • Standard IEEE 754 double precision applies except modular exponentiation which uses arbitrary-precision BigInt.

    Source References & Verification

    Resource ID: calc-modular-exponentiation · Independently verified: 2026-11-25

    Related Resources