Power Mod Calculator
Enter a base (a), exponent (b), and modulus (n) to compute ab mod n — the remainder when a raised to the power b is divided by n. The Power Mod Calculator uses a fast binary exponentiation algorithm to handle large numbers without overflow, returning the modular result along with a step-by-step breakdown.
Results
a^b mod n
--
Base mod n (a mod n)
--
Exponent in Binary
--
Binary Steps Required
--