Capital Budgeting Tool

Free IRR & NPV Calculator

Calculate Net Present Value (NPV), Internal Rate of Return (IRR), and Modified Internal Rate of Return (MIRR) for equally spaced cash-flow periods. Inspect modeled values and assumptions before making investment decisions.

3 Calculators
Flexible Cash Flows
100% Free

NPV Calculator

Calculate the Net Present Value of a series of cash flows at a given discount rate. Positive NPV means the entered cash flows exceed the chosen hurdle in present-value terms; actual returns can differ.

%
T0
$
T1
$
T2
$
T3
$
T4
$

Use negative values for investments/costs and positive values for returns/income. Periods are equally spaced; rates are per period, not automatically annual. Removing a row leaves that period with no cash flow.

Enter your cash flows and click Calculate to see NPV results

IRR Calculator

Calculate the Internal Rate of Return — the discount rate that makes the NPV of all cash flows equal to zero. Compare IRR to your required rate of return to evaluate investments.

T0
$
T1
$
T2
$
T3
$
T4
$

Use negative values for investments/costs and positive values for returns/income. Periods are equally spaced; rates are per period, not automatically annual. Removing a row leaves that period with no cash flow.

Enter your cash flows and click Calculate to find the IRR

MIRR Calculator

Calculate the Modified Internal Rate of Return, which addresses IRR limitations by using separate rates for financing costs and reinvestment returns.

%
%
T0
$
T1
$
T2
$
T3
$
T4
$

Use negative values for investments/costs and positive values for returns/income. Periods are equally spaced; rates are per period, not automatically annual. Removing a row leaves that period with no cash flow.

Enter your values and click Calculate to see MIRR results

Match rates to cash-flow periods

T0 occurs now; T1, T2 and later rows are equally spaced period ends. Use an annual rate for annual periods or a monthly rate for monthly periods. Removing a row leaves a gap with no cash flow; later period numbers retain their timing. These calculations do not use calendar dates or compute XIRR.

Net present value

NPV = Σ CFₜ / (1 + r)ᵗ, including T0 without discounting. Enter negative amounts for costs and positive amounts for receipts. Positive NPV means the entered forecast exceeds the selected discount hurdle in present-value terms; it does not guarantee future profit. Negative NPV can coexist with positive undiscounted receipts.

Worked scenario: −$100,000 now, followed by $30,000, $35,000, $40,000 and $45,000 at four annual period ends, gives NPV $16,986.54 at 10% per year. This is a calculation example, not investment performance.

Profitability index and later outlays

For a negative T0 investment followed only by nonnegative cash flows, PI = (NPV + initial investment) / initial investment. This page shows N/A when there are later outlays or no initial investment, rather than applying that initial-outlay formula to a different cash-flow pattern. NPV still includes every entered outlay.

Internal rate of return

IRR solves NPV(r) = 0. The numerical solver starts at 10%, checks the resulting NPV residual, and uses a bounded bisection fallback from −99% to 1,000% if needed. A failure to find a verified root is not proof that no root exists. Multiple sign changes may produce several roots or no root; one returned root does not establish uniqueness.

For a conventional initial outlay followed by inflows, an IRR above a hurdle rate corresponds to positive NPV at that hurdle. Borrowing-style cash flows can reverse that rule. Different project sizes and timing can also make IRR rankings conflict with NPV. Inspect the cash-flow pattern instead of treating a rate as an accept/reject instruction.

Modified internal rate of return

MIRR = (terminal value of positive cash flows / absolute present value of negative cash flows)^(1/n) − 1. The finance rate discounts negative flows to T0; the reinvestment rate compounds positive flows to the last entered period n. Both rates are per period and must exceed −100%. Positive and negative flows and a positive horizon are required.

MIRR makes those two assumptions explicit. It is not automatically a more accurate, lower or safer return measure. IRR is a root of the NPV equation; a claim about terminal reinvested wealth needs further assumptions.

Use and review the results

  1. Choose the matching calculator and enter finite amounts and rates.
  2. Calculate, then inspect the NPV period breakdown or the rate result.
  3. Changing any input clears the old result; calculate again before comparing.
  4. Keep units, inflation, tax treatment and discount-rate assumptions consistent. Those factors are not supplied automatically.

Sources

Frequently Asked Questions

What is the difference between NPV and IRR?

NPV calculates the dollar value an investment adds at a given discount rate, while IRR finds the discount rate that makes NPV equal to zero. NPV tells you how much value a project creates; IRR is a per-period root of the cash-flow equation, not a guaranteed realized return. For mutually exclusive projects, NPV is generally preferred because it accounts for project scale.

What discount rate should I use for NPV?

The discount rate should reflect the project's risk and your opportunity cost of capital. Common choices include the Weighted Average Cost of Capital (WACC), the required rate of return, or the risk-free rate plus a risk premium. Higher-risk projects warrant higher discount rates.

Can IRR have multiple solutions?

Yes. When cash flows change sign more than once (e.g., investment, returns, then another investment), there can be multiple IRRs. This numerical solver reports one verified root when it finds one; it does not enumerate all roots. MIRR needs positive and negative cash flows, a positive horizon and valid finance/reinvestment rates.

What is the profitability index?

The profitability index (PI) is the ratio of the present value of future cash flows to the initial investment. A PI above 1 means modeled discounted inflows exceed the initial outlay. It is calculated as (NPV + Initial Investment) / Initial Investment, and is shown here only for a negative T0 investment followed by nonnegative cash flows; later outlays return N/A. It does not prove the project is suitable.

When should I use MIRR instead of IRR?

Use MIRR to make separate financing and reinvestment assumptions explicit. IRR itself solves an NPV equation; interpreting it as a terminal compound return requires additional assumptions. MIRR is not automatically lower, safer or more accurate.

Is this IRR and NPV calculator free to use?

Yes, the Pineify IRR & NPV Calculator is completely free to use with no registration required. You can calculate NPV, IRR, and MIRR for equally spaced periods without registering. Rates must use the same period length; this is not a dated XIRR calculator.

Explore Separate TradingView Coding Tools

Pineify can draft Pine indicators and strategies for TradingView. That is a separate workflow from this capital-budgeting calculator; generated code needs review and testing.