IMPOWER function
Raises a complex number to a power, for example "2+3i" to the 3rd power. Works through polar form, so small rounding residues can appear.
Available in Excel 2007 and later (Excel 2003 needed the Analysis ToolPak add-in), Microsoft 365, Excel for the web, Excel for Mac
Excel 2007 and laterWorks in Google Sheets
Syntax
IMPOWER(inumber, number)| Argument | What it means | |
|---|---|---|
inumber | Required | A complex number as text such as "3+4i" or "5-2j", a cell containing one, or a plain number. Build it with COMPLEX to avoid typing errors. |
number | Required | The power. Can be an integer, a fraction (for roots) or negative. |
Returns: A complex number as text.
How IMPOWER works
IMPOWER raises a complex number to a power using De Moivre's rule: it converts the number to polar form r∠θ, raises the size to the power (rⁿ) and multiplies the angle (nθ), then converts back. That works for whole, fractional and negative powers, so IMPOWER(z, 0.5) gives a square root and IMPOWER(z, -1) gives the reciprocal.
The price of going through angles is floating-point residue: results that should be whole numbers can come back as 9.00000000000001 or with a tiny E-16 part. Round the parts with IMREAL, IMAGINARY and ROUND if you need clean values, or use IMPRODUCT for small integer powers. Like all IM functions, it reads complex numbers written as text (x+yi or x+yj) and returns its answer as text with up to 15 significant digits, so you can feed the result straight into another IM function.
Examples
1Cube of 2+3i
| A | B | C | |
|---|---|---|---|
| 1 | Complex | Power | |
| 2 | 2+3i | 3 | -46+9.00000000000001i |
Result: -46+9.00000000000001i
The exact answer is -46+9i. Because Excel works via angles, the imaginary part shows a rounding residue in the 15th digit: 9.00000000000001.
2i squared is -1 (almost)
| A | B | C | |
|---|---|---|---|
| 1 | Complex | Power | |
| 2 | i | 2 | -1+1.22464679914735E-16i |
Result: -1+1.22464679914735E-16i
Mathematically i² = -1. IMPOWER computes cos(π) + i·sin(π), and sin(π) in floating point is 1.22E-16 rather than 0, so a tiny imaginary part appears. =IMPRODUCT(A2,A2) returns a clean -1.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | The text is not a valid complex number — for example it contains spaces (3 + 4i), a capital I, or a misplaced sign. | Create the value with COMPLEX or remove spaces with SUBSTITUTE. |
#VALUE! | The argument is a logical value, or the formula mixes the i and j suffixes. | Use one suffix consistently throughout a calculation. |
#VALUE! | number is non-numeric. | Use a number for the power. |
Tips
- Functions that work through angles (polar form) can leave rounding residue such as
1.22464679914735E-16where the exact answer is 0. Wrap the result in IMREAL/IMAGINARY and ROUND if you need clean numbers. IMPOWER(z, 1/n)returns only one of the n roots (the principal root).
Google Sheets
IMPOWER also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
IMPOWER in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Danish | IMAGPOTENS |
| Dutch | C.MACHT |
| Finnish | KOMPLEKSI.POT |
| French | COMPLEXE.PUISSANCE |
| German | IMAPOTENZ |
| Hungarian | KÉPZ.HATV |
| Italian | COMP.POTENZA |
| Norwegian (Bokmål) | IMOPPHØY |
| Polish | POTĘGA.LICZBY.ZESP |
| Portuguese (Brazil) | IMPOT |
| Portuguese (Portugal) | IMPOT |
| Russian | МНИМ.СТЕПЕНЬ |
| Spanish | IM.POT |
| Swedish | IMUPPHÖJT |
| Turkish | SANKUVVET |