Math & trig function

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)
ArgumentWhat it means
numberRequiredThe 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

D2fx=SQRT(B2^2+C2^2)
ABCD
1ScreenWidth (cm)Height (cm)
2Meeting room TV12068137.9

Result: 137.9

Pythagoras: √(120² + 68²) = √19,024 ≈ 137.9 cm, about a 54-inch screen (1 decimal).

2Standard deviation from a variance

C2fx=SQRT(B2)
ABC
1MeasureValue
2Variance of delivery days2.251.5

Result: 1.5

The standard deviation is the square root of the variance: 1.5 days.

3Safety stock for a lead time

B5fx=B2*B3*SQRT(B4)
AB
1InputValue
2Service factor (z)1.65
3Daily demand std dev20
4Lead time (days)9
599

Result: 99

Uncertainty grows with the square root of time: 1.65 × 20 × √9 = 1.65 × 20 × 3 = 99 units.

4Negative input

C2fx=SQRT(B2)
ABC
1ItemValue
2Net change-16#NUM!

Result: #NUM!

A negative number has no real square root. =SQRT(ABS(B2)) returns 4 if only the size matters.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 17 KB

Common errors and how to fix them

ErrorWhy it happensFix
#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.

LanguageFunction name
CzechODMOCNINA
DanishKVROD
DutchWORTEL
FinnishNELIÖJUURI
FrenchRACINE
GermanWURZEL
HungarianGYÖK
ItalianRADQ
Norwegian (Bokmål)ROT
PolishPIERWIASTEK
Portuguese (Brazil)RAIZ
Portuguese (Portugal)RAIZQ
RussianКОРЕНЬ
SpanishRAIZ
SwedishROT
TurkishKAREKÖK