When you are working with complex mathematical formulas in Microsoft Excel, especially in the fields of geometry, physics, or financial standard deviation modeling, you will frequently need to calculate the precise square root of a number. While you could technically use the standard POWER function and raise the number to the power of one-half, that formula is clunky and difficult to read. For clean, direct square root calculations, you must use Excel’s dedicated SQRT function.
How the SQRT Function Works
The SQRT (Square Root) function does exactly what its name implies: it takes a single positive number and calculates its exact mathematical square root. It is a highly optimized, single-argument function.
The syntax requires only one argument: =SQRT(number)
The number argument can be a raw number typed directly into the formula, or a reference to another cell containing the value you wish to calculate.
How to Calculate a Square Root
Imagine cell A2 contains the number 144. You are calculating the dimensions of a perfectly square room, and you need to find the length of a single wall based on the total area.
Click into cell B2 and type:
=SQRT(A2)
Excel evaluates the formula and instantly outputs the result: 12.
If you prefer not to use cell references, you can perform the math directly inside the cell by typing =SQRT(144), which will yield the exact same result.
Dealing with Negative Numbers and Errors
A fundamental rule of mathematics is that you cannot calculate the square root of a negative number (without venturing into complex, imaginary numbers, which the standard SQRT function cannot handle).
If cell A2 contains the number -144, and you attempt to run =SQRT(A2), Excel will immediately crash the calculation and output a stark #NUM! error in the cell. This indicates that the mathematical operation is impossible.
If you are working with a dataset that contains negative numbers, but you simply need the absolute magnitude of the square root (ignoring the negative sign), you must wrap the target cell in the ABS (Absolute Value) function before calculating the root.
=SQRT(ABS(A2))
This combined formula forces the -144 to become a positive 144 before feeding it into the square root engine, allowing the calculation to process smoothly and output 12 without triggering an error.