# Power / Exponent calculator online: Calculate x to the power n

The p command calculates x to the power n, that is xn. If you input p --3 1 2 3 4 5 in the search form above, the calculator shows 1, 8, 27, 64, 125 in the screen as follows.

The numbers in green are your inputs and red values are outputs. --3 means power 3 and is the optional argument. The default power is 2.