---
title: "SQRT function in Excel: syntax and examples | PracticeExcel"
description: "How to use SQRT in Excel and Google Sheets: square roots, the distance between two points and how to avoid the #NUM! error."
canonical_url: "https://practiceexcelonline.com/functions/sqrt"
locale: en
meta:
  "og:description": "How to use SQRT in Excel and Google Sheets: square roots, the distance between two points and how to avoid the #NUM! error."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~U1FSVCBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBTUVJUIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiBzcXVhcmUgcm9vdHMsIHRoZSBkaXN0YW5jZSBiZXR3ZWVuIHR3byBwb2ludHMgYW5kIGhvdyB0byBhdm9pZCB0aGUgI05VTSEgZXJyb3Iu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_SQRT(number)%2Cp_Ii9mdW5jdGlvbnMvc3FydCI%2Cs_hQtrtRkfhg551ikr.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "SQRT function in Excel: syntax and examples | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~U1FSVCBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBTUVJUIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiBzcXVhcmUgcm9vdHMsIHRoZSBkaXN0YW5jZSBiZXR3ZWVuIHR3byBwb2ludHMgYW5kIGhvdyB0byBhdm9pZCB0aGUgI05VTSEgZXJyb3Iu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_SQRT(number)%2Cp_Ii9mdW5jdGlvbnMvc3FydCI%2Cs_hQtrtRkfhg551ikr.png"
---

> Index of every page on this site: [llms.txt](https://practiceexcelonline.com/llms.txt)

# **The SQRT function**

Returns the square root of a number. A negative number gives

=

SQRT(

## **Syntax**

```
SQRT(number)
```

<dl><dt>**number **</dt>
<dd>The number to take the square root of. It must be 0 or more.</dd></dl>

## **Examples**

B1=SQRT(144)

|  | A | B |
| --- | --- | --- |
| 1 |  | **12** |

D1=SQRT(B1^2+B2^2)

|  | A | B | C | D |
| --- | --- | --- | --- | --- |
| 1 | Width | 3 |  | **5** |
| 2 | Height | 4 |  | |

B1=SQRT(ABS(-16))

|  | A | B |
| --- | --- | --- |
| 1 |  | **4** |

## **Questions**

<details>

<summary>

### Why does SQRT return

</summary>

The number is negative. If you only want the root of its size, write =SQRT(ABS(A2)).

</details>

<details>

<summary>

### How do I calculate a cube root in Excel?

</summary>

Raise the number to the power of 1/3, as in =A2^(1/3) or =POWER(A2,1/3). SQRT only does square roots.

</details>

## **Related functions**

- [**POWER**](https://practiceexcelonline.com/functions/power)
- [**ABS**](https://practiceexcelonline.com/functions/abs)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://practiceexcelonline.com/#identity","@type":"Organization","name":"PracticeExcel","url":"https://practiceexcelonline.com/","logo":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/#website","@type":"WebSite","inLanguage":"en-US","name":"PracticeExcel","url":"https://practiceexcelonline.com/","alternateName":["Practice Excel Online","PracticeExcelOnline.com"],"publisher":{"@id":"https://practiceexcelonline.com/#identity"},"workTranslation":{"@id":"https://excelopgaver.dk/#website"}},{"@id":"https://practiceexcelonline.com/functions/sqrt#webpage","description":"How to use SQRT in Excel and Google Sheets: square roots, the distance between two points and how to avoid the #NUM! error.","name":"SQRT function in Excel: syntax and examples","url":"https://practiceexcelonline.com/functions/sqrt","@type":["WebPage","FAQPage"],"breadcrumb":{"@id":"https://practiceexcelonline.com/functions/sqrt#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"mainEntity":[{"@id":"https://practiceexcelonline.com/functions/sqrt#/schema/question/1"},{"@id":"https://practiceexcelonline.com/functions/sqrt#/schema/question/2"}],"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/functions/sqrt"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/functions/sqrt#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Excel functions","item":"https://practiceexcelonline.com/functions","position":2},{"@type":"ListItem","name":"SQRT function in Excel: syntax and examples","position":3}]},{"@id":"https://practiceexcelonline.com/functions/sqrt#article","description":"How to use SQRT in Excel and Google Sheets: square roots, the distance between two points and how to avoid the #NUM! error.","headline":"SQRT function in Excel: syntax and examples","inLanguage":"en-US","thumbnailUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~U1FSVCBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBTUVJUIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiBzcXVhcmUgcm9vdHMsIHRoZSBkaXN0YW5jZSBiZXR3ZWVuIHR3byBwb2ludHMgYW5kIGhvdyB0byBhdm9pZCB0aGUgI05VTSEgZXJyb3Iu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_SQRT(number)%2Cp_Ii9mdW5jdGlvbnMvc3FydCI%2Cs_hQtrtRkfhg551ikr.png","@type":["Article","TechArticle"],"author":{"@id":"https://practiceexcelonline.com/#identity"},"image":{"@id":"https://practiceexcelonline.com/#/schema/image/1"},"isPartOf":{"@id":"https://practiceexcelonline.com/functions/sqrt#webpage"},"mainEntityOfPage":{"@id":"https://practiceexcelonline.com/functions/sqrt#webpage"},"publisher":{"@id":"https://practiceexcelonline.com/#identity"}},{"@id":"https://practiceexcelonline.com/functions/sqrt#/schema/question/1","@type":"Question","inLanguage":"en-US","name":"Why does SQRT return","acceptedAnswer":{"@type":"Answer","text":"The number is negative. If you only want the root of its size, write =SQRT(ABS(A2))."}},{"@id":"https://practiceexcelonline.com/functions/sqrt#/schema/question/2","@type":"Question","inLanguage":"en-US","name":"How do I calculate a cube root in Excel?","acceptedAnswer":{"@type":"Answer","text":"Raise the number to the power of 1/3, as in =A2^(1/3) or =POWER(A2,1/3). SQRT only does square roots."}},{"@id":"https://practiceexcelonline.com/#logo","@type":"ImageObject","caption":"PracticeExcel","contentUrl":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png"},{"@id":"https://practiceexcelonline.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~U1FSVCBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBTUVJUIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiBzcXVhcmUgcm9vdHMsIHRoZSBkaXN0YW5jZSBiZXR3ZWVuIHR3byBwb2ludHMgYW5kIGhvdyB0byBhdm9pZCB0aGUgI05VTSEgZXJyb3Iu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_SQRT(number)%2Cp_Ii9mdW5jdGlvbnMvc3FydCI%2Cs_hQtrtRkfhg551ikr.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~U1FSVCBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBTUVJUIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiBzcXVhcmUgcm9vdHMsIHRoZSBkaXN0YW5jZSBiZXR3ZWVuIHR3byBwb2ludHMgYW5kIGhvdyB0byBhdm9pZCB0aGUgI05VTSEgZXJyb3Iu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_SQRT(number)%2Cp_Ii9mdW5jdGlvbnMvc3FydCI%2Cs_hQtrtRkfhg551ikr.png"}]}
```

## Sitemap

See the full [sitemap](https://practiceexcelonline.com/sitemap.md) for all pages.
