This Excel tutorial explains how to use the Excel SQRT function with syntax and examples.
The Microsoft Excel SQRT function returns the square root of a number.
The syntax for the SQRT function in Microsoft Excel is:
SQRT( number )
Note: If a negative number is entered in the number parameter, the SQRT function will return the #NUM! error.
The SQRT function can be used in the following versions of Microsoft Excel:
The SQRT function can be used in Microsoft Excel as the following type of function:
The SQRT function can only be used as a worksheet function in Microsoft Excel. If you need to calculate the square root in Excel VBA code, try the SQR function.
Let's look at some Excel SQRT function examples and explore how to use the SQRT function as a worksheet function in Microsoft Excel:
Based on the Excel spreadsheet above, the following SQRT examples would return:
=SQRT(A1) Result: 5 =SQRT(A2) Result: 5.796550698 =SQRT(A3) Result: #NUM! =SQRT(82.6) Result: 9.088454214
(scroll to see more)