Exponent Calculator

MATH · POWERS & ROOTS

Solve aⁿ = x

Calculated on this device
Enter the base number a.
Enter the exponent n. Negative and decimal exponents are supported.

RESULT (aⁿ)

32

2 ^ 5 = 32

Formula: x = aⁿ

Reciprocal (1 ÷ x)0.03125Equals a⁻ⁿ
Natural Log ln(x)3.4657359n × ln(a)

HOW IT WORKS

Laws of exponents, negative powers, and roots

In the expression aⁿ = x, a is the base, n is the exponent, and x is the power. Switch modes above to solve for any of the three variables.

01

Positive & Negative Exponents

A negative exponent represents the reciprocal of the positive power:

a⁻ⁿ = 1 ÷ aⁿ (a ≠ 0)
02

Solving for Base or Exponent

Solving for the base takes the nth root (a = x^(1/n)), while solving for the exponent uses logarithms (n = ln(x) ÷ ln(a)).

ALGEBRA GUIDE

Essential exponent rules and connections to logarithms

Core exponent identities

When multiplying powers with the same base, add exponents (aᵐ × aⁿ = aᵐ⁺ⁿ); when dividing, subtract them (aᵐ ÷ aⁿ = aᵐ⁻ⁿ); and when raising a power to a power, multiply ((aᵐ)ⁿ = aᵐⁿ). To explore inverse exponential equations, try our Log Calculator or Half-Life Calculator.

Frequently asked questions

What is any nonzero number raised to the power of 0?

For any nonzero real number a, a⁰ = 1. By algebraic convention in combinatorics and polynomials, 0⁰ = 1, though in calculus limits 0⁰ is an indeterminate form.

How do fractional exponents work?

A fractional exponent a^(p/q) means taking the qth root of a raised to the pth power—for instance, 9^(0.5) = √9 = 3.

Why can't a negative base have a decimal exponent here?

Raising a negative number to a non-integer power such as (-4)^0.5 produces an imaginary or complex number rather than a real number.

What happens when the result exceeds double-precision range?

JavaScript IEEE-754 numbers overflow above approximately 1.797 × 10³⁰⁸. When that happens, the calculator shows a clear range warning instead of displaying Infinity.

Your inputs are calculated locally in this browser and never leave your device.