excel functions

MS Excel: SQRT Function (WS)

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 )

Parameters or Arguments

A positive number that you wish to return the square root for.

Note: If a negative number is entered in the number parameter, the SQRT function will return the #NUM! error.

Applies To

The SQRT function can be used in the following versions of Microsoft Excel:

  • Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000

Type of Excel Function

The SQRT function can be used in Microsoft Excel as the following type of function:

  • Worksheet function (WS)

Example (as Worksheet 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:

Microsoft Excel

Based on the Excel spreadsheet above, the following SQRT examples would return:

Result: 5

Result: 5.796550698

Result: #NUM!

Result: 9.088454214