30 Advanced Excel Tips for 2026

Excel Champs / Excel Formulas List / How to Calculate SQUARE ROOT in Excel + Insert Symbol
By Puneet Gogia (Microsoft MVP)

How to Calculate SQUARE ROOT in Excel + Insert Symbol

30+ Advanced Excel Tips for 2026

No spam. Only Excel Stuff. God Promise. 😊

To calculate a square root, use =SQRT(A1) — it returns 25 for 625. You can also use =POWER(A1,1/2) or the shorter =A1^(1/2), which give the same answer; the exponent version is the flexible one, since changing the fraction gets you any root you like (^(1/3) for cube root, ^(1/4) for fourth).

Negative numbers return #NUM! with all three, because there’s no real square root of a negative — if you want the root of the number’s magnitude, use =SQRT(ABS(A1)). To display the √ symbol alongside the result without turning it into text, don’t type the character in: select the cells, press Ctrl+1, choose Custom, and enter √General. That keeps the value a real number you can still calculate with.

Excel is like a Swiss army knife for calculations. From mathematical to financial, it’s for every single thing you need to calculate. You can calculate simple to most complex things in Excel.

Take an example of a SQUARE ROOT. A square root is quite a common calculation that we do in our day-to-day work, and in Excel, you can calculate it with ease.

You know what?

I have found that there are five different ways to calculate a square root in Excel. Yes, five different methods, which you can use in different situations. 

And today in this post, I’d like to share with you these five simple methods to find a square root of a number in Excel. So let’s learn this thing.

What’s a SQUARE Root?

Before we learn to calculate it, it’s important to understand what it really means, and how we calculate it normally.

Calculating a square root is the inverse of squaring: it takes you from a square back to its root.

So when you calculate the square of 10 by multiplying it by itself, that’s (10 * 10 = 100). Then, the square root means coming back from 100 to 10.

how to calculate square root in excel

You can learn more about it from Wikipedia. But now, let’s learn how we can do this in Excel.

As I said, we can use 5 different ways for the calculation of square root according to the need or personal preference.

Not all methods are the same, but all of them are useful.

(1) Use SQRT Function to find the SQUARE Root of a Number

If you need to use only one method for calculating square root, the SQRT function is that one. It’s a specific function to do this.

You just simply need to refer to a cell or specify a number.

SQRT’s Syntax: Where the number is the number or cell reference which contains the number for which you want to find the square root.

SQRT(number)

Examples:

In the below example, we have the number 625 in cell A1. So, to calculate the square root for this we can insert the below formula (Formula Bar) into B1.

=SQRT(A1)
combining sqrt with abs to calculate square root for a negative

The value it has returned is 25, which is the square root of 625. As you see, SQRT is simple to use and easy to apply.

If you have a negative number like below, then it will return a #NUM! error.

error while calculating square root in excel with negative number

So the solution to this problem is to use the ABS function along with SQRT. Here’s an example:

=SQRT(ABS(A1))
using sqrt function to calculate square root in excel

When we use ABS, it converts a number into an absolute number. That means it converts a negative number into a positive one.

Just keep in mind that this gives you the square root of the positive number (4 for -16), not the real square root of a negative number, which doesn’t exist as a regular number. If you work with complex numbers, use IMSQRT, which returns 4i for -16. And if you only want to avoid the error, show a message instead:

=IFERROR(SQRT(A1),"Negative number")

(2) Calculate the SQUARE Root of a Number Using the POWER Function

Another way to calculate a square root is by using the POWER function. The POWER function has more power than SQRT, as it returns the result of a number raised to any given power.

POWER’s Syntax:

POWER(number, power)

Where the number is the number or cell’s reference which contains the number for which you want to find the square root and power is the exponent to raise the number to.

Let’s say we need to find the square root of a number from cell A1 (that’s 625); then we can use 1/2 as the power argument in this function.

And the formula would be:

=POWER(A1,1/2)
use power function to calculate square root of a number in excel

As you see, it returns 25 in the result, which is the square root of 625.

(3) Apply an Exponent Formula to Get the SQUARE root of a Number

