Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Calculate Square Root in Excel

· 8 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To calculate a square root in Excel, type =SQRT(25) into a cell and press Enter — that returns 5. For a square root in a cell reference, use =SQRT(A1). That single function covers every normal case, and Excel has two solid fallbacks (the ^ operator and POWER) plus a few formatting and error habits worth knowing before you drag the formula down a column. What follows is the straight path, the caveats, and the fixes for the errors people actually hit.

What You'll Need

  • Excel for Windows, Excel for Mac, Excel on the web, or Excel for mobile — the functions below behave the same across all of them.
  • A number to work with: typed directly into the formula, sitting in a cell, or the result of another calculation.
  • Optional: a header row so you know which column holds your inputs and which holds your results.
  • Optional: a column of test numbers, including a zero and a negative, so you can see how the function handles edge cases.

Step-by-Step

  1. Set up your data. Put your numbers in a column, say A2:A10, and label the neighbouring column B1 something like "Square Root". Keeping inputs and outputs separate makes it obvious what is original data and what is calculated, which matters if you later sort or paste values over the sheet.

  2. Start the formula in the first result cell. Click B2 and type an equals sign. Every formula in Excel begins with =; without it, Excel treats SQRT(A2) as text and shows nothing useful.

  3. Type the SQRT function. Continue with SQRT(. As you type, Excel's formula suggestions appear below the cell — you can select SQRT from that list or keep typing. Then point at the input cell with the mouse or type its address, close the bracket, and press Enter. The finished formula reads =SQRT(A2).

  4. Check the first result by hand. Before filling the rest of the column, confirm the number is what you expect. The square root of 9 should be 3, of 16 should be 4, of 2 should be roughly 1.414. One manual check catches a wrong cell reference or a reversed range before it spreads down 500 rows.

  5. Fill the formula down. Select B2, grab the small square handle at the bottom-right corner of the cell (the fill handle), and drag down to B10 — or double-click the handle and Excel fills the column to match the length of the data beside it. The cell reference adjusts automatically, so B3 holds =SQRT(A3), B4 holds =SQRT(A4), and so on.

  6. Use the caret alternative if you prefer. The same result comes from =A2^(1/2). The caret raises a number to a power, and the power one-half is exactly the square root. This form is handy when you are already writing exponent formulas and want consistency, and it matters for negatives (see the tips and mistakes below).

  7. Or use POWER for a more readable option. =POWER(A2,0.5) does the same job with a named function, so anyone reading the sheet sees the intent spelled out. It takes two arguments separated by a comma: the number, then the power. On locales that use a semicolon as the list separator, Excel will expect =POWER(A2;0,5) instead — the app usually converts this for you if you type the formula by pointing and clicking.

  8. Apply an exact square root where a precise answer exists. For perfect squares, one of these formulas is exact within Excel's precision limits. For values that are not perfect squares, Excel returns a floating-point approximation (the square root of 2 as 1.414213562…). If you need a rounded answer for a report, wrap the formula: =ROUND(SQRT(A2),2) gives two decimal places without changing the underlying calculation, and it keeps the display tidy without hiding the real value from anyone who clicks the cell.

  9. Format the output column. Select the results and use the number format controls on the Home tab to set decimal places, or press Ctrl+1 (Cmd+1 on Mac) to open Format Cells and choose Number. Formatting changes only what you see; the stored value keeps full precision.

  10. Turn the formulas into values if the sheet will be shared. If other people will open the file and you want the numbers frozen, copy the result column, then use Paste Special and choose Values. This replaces the formulas with plain numbers, so changing the inputs later will not change the results. Keep a copy of the original file first, because this cannot be undone after you save.

If that did not work

If the cell shows the formula text instead of a result, the cell is probably formatted as Text — set it to General, then re-enter the formula. If you see #VALUE!, the referenced cell contains text or a stray space rather than a number. If #NAME? appears, the function name is misspelled or the formula was typed outside Excel's function syntax; retype it as =SQRT( and let the suggestion list help.

Common Mistakes

  • Feeding SQRT a negative number. =SQRT(-9) returns #NUM! because there is no real square root of a negative. If your data legitimately includes negatives, use =SQRT(ABS(A2)) to take the root of the absolute value, or =IF(A2<0,"n/a",SQRT(A2)) to flag them explicitly. Decide which one is right for your data rather than silently discarding the sign.
  • Forgetting the parentheses in the caret method. =-9^(1/2) evaluates as the negative of the square root of 9, not the root of negative 9. Exponent precedence catches people out; bracket the whole base if you mean it: =(-9)^(1/2).
  • Using 1/2 in a cell reference by mistake. If you type =A2^1/2 without brackets, Excel calculates A2 to the power 1, then divides by 2. The result is half your number, not its root. Always bracket the exponent: =A2^(1/2).
  • Copying a formula without locking the reference. If you copy a formula sideways that should always point at one particular cell, it will shift. Use $ to anchor it, as in =$A$2, before filling.
  • Rounding too early. Rounding a square root and then using the rounded figure in further formulas compounds the error. Keep the full-precision formula and round only in the final display cell.

Tips

  • Name your inputs. Select an input cell and give it a name in the Name Box to the left of the formula bar. Then =SQRT(Area) reads far better than =SQRT($C$17), and it is easier to audit months later.
  • Keep a check column. A quick =B2^2 beside each result should return the original input, within rounding. If it does not, you have a reference error hiding somewhere.
  • Array-entry makes bulk work fast. In modern Excel, entering =SQRT(A2:A10) in one cell and confirming spills the whole result set down the column. Older versions need the range selected and Ctrl+Shift+Enter; the braces around the formula confirm it took.
  • Mobile is the same function, different keys. In the Excel app, tap the cell, open the formula bar, and type the same =SQRT( syntax. The function list is available from the formula tools rather than the keyboard.
  • Labels and saved-file behaviour vary. Menu names and ribbon positions differ slightly between Windows, Mac, the web version and older releases, so look for the closest match rather than the exact wording.
  • For cube roots and beyond, there is no CUBERT function; use the caret with a fraction, such as =A2^(1/3). Put the fraction in brackets every time.

Troubleshooting

  • Result is 0 unexpectedly. Check whether the source cell is genuinely zero or holds a formula that evaluates to zero. A blank cell referenced by SQRT also returns 0, which can look like a real answer.
  • Result column shows all the same number. You likely copied the first formula as a value, or locked the reference with $ when you did not mean to. Re-enter the formula in the first cell without dollar signs and fill down again.
  • The error is intermittent down the column. Sort or filter your data to bring the error cells together, then inspect their inputs. Text, blanks and negatives are the three usual culprits, and each throws a different error.
  • Formula bar shows the formula but the cell shows nothing. The font colour is probably white on white, or the column is too narrow. Widen it and check the font colour before assuming the formula is broken.
  • Everything broke after a paste. Use Ctrl+Z immediately to undo. If the file was saved, reopen a backup copy rather than patching the damaged sheet by hand.

Frequently Asked Questions

Why does SQRT return #NUM!?

Because the input is negative. Real square roots of negatives do not exist, so Excel errors rather than returning an imaginary number. Use ABS to strip the sign first, or flag negatives with IF.

Can I calculate a square root without any function?

Yes. The caret operator with a half-power, as in =A2^(1/2), or =POWER(A2,0.5), both return the same result as SQRT.

Does SQRT work on text that looks like a number?

Not directly. A value such as "25" typed as text causes #VALUE!. Convert the column to numbers, or wrap the reference in VALUE, and the formula will calculate.

How do I get the square root of a whole column at once?

In current Excel, enter the formula against the first cell of the range and let it spill, or fill the formula down with the fill handle. Either way each row calculates its own value.

Is there a cube root function in Excel?

No dedicated function exists. Use =A2^(1/3) and keep the fraction in brackets so the order of operations works out.

Can I round the result?

Yes. Wrap the formula in ROUND, for example =ROUND(SQRT(A2),2), and the cell returns the value to two decimal places while the underlying data stays precise.