Google Sheets
SQRT function in Google Sheets
Returns the positive square root of a positive number.
=SQRT(value)SQRT syntax and parameters
One argument, one required.
- valuenumberRequired
The number for which to calculate the positive square root. value must be positive; if it is negative, SQRT will return the #NUM! error.
SQRT examples
Formulas you'll actually reuse.
The square root of a variance is the standard deviation:
=SQRT(B2)Result
12.5The hypotenuse — straight-line distance from two legs:
=SQRT(B2^2 + C2^2)Result
5
SQRT in Excel
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.
Related functions
More ways Google Sheets gets this done.
- ABSReturns the absolute value of a number.MathExcel
- ACOSReturns the inverse cosine of a value, in radians.MathExcel
- ACOSHReturns the inverse hyperbolic cosine of a number.MathExcel
- ACOTReturns the inverse cotangent of a value, in radians. .MathExcel
- ACOTHReturns the inverse hyperbolic cotangent of a value, in radians. Must not be between -1 and 1, inclusive..MathExcel
- ASINReturns the inverse sine of a value, in radians.MathExcel