Power

Raises a number to a power.

Node id math/power

The Power node outputs a to the power b (aᵇ): 2 to the power 3 is 8.

Inputs

NameTypeDefaultNotes
anumber0
bnumber1

Outputs

NameTypeNotes
resultnumber

Behaviour

  • Defaults. a defaults to 0 and b to 1, so with only a set the result is a.
  • Roots. A fractional power is a root: b = 0.5 is the square root, like Square Root.
  • Invalid math. A negative a with a fractional b gives NaN, and 0 to a negative power gives Infinity, with no error.
  • Square Root: the power 0.5.
  • Log: finds the power, given the result.
  • E: with Power, the exponential function.
© 2026 Wirepaint