Power Calculator
Calculate any base raised to any exponent (base^exponent).
Did this tool answer your question?
Thanks — this helps us improve the tool.
How to use this tool
- Enter base and exponent in the fields above.
- Results update instantly as you type — or click Calculate.
- Read your result and the full breakdown beneath it.
Calculate base raised to the power of exponent. Any real numbers are supported.
Formula
result = baseexponent
Computed as Math.pow(base, exponent).
How it works
The calculator raises the base to the given exponent using JavaScript's built-in power function, which handles integer and real exponents as well as negative bases (with some restrictions). Fractional exponents compute roots; negative exponents compute reciprocals of the corresponding positive power.
Worked example
Worked example: 2 to the power of 10
- Input: base = 2, exponent = 10.
- Apply the formula: 210.
- Compute by repeated doubling: 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024.
210 = 1024
Common mistakes to avoid
- Swapping base and exponent -- 2^10 = 1024 but 10^2 = 100; reversing the inputs produces a dramatically different result.
- Expecting a real-number result for a negative base with a fractional exponent -- (-8)^(1/3) has a real cube root, but floating-point computation of negative_base^(non-integer) typically returns NaN.
- Using the calculator for modular exponentiation without realising that very large exponents produce floating-point approximations rather than exact integer results.
Key terms
- Base
- The number being multiplied by itself; the bottom value in an exponentiation expression.
- Exponent
- How many times the base is multiplied by itself; also called the power or index.
- Negative exponent
- An exponent less than zero; b−n = 1 / bn.
- Fractional exponent
- An exponent that is not a whole number; b1/n is equivalent to the nth root of b.
Frequently asked questions
- How does the power calculator work?
- It computes base^exponent. For example, 2^10 = 1024 means 2 multiplied by itself 10 times.