Skip to tutorial content

Tools & calculators 路 Beginner 路 4 min

Use the XIRR calculator

The yearly return when money goes in and out on the dates you choose.

Last source-verified . Runtime data and availability may vary.

Open this feature

Learn

What this lesson is for

The yearly return when money goes in and out on the dates you choose.

Access: Public; no account is needed for the calculator.

Before you open it

  • A modern browser with JavaScript enabled for interactive controls.

You will be able to

  • The yearly return when money goes in and out on the dates you choose.

See

Walk through the screen

  1. Open Tools and choose XIRR. Read the assumption and disclaimer above the form.

  2. Check the units for Flow 1 date, Flow 1 amount, Flow 2 date, Flow 2 amount, Flow 3 date, Flow 3 amount, Flow 4 date, Flow 4 amount. The field reference below explains the displayed controls.

  3. Enter illustrative inputs within the displayed bounds. Change one assumption at a time and resolve any field errors before reading results.

  4. Inspect Annual rate, Flows used. Read supporting help and any available numerical table before comparing scenarios.

  5. Use Reset this calculator to return to its configured example inputs if you want to start again. Resetting a calculator does not edit Journal records.

Field reference

Flow 1 date (YYYY-MM-DD)
Date of the first cash flow. An investment is a negative amount.

Illustrative example: 2025-01-01

Flow 1 amount ($)
Negative for money you pay in. Positive for money you receive.

Illustrative example: -$10,000

Flow 2 date (YYYY-MM-DD)
Date of the second cash flow.

Illustrative example: 2026-01-01

Flow 2 amount ($)
Negative for money you pay in. Positive for money you receive.

Illustrative example: $11,000

Flow 3 date (YYYY-MM-DD)
Leave blank, with a blank amount, to skip this flow.

Illustrative example: 2026-06-01

Flow 3 amount ($)
Leave blank when this flow is unused.

Illustrative example: $500

Flow 4 date (YYYY-MM-DD)
Leave blank, with a blank amount, to skip this flow.

Illustrative example: 2026-12-01

Flow 4 amount ($)
Leave blank when this flow is unused.

Illustrative example: -$500

Try

Worked example

Illustrative field examples: Flow 1 date: 2025-01-01; Flow 1 amount: -$10,000; Flow 2 date: 2026-01-01; Flow 2 amount: $11,000; Flow 3 date: 2026-06-01; Flow 3 amount: $500; Flow 4 date: 2026-12-01; Flow 4 amount: -$500. These are teaching values, not recommended settings or forecasts.

Your task

Change one input in XIRR, describe which result changes, then reset the calculator and explain its stated assumptions.

Check off the walkthrough

0 of 5 steps checked. This list stays on this page visit and is not saved to your account.

Open this feature

Verify

Expected result

The yearly return when money goes in and out on the dates you choose. Result cards include Annual rate, Flows used.

Common mistakes

  • Read the field-level unit and validation message. Percent inputs, whole-year bounds, zero cases, and deposit timing can differ between calculators.
  • If no result appears, correct invalid or blank inputs; do not interpret a missing result as zero.

Progress is anonymous and local to this browser. It does not sync with your account.

Related lessons

Use the XIRR calculator | Tutorial | MyTradeOptions