---
title: "IRR function in Excel: syntax and examples | PracticeExcel"
description: "How to use IRR in Excel and Google Sheets: the internal rate of return of an investment from its cash flows."
canonical_url: "https://practiceexcelonline.com/functions/irr"
locale: en
meta:
  "og:description": "How to use IRR in Excel and Google Sheets: the internal rate of return of an investment from its cash flows."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~SVJSIGZ1bmN0aW9uIGluIEV4Y2VsOiBzeW50YXggYW5kIGV4YW1wbGVz%2Cdescription_~SG93IHRvIHVzZSBJUlIgaW4gRXhjZWwgYW5kIEdvb2dsZSBTaGVldHM6IHRoZSBpbnRlcm5hbCByYXRlIG9mIHJldHVybiBvZiBhbiBpbnZlc3RtZW50IGZyb20gaXRzIGNhc2ggZmxvd3Mu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~SVJSKHZhbHVlcywgW2d1ZXNzXSk%2Cp_Ii9mdW5jdGlvbnMvaXJyIg%2Cs_kKiKVFhiRoNwU9Jx.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "IRR function in Excel: syntax and examples | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~SVJSIGZ1bmN0aW9uIGluIEV4Y2VsOiBzeW50YXggYW5kIGV4YW1wbGVz%2Cdescription_~SG93IHRvIHVzZSBJUlIgaW4gRXhjZWwgYW5kIEdvb2dsZSBTaGVldHM6IHRoZSBpbnRlcm5hbCByYXRlIG9mIHJldHVybiBvZiBhbiBpbnZlc3RtZW50IGZyb20gaXRzIGNhc2ggZmxvd3Mu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~SVJSKHZhbHVlcywgW2d1ZXNzXSk%2Cp_Ii9mdW5jdGlvbnMvaXJyIg%2Cs_kKiKVFhiRoNwU9Jx.png"
---

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

# **The IRR function**

Returns the internal rate of return of a series of cash flows, the discount rate at which their net present value is 0.

=

IRR(

## **Syntax**

```
IRR(values, [guess])
```

<dl><dt>**values **</dt>
<dd>The cash flows in order, one per period, with at least one negative (the investment) and one positive.</dd>
<dt>**guess **(optional)</dt>
<dd>A starting guess for the rate. Leave it out for 10%.</dd></dl>

## **Examples**

D1=IRR(B1:B4)

|  | A | B | C | D |
| --- | --- | --- | --- | --- |
| 1 | Year 0 | -1000 |  | **0.09701** |
| 2 | Year 1 | 400 |  | |
| 3 | Year 2 | 400 |  | |
| 4 | Year 3 | 400 |  | |

B1=IRR({-100;110})

|  | A | B |
| --- | --- | --- |
| 1 |  | **0.1** |

## **Practice IRR**

- [**1****Rate of return with IRR**→](https://practiceexcelonline.com/practice/investments/irr-rate-of-return)

## **Questions**

<details>

<summary>

### What is the difference between IRR and NPV?

</summary>

NPV gives an amount at a discount rate you choose. IRR gives the rate at which that amount is exactly 0. A project is worth doing at your required rate if its IRR is higher than that rate.

</details>

## **Related functions**

- [**NPV**](https://practiceexcelonline.com/functions/npv)
- [**PMT**](https://practiceexcelonline.com/functions/pmt)

```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/irr#webpage","description":"How to use IRR in Excel and Google Sheets: the internal rate of return of an investment from its cash flows.","name":"IRR function in Excel: syntax and examples","url":"https://practiceexcelonline.com/functions/irr","@type":["WebPage","FAQPage"],"breadcrumb":{"@id":"https://practiceexcelonline.com/functions/irr#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"mainEntity":[{"@id":"https://practiceexcelonline.com/functions/irr#/schema/question/1"}],"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/functions/irr"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/functions/irr#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":"IRR function in Excel: syntax and examples","position":3}]},{"@id":"https://practiceexcelonline.com/functions/irr#article","description":"How to use IRR in Excel and Google Sheets: the internal rate of return of an investment from its cash flows.","headline":"IRR function in Excel: syntax and examples","inLanguage":"en-US","thumbnailUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~SVJSIGZ1bmN0aW9uIGluIEV4Y2VsOiBzeW50YXggYW5kIGV4YW1wbGVz%2Cdescription_~SG93IHRvIHVzZSBJUlIgaW4gRXhjZWwgYW5kIEdvb2dsZSBTaGVldHM6IHRoZSBpbnRlcm5hbCByYXRlIG9mIHJldHVybiBvZiBhbiBpbnZlc3RtZW50IGZyb20gaXRzIGNhc2ggZmxvd3Mu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~SVJSKHZhbHVlcywgW2d1ZXNzXSk%2Cp_Ii9mdW5jdGlvbnMvaXJyIg%2Cs_kKiKVFhiRoNwU9Jx.png","@type":["Article","TechArticle"],"author":{"@id":"https://practiceexcelonline.com/#identity"},"image":{"@id":"https://practiceexcelonline.com/#/schema/image/1"},"isPartOf":{"@id":"https://practiceexcelonline.com/functions/irr#webpage"},"mainEntityOfPage":{"@id":"https://practiceexcelonline.com/functions/irr#webpage"},"publisher":{"@id":"https://practiceexcelonline.com/#identity"}},{"@id":"https://practiceexcelonline.com/functions/irr#/schema/question/1","@type":"Question","inLanguage":"en-US","name":"What is the difference between IRR and NPV?","acceptedAnswer":{"@type":"Answer","text":"NPV gives an amount at a discount rate you choose. IRR gives the rate at which that amount is exactly 0. A project is worth doing at your required rate if its IRR is higher than that rate."}},{"@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_~SVJSIGZ1bmN0aW9uIGluIEV4Y2VsOiBzeW50YXggYW5kIGV4YW1wbGVz%2Cdescription_~SG93IHRvIHVzZSBJUlIgaW4gRXhjZWwgYW5kIEdvb2dsZSBTaGVldHM6IHRoZSBpbnRlcm5hbCByYXRlIG9mIHJldHVybiBvZiBhbiBpbnZlc3RtZW50IGZyb20gaXRzIGNhc2ggZmxvd3Mu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~SVJSKHZhbHVlcywgW2d1ZXNzXSk%2Cp_Ii9mdW5jdGlvbnMvaXJyIg%2Cs_kKiKVFhiRoNwU9Jx.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~SVJSIGZ1bmN0aW9uIGluIEV4Y2VsOiBzeW50YXggYW5kIGV4YW1wbGVz%2Cdescription_~SG93IHRvIHVzZSBJUlIgaW4gRXhjZWwgYW5kIEdvb2dsZSBTaGVldHM6IHRoZSBpbnRlcm5hbCByYXRlIG9mIHJldHVybiBvZiBhbiBpbnZlc3RtZW50IGZyb20gaXRzIGNhc2ggZmxvd3Mu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~SVJSKHZhbHVlcywgW2d1ZXNzXSk%2Cp_Ii9mdW5jdGlvbnMvaXJyIg%2Cs_kKiKVFhiRoNwU9Jx.png"}]}
```

## Sitemap

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