Excel Square Root Function: How to Calculate Roots
In this article
To find the square root of a number in Excel, use the SQRT function by typing =SQRT(number) into a cell, or use the power operator by typing =number^(1/2). These methods allow you to calculate the square root of a static number, a cell reference, or a complex mathematical expression.
What You'll Need
- A computer with Microsoft Excel installed (works on Windows, macOS, and Web versions).
- A dataset or a specific number you wish to calculate the root for.
Step-by-Step
- Open your Excel workbook and select the cell where you want the result to appear.
- Choose your method: Depending on your preference, you can use the built-in function or a mathematical formula.
- Using the SQRT Function:
- Type
=SQRT(into the cell. - Click on the cell containing the number you want to calculate (e.g., cell A1), or type the number directly (e.g.,
=SQRT(64)). - Close the parenthesis
)and press Enter.
- Type
- Using the Power Operator (Alternative):
- Type the equals sign
=. - Click the cell containing your number or type the number.
- Type the caret symbol
^(Shift + 6 on most keyboards). - Type
(1/2)in parentheses. For example:=A1^(1/2). - Press Enter.
- Type the equals sign
- Applying to multiple cells: If you have a column of numbers, click the small green square (fill handle) at the bottom-right corner of the cell containing your formula and drag it down to apply the square root calculation to the rest of the list.
Common Mistakes
- Forgetting the Equals Sign: Excel treats any text that doesn't start with
=as a label. If you typeSQRT(64)without the equals sign, Excel will simply display that text instead of calculating the result. - Using the Wrong Parentheses: Ensure you close the parenthesis at the end of the SQRT function. While Excel often auto-corrects this, it can lead to errors in more complex nested formulas.
- Applying to Negative Numbers: The SQRT function cannot calculate the square root of a negative number because the result would be an imaginary number. Doing so will result in a
#NUM!error. - Incorrect Caret Usage: When using the power method, failing to put
1/2in parentheses (e.g.,=A1^1/2) may lead to the wrong order of operations, where Excel divides the result ofA1^1by 2.
Tips
- Combine with ABS: If your dataset contains negative numbers and you want the square root of the absolute value, wrap your cell reference in the ABS function:
=SQRT(ABS(A1)). - Calculating Other Roots: The SQRT function only works for square roots. To find a cube root or any other nth root, use the power operator. For a cube root, use
=A1^(1/3); for a fourth root, use=A1^(1/4). - Formatting Results: If your result has too many decimal places, use the Decrease Decimal button in the Home tab under the Number group to clean up the view.
Troubleshooting
If your formula is not working as expected, try these steps in order:
- Check for #NUM! errors: This almost always means you are trying to find the square root of a negative number. Check your source data for minus signs.
- Check for #VALUE! errors: This occurs if the cell you are referencing contains text instead of a number. Ensure the source cell is formatted as a "Number" or "General" and contains no letters or symbols.
- Verify the Caret Symbol: If the power method isn't working, ensure you are using the
^symbol and not a similar-looking character. - Check Cell Formatting: If the formula appears as text (e.g., you see
=SQRT(64)in the cell instead of8), the cell may be formatted as "Text". Change the cell format to "General" via the Home tab, then double-click the cell and press Enter to trigger the calculation.
Frequently Asked Questions
Can I find the square root without a formula?
No, Excel does not have a "Square Root" button in the ribbon like it has for Bold or Italic. You must use either the SQRT function or the power operator formula.
What is the difference between SQRT and the power operator?
The SQRT function is a dedicated tool specifically for square roots. The power operator (^) is a general mathematical tool that can calculate any root (cube, fourth, etc.) or any exponent.
How do I square root a number that is the result of another formula?
You can nest the functions. For example, if you want the square root of the sum of two cells, use =SQRT(A1+B1).
Does the SQRT function work in Google Sheets?
Yes, the SQRT function and the power operator ^(1/2) work identically in Google Sheets as they do in Microsoft Excel.
Why does my square root result look like 8.0000000001?
This is due to floating-point precision in computer binary math. You can resolve this by using the =ROUND(SQRT(A1), 2) function to limit the result to two decimal places.