# IRR in Google Sheets: syntax and examples

URL: https://goingstellar.ro/reference/sheets/irr/

IRR finds the rate at which the net present value of a series of cash flows is zero. The flows must be evenly spaced, and the first one is usually the negative investment.

## Syntax

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

## Arguments

- `cashflow_amounts` (range, required: yes): Cash flows at regular intervals. Needs at least one negative and one positive value.
- `rate_guess` (number, required: no): Starting estimate for the solver. Default is 0.1.

## Examples

The examples use this table, starting in A1:

| -1000 |
|---|
| 300 |
| 400 |
| 500 |

```
=ROUND(IRR(A1:A4) * 100, 2)
```

Result: `8.9`

Rate of return in percent for 1000 invested and three payments back. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=ROUND(IRR(A1:A4, 0.2) * 100, 2)
```

Result: `8.9`

Same flows with another starting guess. The answer is unchanged. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=IRR({-100, 110})
```

Result: `10%`

One period, 10% return. The flows can be an array literal. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=ROUND((1 + IRR(A1:A4)) ^ 12 - 1, 4)
```

Result: `1.7807`

If the flows are monthly, compound the periodic rate to an annual one. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=ROUND(NPV(IRR(A1:A4), A2:A4) + A1, 6) = 0
```

Result: `TRUE`

At the IRR the net present value is zero. Run in a Google Sheet (English US locale) on 2026-11-29.

## Common errors

- Without at least one negative and one positive value, IRR returns #NUM!.
- The rate is per period, as a fraction: 0.1 means 10%. With monthly flows, compound it to get a yearly rate.
- The flows must be evenly spaced in time. For irregular dates use XIRR.
- rate_guess is only the starting point of the solver. In the second example, a guess of 0.2 gives the same answer as the default.

## Compared with Excel

Same syntax in Excel.

## Related functions

- [NPV](https://goingstellar.ro/reference/sheets/npv/)
- [PMT](https://goingstellar.ro/reference/sheets/pmt/)
- [ROUND](https://goingstellar.ro/reference/sheets/round/)
- [SUM](https://goingstellar.ro/reference/sheets/sum/)

## Sources

- [IRR (Docs Editors Help)](https://support.google.com/docs/answer/3093231)

