# Google Sheets IRR Function: Syntax, Examples & Tips

- URL: https://betteranalyst.com/google-sheets/irr-function
- Author: Better Analyst

Formula Bot is now Better Analyst—same account, more powerful analysis.Formula Bot is now Better Analyst—same account and workflows, with more powerful analysis, dashboards, and automation.

[Learn what changed](https://betteranalyst.com/formula-bot-is-now-better-analyst)

The IRR function calculates the internal rate of return for a series of cash flows, helping assess investment profitability over time.

```
IRR(cashflow_amounts, [rate_guess])
```

Generate FormulaExplain Formula

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

Describe the IRR you need in plain EnglishGenerate Formula

## Parameters

**`cashflow_amounts`**:\
The series of cash flows that occur at regular intervals, including both negative and positive values. This range must contain at least one negative value (representing an investment or outflow) and one positive value (representing returns or inflows).

**`rate_guess`**:\
An optional estimate of the expected internal rate of return. This is a number that serves as a starting point for the calculation. If omitted, Google Sheets assumes a default value of 0.1 (or 10%).

## What is an IRR?

The *IRR* (Internal Rate of Return) function in Google Sheets is a financial tool used to calculate the annualized effective compounded return rate of an investment based on a series of cash flows. It is particularly useful for evaluating the profitability of potential investments or projects by providing a single percentage that represents the expected rate of return.

In simpler terms, IRR helps you determine the rate at which your investment grows over time, taking into account all cash inflows and outflows.

## A Practical Example

Imagine you are evaluating a project that requires an initial investment and generates cash flows over several years:

### Cash Flow Table:

| Year | Cash Flow |
| - | - |
| 0 | -10000 |
| 1 | 3000 |
| 2 | 4000 |
| 3 | 5000 |
| 4 | 6000 |

In this example, you invest $10,000 initially (Year 0), and you expect to receive cash inflows over the next four years.

## IRR Formula

To calculate the IRR for this investment, you would use the IRR function as follows:

```
=IRR(A2:A6)
```

In this formula:

- `A2:A6` is the range that includes all cash flows, starting with the initial investment (negative value) followed by the positive cash inflows.

## Result of the Formula

When you apply the IRR formula to the Cash Flow Table, you will get a result that represents the annualized rate of return for the investment. For this example, the output might look like this:

```
IRR = 14.87%
```

This means that the investment is expected to grow at an annual rate of approximately 14.87% over the four years.

## Why Use IRR?

IRR is beneficial because it provides a clear metric for comparing the profitability of different investments or projects. It helps investors and decision-makers understand the potential returns on their investments and make informed choices. Additionally, IRR can be used to assess whether an investment meets a specific required rate of return.

## Key Takeaways:

- **IRR**: A financial function that calculates the annualized effective compounded return rate of an investment based on cash flows.
- **Investment Evaluation**: Useful for comparing the profitability of various investment opportunities.
- **Decision-Making Tool**: Helps investors assess whether an investment meets their required rate of return.
- **Common Use Cases**: Ideal for project evaluation, capital budgeting, and investment analysis.

IRR is an essential function for anyone involved in finance or investment analysis, providing a powerful way to evaluate the potential returns of various investment opportunities.

Happy investing!

## Example use case

You have a cash flow table with initial investment and subsequent cash inflows. By using the IRR formula, you can calculate the internal rate of return on the investment, helping you assess the profitability and make informed financial decisions.

## Need more help with Google Sheets formulas?

Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.

[Create Free Account](https://betteranalyst.com/signup)[Try Formula Generator](https://betteranalyst.com/excel-ai)

## Google Sheets how-to guides

- [How To Remove Blank Rows In Google Sheets](https://betteranalyst.com/google-sheets/how-to-remove-blank-rows-in-google-sheets)
- [How To Remove Duplicates In Google Sheets](https://betteranalyst.com/google-sheets/how-to-remove-duplicates-in-google-sheets)
- [How To Separate Names In Google Sheets](https://betteranalyst.com/google-sheets/how-to-separate-names-in-google-sheets)
- [How To Sort In Google Sheets](https://betteranalyst.com/google-sheets/how-to-sort-in-google-sheets)
- [How To Split Cells In Google Sheets](https://betteranalyst.com/google-sheets/how-to-split-cells-in-google-sheets)
- [How To Strikethrough In Google Sheets](https://betteranalyst.com/google-sheets/how-to-strikethrough-in-google-sheets)
- [How To Subtract In Google Sheets](https://betteranalyst.com/google-sheets/how-to-subtract-in-google-sheets)
- [How To Transpose Data In Google Sheets](https://betteranalyst.com/google-sheets/how-to-transpose-data-in-google-sheets)

## Explore all Google Sheets formulas

Browse our complete library of Google Sheets formula guides

Compare your options

## Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

1. [01ChatGPTOpen a balanced comparison prompt in ChatGPT.](https://chatgpt.com/?prompt=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)
2. [02ClaudeOpen the same research prompt in Claude.](https://claude.ai/new?q=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)
3. [03PerplexityResearch the comparison with linked web sources.](https://www.perplexity.ai/search?q=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.
