ID EN
#Math

SQRT

Excel Functions

Find the positive square root of a number

Syntax

EXCEL
=SQRT(number)

Arguments

Parameter Description
number The number to get the square root of.

Return Value

Positive square root

Details

The Excel SQRT function returns the square root of a positive number. SQRT returns an error if number is negative. The SQRT function takes one argument, number, which must be a numeric value. If number is not numeric, SQRT returns a #VALUE! error. If number is negative, SQRT returns a #NUM! error. The SQRT function will return a #NUM! error when number is negative: To get the square root of a negative number (as if the number was positive), wrap the number in the ABS function like this:

Examples

Examples
EXCEL
=SQRT(9) // returns 3
=SQRT(81) // returns 9
=SQRT(144) // returns 12
=SQRT(0.25) // returns 0.5
=SQRT(0) // returns 0
Negative numbers

The SQRT function will return a #NUM! error when number is negative:

EXCEL
=SQRT(-9) // returns #NUM!
Negative numbers

To get the square root of a negative number (as if the number was positive), wrap the number in the ABS function like this:

EXCEL
=SQRT(ABS(-9)) // returns 3

See Also

POWER