If we need to insert a simple formula (other than the above two methods) to calculate a square root, then we can use a simple formula using the exponent operator.

This formula is just like POWER. The only difference is that instead of the function, we need to use an exponent operator.

=A1^(1/2)
using an exponent operator formula to get square root in excel

In the above formula, A1 is the cell where we have a number for which we need to find the square root, and then we used an exponent operator and then (1/2) for the power.

Don’t skip the brackets around 1/2. Excel calculates the exponent before the division, so the formula below raises A1 to the power of 1 and then divides it by 2, which gives 312.5 for 625 instead of 25:

=A1^1/2

So always write it as A1^(1/2).

The best benefit of this formula is its application. Apart from the square root, we can use it to calculate the cube root or any nth root, like this formula for the cube root:

=A1^(1/3)

Change 3 to any number to get that root.

(4) VBA Code to Show the SQUARE Root of a Number

Let me tell you about a different scenario where we need to check the square root of a number instead of calculating it in a cell.

Code-1

Below is a VBA code that returns the square root when we select a cell and run this code.

Sub getSquareRoot()
Dim rng As Range
Dim sqr As Double
If Application.Selection.Cells.Count > 1 Then
MsgBox "Please select only one cell", vbOKOnly, "Error"
Exit Sub
End If
Set rng = ActiveCell
If IsNumeric(rng) = True Then
sqr = rng ^ (1 / 2)
MsgBox "The Square Root of " & rng & " is " & sqr, vbOKOnly, "Square Root Value"
Else
MsgBox "Please select a numeric value", vbOKOnly, "Error"
End If
End Sub

How this code works

When we run this code, it verifies the value in the selected cell and if that value is a number then it calculates the square root of that number and shows it using a message box. One thing you need to take care of: if you select more than one cell, this code shows an error message and stops. A negative number in the cell gives a run-time error, as VBA can’t calculate its square root.

Code-2

By using the below code, we can get the square root of a number without having the actual number in a cell.

Sub getSquareRoot()
Dim sq As Variant
Dim sqr As Double
sq = InputBox("Enter the value to calculate square root", "Calculate Square Root")
If IsNumeric(sq) = True Then
sqr = sq ^ (1 / 2)
MsgBox "The Square Root of " & sq & " is " & sqr, vbOKOnly, "Square Root Value"
Else
MsgBox "Please enter a number.", vbOKOnly, "Error"
End If
End Sub

How this Code Works

When we run this code, it shows us an input box asking for the number for which we need to get the square root.

And when we enter that number, it calculates the square root for that number and shows a message box with the square root. You can use whichever of the above codes is perfect for you.

In both codes, the result is stored in a Double, so you get the decimals as well (3.16227766016838 for 10). VBA also has its own function for this, Sqr, so rng ^ (1 / 2) and Sqr(rng) give the same result.

(5) Using Power Query to Convert Numbers into SQUARE Roots

Here’s another way that we can use if you need to convert multiple numbers into their square roots.

That’s Power Query.

Below we have a table where we have a few numbers and here we want to get the square root of these numbers in one go.

a simple table to calculate square roots in excel using power query

Note: Using Power Query for square roots is a dynamic method: every time you enter a new value in your table and refresh, it returns the square root of that number.

  • First of all, select any cell from the table and go to Data Tab ➜ Get & Transform Data and click on From Table/Range.
select any cell from the table to calculate square root in excel using power query
  • Once you click on it, Excel opens the Power Query Editor and adds that table to it.
  • From here, we need to create a new column with square root values, and for this, go to the Add Column tab and click on Custom Column.
click on custom column to add a column to find square root of numbers in excel
  • At this point, we have a Custom Column window opened and in this window, we need to add the following:
    • First of all, enter the column name “Square Root” in the column name input box.
    • After that, enter (=Number.Sqrt([Numbers])) in the custom column formula input box and click OK.
enter column values create a new column to calculate square roots of numbers in excel using power query
  • Now we have a new column with the square roots of the numbers we have in the first column.
