Modular Exponentiation Calculator worked example
{
"base": "123456789",
"exponent": "12345",
"modulus": "1000000007"
}
{
"result": "614455772",
"multiplications": 19,
"method": "Binary modular exponentiation"
}
Math
Calculate modular result from base integer, exponent, modulus.
Published Last reviewed
Calculate modular result from base integer, exponent, modulus. Enter base integer, exponent, modulus in a purpose-built modular exponentiation calculator interface designed for this subject. Binary exponentiation squares and multiplies BigInt values modulo the entered positive modulus. The result includes modular result, modular multiplications, method, supporting detail, and clear units or diagnostics. Results depend on the entered assumptions, units, supported input range, and rounding. Review important decisions against authoritative requirements. Processing stays in your browser, and UtilityPages does not store the values you enter.
Workspace
Edit the source fields below and inspect the rendered output alongside your work.
Complete the fields to prepare a result.
Enter the values above, then calculate to see a detailed result.
Binary exponentiation squares and multiplies BigInt values modulo the entered positive modulus.
Binary exponentiation squares and multiplies BigInt values modulo the entered positive modulus. Results depend on the entered assumptions, units, supported input range, and rounding. Review important decisions against authoritative requirements.
{
"base": "123456789",
"exponent": "12345",
"modulus": "1000000007"
}
{
"result": "614455772",
"multiplications": 19,
"method": "Binary modular exponentiation"
}
This tool does not store your inputs or results on UtilityPages.org.
Binary exponentiation squares and multiplies BigInt values modulo the entered positive modulus.
Enter base integer, exponent, modulus. Use values and units from the same scenario so the result is internally consistent.
It reports modular result, modular multiplications, method, including intermediate context where it helps you review the answer.
Results depend on the entered assumptions, units, supported input range, and rounding. Review important decisions against authoritative requirements.