Google Sheets SQRT Function: How to Use It
In this article
The SQRT function in Google Sheets returns the positive square root of a non-negative number. To use it, click an empty cell, type =SQRT(, enter a number or a cell reference, close the parenthesis, and press Enter. For example, =SQRT(81) returns 9, and =SQRT(A2) returns the square root of whatever number is in cell A2. That is the whole answer; the rest of this guide covers how to apply it reliably, what it rejects, and how to fix the common errors.
What You'll Need
- A Google account with access to Google Sheets (the free web version at sheets.google.com or the Google Sheets mobile app).
- A spreadsheet open, or permission to create a new one.
- A non-negative number to work with. SQRT does not accept negative values, so if your data includes negatives you will need to handle those separately (explained below).
No add-ons, extensions, or paid features are required. SQRT is a built-in function available in every version of Sheets.
Step-by-Step
- Open your spreadsheet. Go to sheets.google.com, sign in, and open an existing file or create a blank one with File > New > Spreadsheet. On the mobile app, tap the plus button and choose Spreadsheet.
- Select the cell where you want the result. Click or tap an empty cell. This is where the square root will appear.
- Start the formula. Type an equals sign
=followed bySQRT(. In Google Sheets, function names are not case-sensitive, so=sqrt(works the same as=SQRT(. - Enter the number or cell reference. Type a number directly, such as
144, or click the cell that holds the value, such asA2. You can also reference a range only if you wrap it in an array formula; for a single result, use one value. - Close the parenthesis and press Enter. Your formula should look like
=SQRT(A2)or=SQRT(144). Press Enter (or the checkmark on mobile) to commit it. The cell shows the square root, and the formula bar shows the full formula when the cell is selected. - Copy the formula down if needed. Drag the small blue square at the bottom-right corner of the cell (the fill handle) down the column, or copy the cell and paste it into the cells below. Relative references adjust automatically, so
=SQRT(A2)becomes=SQRT(A3)and so on. - Format the result if you want fewer decimals. Select the result cells and use Format > Number > Number, or the decrease decimal places button in the toolbar. This changes display only; the underlying value keeps full precision.
That is the complete workflow. The function takes exactly one argument, so there is no second parameter to worry about.
Common Mistakes
- Feeding it a negative number.
=SQRT(-9)returns#NUM!because the square root of a negative number is not a real number. If your data can contain negatives, decide what you want to happen first (see Tips). - Referencing text instead of a number. If the referenced cell contains text, even a number stored as text, SQRT returns
#VALUE!. Check that the cell is formatted as a number or useVALUE()to convert it. - Leaving the parenthesis open. Typing
=SQRT(A2and pressing Enter produces a formula parse error. Sheets usually offers to add the missing parenthesis, but not always. - Using a comma between arguments. SQRT takes one argument, so
=SQRT(A2, B2)is wrong and returns an error. Remove the extra argument. - Expecting an array result from a plain range.
=SQRT(A2:A10)in a normal cell may spill or error depending on context. To fill a column reliably, either copy the single-cell formula down or use=ARRAYFORMULA(SQRT(A2:A10)). - Confusing SQRT with SQRTPI.
SQRTPIreturns the square root of a number multiplied by pi. If you only want the plain square root, use SQRT.
Tips
- Handle negatives with IF or ABS. To avoid
#NUM!, use=IF(A2>=0, SQRT(A2), "n/a")to show a label instead of an error, or=SQRT(ABS(A2))if you genuinely want the root of the absolute value. Choose deliberately; silently converting negatives can hide data problems. - Use SQRT for standard deviation and geometry. It pairs naturally with variance calculations and distance formulas, for example
=SQRT((B2-A2)^2 + (D2-C2)^2)for the distance between two points. - Prefer cell references over hard-coded numbers. A formula like
=SQRT(A2)updates automatically when the source value changes, which is the main advantage of doing this in a spreadsheet. - Combine with ROUND for clean output.
=ROUND(SQRT(A2), 2)gives two decimal places without changing the source data. - Check for hidden spaces. Numbers imported from other systems sometimes carry leading or trailing spaces.
TRIM()can clean them before SQRT sees the value.
Troubleshooting
If the formula does not work, work through these checks in order.
- Read the error code.
#NUM!means a negative input.#VALUE!means the argument is text or an empty cell that Sheets cannot interpret as a number. A formula parse error usually means a missing parenthesis or a stray character. - Click the cell and inspect the formula bar. Confirm the formula starts with
=, the function name is spelledSQRT, and there is exactly one argument inside the parentheses. - Test with a literal number. Replace the reference with a known value, such as
=SQRT(100). If that returns 10, the function itself is fine and the problem is in the referenced cell. - Check the source cell's type. Select it and look at the format. If it is set to Plain text, change it to Number via Format > Number. If the value still will not calculate, retype it manually to remove hidden characters.
- Look for merged cells or protected ranges. A merged cell can prevent a formula from spilling, and a protected range blocks edits. Unmerge or request edit access from the file owner.
- Reload the sheet. Refresh the browser tab or close and reopen the mobile app. This clears most temporary calculation glitches.
If none of that resolves it, copy the formula text into a fresh blank spreadsheet with a single test value. If it works there, the issue is with the original sheet's data or formatting, not with SQRT.
Frequently Asked Questions
What does SQRT do in Google Sheets?
It returns the positive square root of a non-negative number. =SQRT(49) returns 7. It accepts one argument: a number or a reference to a cell containing a number.
Why does SQRT return #NUM!?
The input is negative. Real square roots of negative numbers do not exist, so Sheets flags it. Use an IF check or ABS if you need to handle negatives, but decide intentionally what the result should mean.
Can I take the square root of an entire column at once?
Yes, with an array formula: =ARRAYFORMULA(SQRT(A2:A100)) in a single cell fills the results down. Alternatively, write =SQRT(A2) and drag the fill handle down the column.
Is there a cube root function?
There is no dedicated CUBERT function. Use the exponent operator instead: =A2^(1/3) gives the cube root, and the same pattern works for any root, such as =A2^(1/4) for a fourth root.
Does SQRT work in the Google Sheets mobile app?
Yes. The function is identical on Android and iOS. Type the formula into the formula bar or the cell input area, then tap the checkmark to confirm.
What is the difference between SQRT and POWER?
POWER(A2, 0.5) and A2^0.5 produce the same result as SQRT(A2) for non-negative numbers. SQRT is shorter and clearer when a square root is what you mean; POWER is more flexible when the exponent varies.