Math / Power / Exponent

Power / Exponent calculator

Raise a base to a positive, negative, integer, or fractional exponent and see a readable real-number result.

A negative base can have a real fractional power when the reduced exponent has an odd denominator, such as −8 to the 1/3 power.

Your answer will appear here.

Formula: For an integer exponent, multiply the base by itself; a negative exponent gives the reciprocal. Fractional exponents represent roots and powers.

The basics

Positive, negative, and fractional powers

An exponent tells you how many times to multiply the base by itself: 2³ = 2 × 2 × 2 = 8. A negative exponent takes the reciprocal (2⁻³ = 1/8), and a fractional exponent represents a root (9^(1/2) = 3). This tool evaluates all three cases and flags results that are undefined or too large to represent.

Roots are just fractional powers, so the Square Root calculator is the special case where the exponent is one half.

How the formula works

aⁿ = a × a × … (n times); a⁻ⁿ = 1 ÷ aⁿ; a^(p/q) = q√(aᵖ)

For integer exponents, multiply repeatedly. Negative exponents give the reciprocal, and fractional exponents combine a root and a power.

Zero exponent

Any non-zero base raised to the power zero equals 1.

Overflow

Very large results may exceed the representable range and are flagged.

In practice

Worked examples

Input

2 ^ (-3)

Answer

0.125

Input

-8 ^ (1/3)

Answer

-2

Good to know

Frequently asked questions

Yes. A negative exponent gives the reciprocal power, except when the base is zero.

Keep going