Calcs.finance

investment calculator

IRR Calculator

The IRR Calculator solves the annual rate that makes the entered signed cash-flow timeline have a net present value near zero. It supports a fixed recurring cash-flow mode for one starting investment, recurring deposits or withdrawals, and an ending balance, plus an irregular annual cash-flow mode for a time-zero investment and year-end cash flows.

Your scenario

Enter your numbers

Help
IRR method
Periodic cash flow type
Periodic cash flow frequency
Periodic cash flow timing

Result

Result summary
Internal rate of return is 29.77% for the fixed cash-flow scenario.
Internal rate of return
29.77%
NPV at IRR
$0.00
Total cash in
$18,000.00
Total cash out
$10,000.00
Net cash flow
$8,000.00
Holding years used
2.5
Cash flow count
32
What this means
IRR is a money-weighted annual return and can be misleading when cash-flow signs change more than once.

Working scenario

New scenario

Not saved yet

Compare

Saved scenarios

Compare saved versions

Compare

Save this result, then use saved scenarios to switch between assumptions.

Before you calculate

Use this calculator when cash-flow timing matters and a simple start-to-end ROI is too limited. Use fixed recurring cash-flow mode for one repeated deposit or withdrawal pattern plus an ending balance. Use irregular annual cash-flow mode for project-style year-end cash flows. Use ROI for a simpler amount-invested and amount-returned comparison, Average Return for period returns or account cash-flow weighting, Payback Period for recovery timing, and Investment for fixed-return contribution projections.

Formula summary

The calculator builds a signed timeline where outflows are negative and inflows are positive. Fixed mode converts Holding years plus Holding months divided by 12 into total holding years, maps the selected frequency to periods per year, rounds the recurring period count, records the initial investment at time zero, records deposits as recurring outflows or withdrawals as recurring inflows at the selected beginning or end timing, and records ending balance at the holding date. Irregular mode records Irregular initial investment at time zero and each non-zero annual cash-flow field at the end of that year. The app then searches annual rates from -99.99 percent to 1000 percent for the first NPV sign change, bisects that bracket, and reports IRR, NPV at IRR, total cash in, total cash out, net cash flow, holding years used, and cash-flow count.

Worked example

Example: fixed monthly withdrawals and irregular annual cash flows

With the default fixed-mode inputs, a $10,000 initial investment, a $15,000 ending balance after 2 years and 6 months, and $100 monthly withdrawals at the end of each month create 32 non-zero cash flows. The result is 29.77 percent IRR, $0 NPV at IRR after rounding, $18,000 total cash in, $10,000 total cash out, $8,000 net cash flow, and 2.5 holding years used. In irregular annual mode, the default $50,000 initial investment, -$10,000 in year 1, $30,000 in year 2, and $50,000 in year 3 create 4 non-zero cash flows and report 12.45 percent IRR, $0 NPV at IRR, $80,000 total cash in, $60,000 total cash out, and $20,000 net cash flow.

The rate changes because IRR is driven by both amount and timing. The cash-flow totals help explain scale, while NPV at IRR checks that the solved rate balances the modeled timeline.

Assumptions

Common mistakes to avoid

Methodology and sources

This calculator is an original implementation based on documented formulas, app-specific assumptions, deterministic fixtures, edge cases, rounding policy tests, and internal validation. It is not copied from a single source.

Outputs are checked with deterministic fixtures, edge cases, rounding policy tests, and internal independent comparator checks where overlapping outputs are available. The result remains an educational estimate, not a quote, approval, tax answer, or personalised advice.

Formula version 2026.05.22-generic-irr. The version marks the calculation logic and validation fixture set used for this estimate.

Estimate only

The result is educational and is not financial, tax, legal, lending, investment, or regulated advice. Real provider terms, fees, rates, taxes, and personal circumstances can change the final answer.

Formula and help: read the full irr calculator methodology notes.

Related reading

When another calculator fits better

investment

ROI Calculator

Estimate return on investment, gain or loss, and annualized return from investment amounts and time held.

Formula notes