CalcDepo

Modular Exponentiation Calculator

Find a raised to the power b, reduced modulo m, for small whole numbers.

Inputs

Results

Remainder of a^b divided by m2
Power value3.4868 × 10⁹

Chart

Not what you need? Search by intent

Describe what you want to find — “modular exponent” — and jump to the right calculator.

How to use the modular exponentiation calculator

Find a raised to the power b, reduced modulo m, for small whole numbers. Enter base a, exponent b, modulus m in the fields above; the remainder of a^b divided by m, power value are computed instantly and plotted on the chart so you can see how the answer changes.

Common searches this calculator answers include “modular exponent”, “a to the b mod m”, “modulo power calculator”, “calculate modular exponentiation”, “find remainder of a^b divided by m”.

Formula

Remainder of a^b divided by m = (a^b)%m
Power value = a^b

Variables

  • a — Base a
  • b — Exponent b
  • m — Modulus m

Worked example

With base a = 3, exponent b = 20, modulus m = 7, the calculator gives remainder of a^b divided by m ≈ 2; power value ≈ 3.4868 × 10⁹.

Frequently asked questions

What is the modular exponentiation calculator used for?

Find a raised to the power b, reduced modulo m, for small whole numbers. It helps with questions such as “modular exponent”, “a to the b mod m”, “modulo power calculator”.

What is the formula for the modular exponentiation calculation?

Remainder of a^b divided by m = (a^b)%m. Power value = a^b. Here a is base a, b is exponent b, m is modulus m.

What inputs do I need for the modular exponentiation calculator?

You need base a, exponent b, modulus m. Each field is pre-filled with a typical example so you can see how the result responds as you edit the numbers.

How do I use the modular exponentiation calculator?

Type values into the input fields. Results and the chart update instantly. Use Reset to restore the example values, Copy results to paste them elsewhere, or Share to copy a link that preserves your inputs.

Is the modular exponentiation result exact?

Calculations use standard formulas and double-precision arithmetic, then display about seven significant figures. Real-world measurements carry uncertainty, so treat results as estimates unless your inputs are exact.

Related calculators

More in Algebra & Calculus: Percentage · Percent Increase and Decrease · Ratio Simplifier · GCD and LCM · Divisor Count · Quadratic Equation · Linear Equation · System of Two Linear Equations