² Exponent Calculator

Compute x^y (x raised to the power of y), along with square, cube, square root, and cube root. All in your browser.

Enter x and y to compute x^y and related powers.

About the Exponent Calculator

This calculator computes x^y (x raised to the power of y) and also displays the common shortcuts: square (), cube (), square root (√x), and cube root (∛x). Calculations run locally in your browser.

Formulas

  • Power: x^y — repeated multiplication when y is a positive integer; generalized for any real y by JavaScript's Math.pow.
  • Square: x² = x × x
  • Cube: x³ = x × x × x
  • Square root: √x = x^(1/2)
  • Cube root: ∛x = x^(1/3)

How to use

  1. Enter the base x.
  2. Enter the exponent y.
  3. Click Calculate. The result section shows x^y along with square, cube, square root and cube root of x.

Frequently asked questions

What is 0 to the power 0? Mathematically debated. JavaScript defines Math.pow(0, 0) as 1; this calculator follows that convention.

What about negative base with fractional exponent? Many such cases produce complex numbers and are not representable as a real number. The calculator will report NaN in those cases.

How large can results be? JavaScript numbers max out around 1.8 × 10^308. Larger results will display as Infinity.

Can y be negative? Yes. x^-1 = 1/x, x^-2 = 1/x², and so on. The calculator supports negative exponents directly.