Function Problems

Why IRR and XIRR Return Different Results in WPS Spreadsheets

Elise WilliamsElise Williams Nov 27, 2026 869 views

Question details

Understand why IRR and XIRR can return slightly different rates and how to compare them.

Why IRR and XIRR Return Different Results in WPS Spreadsheets
Product
WPS Spreadsheets and Microsoft Excel
Device & OS
not provided
Scenario
A user is comparing IRR and XIRR calculations for the same cash flows.
Observed behavior
The calculated rates may differ slightly even when the dates appear to avoid leap-year differences.
Before you start

Arrange the cash flows in order and make sure they include at least one negative and one positive value. For XIRR, place a valid date beside each cash flow, starting with the date of the initial cash flow.

Solution 1Recommended

Compare the cash-flow intervals and rate periods

Use this check first to determine whether IRR and XIRR are measuring the same time period.

IRR assumes equally spaced cash flows and returns a rate per period. XIRR uses actual dates and returns an annualized rate based on a 365-day year.

1
Calculate both rates

With cash flows in B2:B5 and their dates in A2:A5, enter =IRR(B2:B5) in one cell and =XIRR(B2:B5,A2:A5) in another.

2
Check the dates

Inspect A2:A5 to see whether consecutive cash flows are exactly 365 days apart. If they are, an annual IRR is directly comparable with the XIRR result.

3
Convert a periodic IRR if needed

For equally spaced monthly cash flows, enter =(1+IRR(B2:B5))^12-1 to convert the monthly IRR to an effective annual rate before comparing it with XIRR.

Compare the cash-flow intervals and rate periods
Dates still matter: Monthly intervals vary in length, so an annualized monthly IRR can still differ from XIRR, which uses the actual dates.
Calculate returns in WPS Spreadsheets

Compare IRR and XIRR in WPS Spreadsheets

Enter your cash flows and dates in WPS Spreadsheets, calculate both rates, and inspect their precision and time periods.

  1. 1. Open your spreadsheet: Open WPS Spreadsheets and select Open to load your workbook, or create a new spreadsheet.
  2. 2. Enter dates and cash flows: Enter dates in A2:A5 and the corresponding cash flows in B2:B5, including at least one negative and one positive value.
  3. 3. Calculate the rates: Enter =IRR(B2:B5) and =XIRR(B2:B5,A2:A5) in separate cells.
  4. 4. Inspect the results: Select the result cells and use Home > Increase Decimal. Compare rates only after accounting for their respective time periods.
Compare periodic IRR with date-based XIRRDisplay more decimal places for closer inspectionOpen and edit Microsoft Excel XLSX and XLS filesUse familiar spreadsheet formulas and controls
microsoft office alternative - wps office

Frequently Asked Questions

What is the main difference between IRR and XIRR?

IRR assumes cash flows occur at equal intervals and returns a rate per interval. XIRR uses the dates supplied in its date range and returns an annualized rate based on a 365-day year.

Why do the results differ when the cash flows are the same?

The functions may use different timing assumptions or return rates for different periods. Even when timing is comparable, small differences can arise from numerical approximation and floating-point rounding.

How do I compare a monthly IRR with XIRR?

For equally spaced monthly cash flows, calculate the effective annual rate with =(1+IRR(B2:B5))^12-1. Compare it with =XIRR(B2:B5,A2:A5), keeping in mind that actual monthly date intervals vary.

How can I see whether the difference is only in the displayed precision?

Select the result cells and choose Home > Increase Decimal. You can also subtract one result cell from the other to inspect the numerical difference.