# MS Excel: SQRT Function (WS)

Learn 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* is 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)

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 spreadsheet above, the following Excel **SQRT examples** would return:

=SQRT(A1) | would return 5 |

=SQRT(A2) | would return 5.796550698 |

=SQRT(A3) | would return #NUM! |

=SQRT(82.6) | would return 9.088454214 |