excel functions

MS Excel: SQRT Function (WS)

This Excel tutorial explains how to use the Excel SQRT function with syntax and examples.

Description

The Microsoft Excel SQRT function returns the square root of a number.

Syntax

The syntax for the Microsoft Excel SQRT function is:

SQRT( number )

Parameters or Arguments

number
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 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:

=SQRT(A1)
Result: 5

=SQRT(A2)
Result: 5.796550698

=SQRT(A3)
Result: #NUM!

=SQRT(82.6)
Result: 9.088454214
Share: