Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)
Power & Root Calculator

Power & Root Calculator

Calculate exponents, nth roots, and powers of 2 instantly. Quick presets, a powers-of-2 reference table, options, and saved calculation history.

Power and Root Calculator

The Power and Root Calculator is a math tool that handles exponents, nth roots, and powers of 2 in one place. Type a base and a power for a^n, an index and radicand for any root, or switch to base-2 work — results update instantly as you type.

It is built for students learning algebra, programmers working in binary, and anyone who needs a fast, reliable answer without reaching for a full scientific calculator. Quick presets, a powers-of-2 reference table, and saved history make repeat calculations effortless.

Private by design: every calculation runs in your browser, and your history is stored only on your device with localStorage. Nothing is ever uploaded to a server.

How to Use the Power and Root Calculator

1

Pick a mode

Choose the Exponent, Root, or Power of 2 tab depending on what you need to calculate.

2

Calculate an exponent

Enter the Base and Exponent to get a^n. Use the Quick presets (x², x³, x⁴, x⁵, x¹⁰) to set common powers, or the Swap values button to exchange the base and exponent.

3

Calculate a root

On the Root tab, enter the Index (2 for a square root, 3 for a cube root) and the Radicand under the sign. The Quick presets jump straight to √, ∛, and ∜.

4

Work with powers of 2

On the Power of 2 tab, pick a direction: solve 2ⁿ or use (find n) to get log₂(x). Click any row in the reference table to drop that value into your calculation.

5

Fine-tune and review

Open Options to set decimal places or turn on scientific notation for large numbers. Open History to revisit recent results and click any entry to restore its values.

Features

Three Calculation Modes

Solve exponents (a^n) with any base and power, find square, cube, fourth, or any nth root, and calculate 2ⁿ or log₂(x) — all in one tool.

Quick Preset Buttons

One-tap presets for common operations: exponents x², x³, x⁴, x⁵, x¹⁰ and roots √, ∛, ∜.

Powers of 2 Reference Table

A complete table from 2⁰ to 2³¹ with click-to-use rows and automatic highlighting of matching values — handy for binary and storage math.

Calculation Options

Adjust decimal precision from 2 to 10 places and toggle scientific notation for very large or very small results.

Swap Values

Instantly exchange the base and exponent to compare a^n against n^a without retyping.

Calculation History

Your last 10 calculations are saved across sessions; click any entry to restore its values, or clear the list with one tap.

Real-Time Results

Answers update as you type, with a clear formula display and graceful handling of edge cases like division by zero and complex (imaginary) roots.

Private & Offline

Every calculation runs in your browser and history stays on your device — nothing is sent to a server.

Frequently Asked Questions

What is the difference between a power and a root?

A power (exponent) tells you how many times to multiply a base by itself: 2³ means 2 × 2 × 2 = 8. A root is the inverse operation — it asks which number, raised to a given power, produces your value. So the cube root of 8 (∛8) is 2, because 2³ = 8. This calculator does both: the Exponent tab raises, the Root tab reverses.

How do I calculate the nth root of a number?

Open the Root tab, set the Index to n (the type of root) and enter the Radicand (the number under the sign). For example, an index of 5 and radicand of 32 gives the 5th root, 2. Presets cover the most common roots: √ (n=2), ∛ (n=3), and ∜ (n=4).

How is a fractional exponent x^(1/n) related to a root?

They are the same thing. Raising a number to the power 1/n is identical to taking its nth root, so x^(1/2) = √x and x^(1/3) = ∛x. The Root tab computes exactly this — internally it solves a^(1/n) — so you can use whichever form is more natural for your problem.

Can I calculate negative exponents?

Yes. A negative exponent means one divided by the positive power, so 2^-3 = 1 / (2³) = 1/8 = 0.125. Decimal bases and exponents work too. The one undefined case is 0 raised to a negative power, which the calculator flags as division by zero.

Why does it show "Complex number" for some roots?

Taking an even root (square, fourth, and so on) of a negative number has no real answer — the result is a complex number involving the imaginary unit i. This calculator works with real numbers, so it displays "Complex number (imaginary)" in those cases. Odd roots of negative numbers, like ∛-27 = -3, are real and computed normally.

Why are powers of 2 important in computing?

Computers work in binary (base 2), so powers of 2 appear everywhere: memory sizes (1 KB = 2¹⁰ bytes, 1 MB = 2²⁰ bytes), color depths, and countless algorithms. The Power of 2 tab and its reference table (2⁰ to 2³¹) make these values quick to look up. (find n) reverses it with log₂(x) — for example, log₂(1024) = 10.

Is my calculation history private?

Yes. Your last 10 calculations are stored locally in your browser using localStorage and never leave your device. Use the clear button to wipe the history whenever you like.

Quick:
Quick:
-
-
Powers of 2 Reference Table
Use the Quick presets (x², x³, x⁴) for common exponents
Switch between Exponent, Root, and Power of 2 modes
Click any row in the Powers of 2 table to use that value
On the Power of 2 tab, use (find n) to calculate log₂(x)
Open Options to set decimal places or scientific notation
Your history is saved - click an entry to restore its values
All calculations happen in your browser
Want to learn more? Read documentation →
1/8
Start typing to search...
Searching...
No results found
Try searching with different keywords