Skip to content
Excel

SQRT function in Excel

Returns a positive square root

=SQRT(number)

SQRT syntax and parameters

One argument, one required.

  • numbernumberRequired

    The number for which you want the square root.

SQRT examples

Formulas you'll actually reuse.

  1. The square root of a variance is the standard deviation:

    =SQRT(B2)

    Result12.5

  2. The hypotenuse — straight-line distance from two legs:

    =SQRT(B2^2 + C2^2)

    Result5

SQRT in Google Sheets

Same name — your formula ports as-is.

Try SQRT in the playground

Edit the example — nothing to install.

Preloaded with the SQRT formula from Example 1 — change anything and watch it respond.

Loading the editor…

SQRT errors

What they mean — and the fixes.

  • #NUM!

    The number is negative — wrap it in ABS, or check the sign of the calculation feeding it.