How to Fix Excel POWER Function Error for Negative Values
Question details
The user encounters an error when trying to use the POWER function on a negative base number with a fractional exponent.

- Product
- Excel / WPS Spreadsheet
- Device & OS
- not provided
- Scenario
- Calculating powers or roots of negative numbers using the POWER formula.
- Observed behavior
- The POWER function returns an error, such as #NUM!, because a negative number raised to a fractional power results in a non-real (imaginary or complex) number.
Verify your formula inputs to confirm if the base number is negative and the exponent is a decimal or fraction (like 0.5 for a square root). Spreadsheet software requires specific engineering functions to handle non-real results.
Use IMSQRT or IMPOWER for Complex Numbers
If you intentionally need to calculate the root of a negative number, use the built-in engineering functions designed specifically for complex numbers.
In mathematics, taking the square root (or any even fractional power) of a negative number produces an imaginary result. Standard functions like POWER are restricted to real numbers, which is why they return a #NUM! error.
Click on the cell where you want the calculated result to appear.
To find the square root of a negative number, type =IMSQRT(cell_reference). For example, input =IMSQRT(-12) and press Enter.
For other fractional exponents, use the IMPOWER function by typing =IMPOWER(base, exponent), such as =IMPOWER(-12, 0.5), and press Enter.

Convert the Base to a Positive Number Using ABS
If the negative sign in your base data is a data entry error or you only care about the absolute magnitude, you can wrap the base in the ABS function.
Calculate Complex Math Functions in WPS Office
WPS Spreadsheet fully supports advanced mathematical and engineering functions, including POWER, IMSQRT, and IMPOWER, making complex calculations simple and error-free.
- 1. Open WPS Spreadsheet: Launch WPS Office and open your workbook in the Spreadsheet module.
- 2. Access the function library: Navigate to the Formulas tab on the top ribbon and click on 'Insert Function'.
- 3. Search and apply IMPOWER: Search for the 'IMPOWER' function in the dialog box, input your negative base and exponent values, and click OK.

Frequently Asked Questions
Why does =POWER(-9, 0.5) return a #NUM! error?
The exponent 0.5 is mathematically equivalent to taking a square root. In real-number mathematics, you cannot take the square root of a negative number. Excel returns a #NUM! error to indicate that this calculation would result in an imaginary number, which standard math functions cannot process.
Can I use the caret (^) operator instead of the POWER function?
Using the caret operator (e.g., =-12^0.5) will result in the exact same #NUM! error as the POWER function when calculating the fractional power of a negative number. To handle these calculations, you must use engineering functions like IMSQRT or IMPOWER.
How do I calculate the cube root of a negative number without getting an error?
Although a cube root of a negative number has a valid real solution, using =POWER(A1, 1/3) with a negative base might still return an error depending on the application's math engine. To fix this reliably, calculate the positive root and apply the negative sign manually: type =-POWER(ABS(A1), 1/3).




