pow

x ^ y

pow(x, y)

Try it yourself:

See also:

pow(): raise a value to a power

pow(x, y) calculates x raised to exponent y. For example, pow(2, 3) is 8 and pow(9, 0.5) is 3 in the real domain.

Exponents and domains

Positive integer powers represent repeated multiplication; negative powers represent reciprocals. Fractional powers may require a positive base for a real answer. Zero to a negative power is undefined.

Related operations

Use sqrt() for square roots, cbrt() for cube roots, exp() for e raised to a power, and log() for inverse exponent reasoning. abs() helps inspect magnitude.

Precision

Large exponents can overflow and very small negative exponents can underflow. Keep exact forms when possible.

Try Pow in Calcul.io

Start with one of the editable examples above, then replace its arguments with your own values. Keeping the function on a separate calculator line makes the input and result easy to compare. For a longer workflow, assign the result to a variable or reference that line in the next expression.

Check the shown signature before adding optional arguments, and use the related-function links to compare operations with similar purposes.

All functions