newly added column with square root values in excel using power query
  • From here, you need to delete the first column of the original values. So, right-click on it and click remove.
click remove to load table to worksheet to get square root in excel using power query
  • After that, go to the Home tab and click on Close & Load To.
click close and load to get square root data into existing worksheet using power query in excel
  • Here you get a window to load data. First of all, select the existing worksheet and add range B1. Second, tick mark “Add to the Data Model”. 
window to add square root data into existing worksheet using power query in excel

As I said, this table is dynamic. When you enter a new value in the original data table it calculates its square root automatically in your new table when you refresh it. And, we are not using any type of formula here.

(6) How to Add SQUARE Root Symbol in Excel (Bonus Tip)

Once you calculate a square root from a number, the next thing you can do is add a square root symbol. And for this, we have two different ways which we can use.

Using a Shortcut Key

A simple way to add a square root symbol is the shortcut key and the shortcut is Alt + 251. You need to hold down the Alt key as you type 251 on the numeric keypad, and once you release the Alt key, the symbol appears.

If you don’t have a numeric keypad, use the UNICHAR function, which returns the √ symbol, and join it with the number:

=UNICHAR(8730)&A1

Add a SQUARE Root Symbol by Applying Custom Formatting

This is the most effective way to add a symbol. All you need to do is, select all the cells, open the custom formatting option, and add formatting into the formatting input bar.

√General

add square root symbol in a cell using custom formatting

VBA to Add a Square Symbol

You can also use below VBA code to apply custom formatting to all the cells in the selection.

Sub add_squareroot()
Selection.NumberFormat = ChrW(8730) & "General"
End Sub

Note: The benefit of using the #2 and #3 methods is that you don’t need to add a symbol to all the cells one by one, and the value stays a number. When you type the symbol into a cell (or join it with UNICHAR), the value becomes text and can’t be used further as a number.

Frequently Asked Questions

Why does SQRT return a #VALUE! error?

The cell has text, not a number. This often happens with numbers imported as text or with a space in them. Convert the value into a number first.

How do I square a number in Excel?

Use the exponent operator with 2, which is the opposite of the square root:

=A1^2

Is there a shortcut for the square root formula?

No, but SQRT is the shortest one. You can also type =SQRT( in a cell, click the cell with the number, and press Enter. Excel closes the bracket for you.

Conclusion

If you just want to know the square root of a number then the VBA method is the best, select the cell and run the code. Otherwise, formulas are best if you need to use a square root value in further calculations, and we have three different formulas in this list.

Power Query is a dynamic method and one must give it a try.

Now you tell me one thing.

Which is your favorite method to calculate a square root in Excel?

Share your views with me in the comment section, I’d love to hear from you. And don’t forget to share this list with your friends, I’m sure they will appreciate it.

Puneet Gogia

Written by

Puneet Gogia

Microsoft MVP — Excel · Founder, Excel Champs

Twelve years of teaching Excel, and a decade before that using it as a data analyst. Every tutorial here is written from a file I actually built.

3M+ readers helped
1,000+ tutorials written
Since 2015 teaching Excel

6 thoughts on “How to Calculate SQUARE ROOT in Excel + Insert Symbol”

  1. Hi Puneet,
    I wonder if there’s anyway for us to put “the square root symbol ” in MsgBox ?
    That symbol has unicode name : Square Root, character code : 221A from Unicode(hex).

    Reply
  2. Hi Puneet,

    I haven’t mentioned it, but I enjoy going through your weekly emails to me, which also lead me on to explore so much more on your websites – and then I spend hours tinkering around with my own Excel files and modifying them.

    It’s very satisfying – how I wish I had discovered tutorials like yours many years ago. I am not very good at Excel but the more I explore, the more I like it.

    Thanks a million for helping me to enjoy working with Excel.

    You’re the best.!

    Keep up the good work.

    Reply
  3. Nice one puneet sir, please give info about use of kuttools Sir

    Reply
  4. In power query there is a more direct way to convert numbers to square roots but it does so on the fly whereas your version is more programmatic.

    This is not a criticism, just FYI!

    Reply

Leave a Comment