SQRT function
Returns the positive square root of a number.
Available in All versions of Excel, Excel for the web, Excel for Mac
In every Excel versionWorks in Google Sheets
Syntax
SQRT(number)| Argument | What it means | |
|---|---|---|
number | Required | The value to take the square root of. Must be 0 or positive. |
Returns: The positive square root.
How SQRT works
SQRT finds the number that, multiplied by itself, gives your value: =SQRT(2.25) is 1.5. Square roots appear in geometry (the diagonal of a screen, room or ramp via Pythagoras), in statistics (a standard deviation is the square root of a variance), in finance (volatility scales with the square root of time) and in inventory planning (safety stock and the economic order quantity both use roots).
SQRT only accepts zero or positive numbers; a negative argument returns #NUM!. If the sign does not matter use SQRT(ABS(x)). For other roots use POWER with a fractional exponent, and for √(x·π) there is the specialised SQRTPI.
Examples
1Diagonal of a TV screen
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Screen | Width (cm) | Height (cm) | |
| 2 | Meeting room TV | 120 | 68 | 137.9 |
Result: 137.9
Pythagoras: √(120² + 68²) = √19,024 ≈ 137.9 cm, about a 54-inch screen (1 decimal).
2Standard deviation from a variance
| A | B | C | |
|---|---|---|---|
| 1 | Measure | Value | |
| 2 | Variance of delivery days | 2.25 | 1.5 |
Result: 1.5
The standard deviation is the square root of the variance: 1.5 days.
3Safety stock for a lead time
| A | B | |
|---|---|---|
| 1 | Input | Value |
| 2 | Service factor (z) | 1.65 |
| 3 | Daily demand std dev | 20 |
| 4 | Lead time (days) | 9 |
| 5 | 99 |
Result: 99
Uncertainty grows with the square root of time: 1.65 × 20 × √9 = 1.65 × 20 × 3 = 99 units.
4Negative input
| A | B | C | |
|---|---|---|---|
| 1 | Item | Value | |
| 2 | Net change | -16 | #NUM! |
Result: #NUM!
A negative number has no real square root. =SQRT(ABS(B2)) returns 4 if only the size matters.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | The number is negative. | Use SQRT(ABS(x)) or check the data. |
#VALUE! | The argument is text. | Check the input. |
Tips
- Economic order quantity:
=SQRT(2*annual_demand*order_cost/holding_cost). - Annual volatility from daily:
=daily_sd*SQRT(252).
Questions
How do I calculate other roots?
Use =POWER(x, 1/n) or =x^(1/n), e.g. 1/3 for a cube root.
Why does SQRT return #NUM!?
The argument is negative. Excel's SQRT works only with real numbers; use IMSQRT for complex results.
Google Sheets
SQRT also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
SQRT in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Czech | ODMOCNINA |
| Danish | KVROD |
| Dutch | WORTEL |
| Finnish | NELIÖJUURI |
| French | RACINE |
| German | WURZEL |
| Hungarian | GYÖK |
| Italian | RADQ |
| Norwegian (Bokmål) | ROT |
| Polish | PIERWIASTEK |
| Portuguese (Brazil) | RAIZ |
| Portuguese (Portugal) | RAIZQ |
| Russian | КОРЕНЬ |
| Spanish | RAIZ |
| Swedish | ROT |
| Turkish | KAREKÖK |