IRR and XIRR Calculator

Calculate internal rate of return for equal periods or XIRR for dated cash flows. Check discounted cash flows and download the results.

Calculation inputs

Initial investment is negative. Decimal point or comma; no thousands separators.

The first row is time zero. Dated cash flows use actual days / 365; periodic cash flows use a rate per period.

IRR — return per period

10%

Undiscounted cash-flow total

$210.00

Discount rate

10%

Cash-flow count

3

Net present value of all flows

$0.00

Result comparison

Undiscounted cash-flow totalNet present value of all flows

Discounted cash flows

Detailed values use the same assumptions as the summary above.

Discounted cash flows
PeriodCash flowDiscount factorPresent value
0-$1,000.001-$1,000.00
1$0.000.909$0.00
2$1,210.000.826$1,000.00

One sign change is supported after same-date flows are combined. Multiple sign changes may produce multiple IRRs; use NPV to compare those projects. This is not a return forecast.

Formula and method

The first amount is included without discounting. For equal periods, t is the row number starting at zero, and IRR is a return per such period. Convert monthly IRR to an effective annual return with (1 + IRR/100)^12 − 1.

Find a project’s internal rate of return

IRR is the discount rate that makes the present value of all investments and receipts zero. It accounts for when money moves, unlike profit divided by the original investment. Enter the complete series, beginning with the initial cost.

Choose equal periods for annual or monthly flows. For irregular receipts, enter dates in ascending order. For example, −1000 today and 1210 two years later have a 10% IRR and a zero NPV at a 10% discount rate.

Formula and method

Σ CFₜ / (1 + IRR)^t = 0; XIRR: t = days / 365

The first amount is included without discounting. For equal periods, t is the row number starting at zero, and IRR is a return per such period. Convert monthly IRR to an effective annual return with (1 + IRR/100)^12 − 1.

With dates, t is the actual number of days since the first date divided by 365, including leap days. XIRR is an effective annual rate. The table shows amounts, discount factors and present values.

Using the results

Signs and dates

Enter money paid out as negative and money received as positive. Repeated dates are allowed. Use a zero for a skipped period rather than removing its row.

Comparing projects

IRR compares percentage returns; NPV compares absolute value. Different investment sizes or multiple changes in cash-flow signs can make an IRR-only comparison incomplete.

Frequently asked questions

What is the difference between IRR and XIRR?

IRR assumes equally spaced periods. XIRR uses actual dates and expresses the result as an effective annual rate.

Why does the first row use period zero?

It represents the initial investment or cash received today. Excel’s NPV usually adds the initial cash flow separately; this calculator includes it in the first row.

Can the return be negative?

Yes. If receipts fall short of the investment, the unique IRR can be negative. NPV can also be negative when IRR is positive but below the required return.

Data sources

These sources explain the concepts used in the calculation. Check the applicable contract or issuer documents for your actual parameters.

Updated: October 1, 2026