In Excel: use =SQRT(number) — it returns the positive square root, so =SQRT(144) returns 12. Negative input returns #NUM!.
Syntax
Arguments
| Argument | Description | |
|---|---|---|
number | required | The value to take the square root of. Negative input returns #NUM!. |
Related functions
n = 6 · mean = 14.67
Variance = 17.067
Need it as an auditable file?
Ships inside the linked template — formula-driven, unlocked, audit-ready.
What this does
SQRT returns the positive square root of a number. It errors with #NUM! on negative input rather than returning a complex result, which is why the common defensive form is =SQRT(ABS(A2)) when the sign is known to be noise. In statistics it is the step that turns a variance into a standard deviation, and it appears in distance and standard-error formulas for the same reason. It is equivalent to =POWER(A2, 0.5), but SQRT states the intent plainly. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “sqrt function in excel”. Start on a copy or a tiny sample, keep the affected formula visible, and compare the result with the tool above before you touch the real workbook. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. The point is a calculation you can defend to a CFO or an auditor, but the practical win is that someone else can open the file and understand what happened without asking you.
A worked example
Converting a variance of 18.49 into a standard deviation: =SQRT(18.49) returns 4.3. Standard error from a standard deviation of 12 across 36 observations: =12/SQRT(36) returns 2. Straight-line distance between two points: =SQRT((x2-x1)^2 + (y2-y1)^2). SQRT is the step that converts squared quantities back into the original units, which is why every standard deviation and distance formula ends with it. If there is any chance you will reuse this, drop it into a small template tab right now: a labelled input area on the left and the formula beside it, checked once against the tool above. Next time the same question comes up, the answer is a single paste away instead of a rebuild from memory.
In Google Sheets
Everything above works in Google Sheets too. Excel and Sheets share the formula syntax used here; only the surrounding menus are arranged differently. That portability is deliberate — learn it once and it follows you between the two tools and across Windows and Mac. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. Here is the takeaway for “sqrt function in excel”: copy the answer if you are busy, but if you have a spare few minutes, rebuild the example in Excel yourself with the tool above open beside it. That single pass — type it, run it, watch the result move when you change an input — is what turns a formula you found into a technique you trust. Keep your inputs labelled and referenced, never hard-coded, and the same sheet stays correct and auditable as it grows. Done that way, you will not need to look this up again, and you will be the person others ask.
Common mistakes
- Passing a negative number, which returns
#NUM!— Excel has no real square root for it. - Taking the square root of a sum where each term needed squaring first; the squares go inside the brackets.
- Using SQRT where a different root was meant — a cube root needs
=POWER(A2, 1/3).
Frequently asked questions
Why does SQRT return #NUM!?
The input is negative. Wrap it in ABS if the sign is irrelevant, or fix the upstream calculation if it should not have gone negative.
How do I get a cube root?
SQRT only does square roots. Use =POWER(A2, 1/3) for a cube root, or 1/n for any other.
Is SQRT the same as raising to 0.5?
Yes, =SQRT(A2) equals =POWER(A2, 0.5) and =A2^0.5. SQRT is simply the clearest of the three.
Other ways people ask this
This guide also answers
- excel formula sqrt