Excel function

SQRTfunction

Returns the positive square root of a number.

All versions
=SQRT(A2)
A
B
1
2
3
4
5
6
7

Click a cell in the table to change number. Click a negative value (-2.5 or -7.89) to get #NUM!. Try breaking it on purpose to see the errors.

Result

1.7724531023

number
A2You can also click a cell in the table

The cell with the number to calculate. Click another value in the table.

What is the SQRT function?

=SQRT(number)

SQRT returns the positive square root of a number: the positive number that gives the original when multiplied by itself.

Negative numbers have no square root and return #NUM!. Click a value in column A; column B shows the same formula copied down.

SQRT often works backward from an area to a length: the side of a square from its area, the radius of a circle from its area, or a diagonal from two sides (the Pythagorean theorem). In statistics the standard deviation is the square root of the variance, so SQRT also brings a variance back to the original units.

Arguments

number
The number or cell.

SQRT examples

  1. Example 1. Square root

    =SQRT(16)

    4.

  2. Example 2. Handling negatives

    =SQRT(ABS(-16))

    Remove the sign with ABS first: 4.

  3. Example 3. Same as POWER

    =POWER(16, 0.5)

    Raising to 0.5 is also a square root.

  4. Example 4. Diagonal of a sheet

    =SQRT(A2^2+B2^2)

    The diagonal of a rectangle with width A2 and height B2. A 4 × 8 ft sheet (48 × 96 in) has a diagonal of about 107.3 in, which is how you check that a layout is square.

    Width A2Height B2Diagonal
    345
    4896about 107.3
    10001000about 1414.2
  5. Example 5. Radius from a circle area

    =SQRT(A2/PI())

    An area of 100 cm² gives a radius of about 5.64 cm.

Common mistakes

FAQ

Squares?
Use =A2^2 or POWER(A2,2).
Pythagoras
The hypotenuse is =SQRT(A2^2+B2^2).
Square root of a number times π?
SQRTPI(A2) is the same as SQRT(A2*PI()).