Skip to content
PromptedCRE

Present value and IRR partition

Test an equity cash flow against a required return, and see how much of its IRR rests on the sale.

The NPV at 8.00% is $242,512 and the IRR is 10.74%; 78.1% of the IRR comes from the sale.

The NPV at 8.00% is $242,512 and the IRR is 10.74%; 78.1% of the IRR comes from the sale.

NPV at 8.00%

$242,512

present value $2,242,512 on $2,000,000 of equity

Profitability index
1.121
present value over equity
Payback year
year 5
undiscounted, sale included
Modified IRR
10.25%
reinvesting at 5.00%, financing at 6.00%
Net cash, undiscounted
$1,200,000
over 5 years

Where the equity's value comes from

discounted at the 10.74% IRR

  • Operations, at the IRR$438,86221.9%
  • Sale, at the IRR$1,561,13878.1%

Equity in, cash back, by year

Drawn from
The worked example
Runs
In your browser
For your agent
calc_run with id npv-irr

Inputs

Worked example. Type over any value on a dashed line.

Equity
$

paid in at closing

%/yr

your hurdle; NPV is discounted at it

Cash back

Read as 5 years: Yr 1 $100,000 · Yr 2 $110,000 · Yr 3 $120,000 · Yr 4 $130,000 · Yr 5 $140,000

year 1 first, separated by commas; after debt service, before the sale; a negative year is a capital call

$

after selling costs and the loan payoff; empty for no sale

Modified IRR

Optional: enter both rates, or leave both empty to skip it.

%/yr

discounts negative flows to year 0

%/yr

carries positive flows to the final year

The cash flows the NPV and IRR come from.

Every flow at the end of its year

Cash flows to equity by year, with their present values
YearOperatingNet saleCash flowPV at 8.00%PV at the IRRCumulative
0-$2,000,000-$2,000,000-$2,000,000-$2,000,000
1$100,000$100,000$92,593$90,301-$1,900,000
2$110,000$110,000$94,307$89,697-$1,790,000
3$120,000$120,000$95,260$88,361-$1,670,000
4$130,000$130,000$95,554$86,441-$1,540,000
5$140,000$2,600,000$2,740,000$1,864,798$1,645,199$1,200,000

Every formula it ran, in order.

IRR as Excel defines it

  1. 1Equity at year 0$2,000,000.00 paid in at time 0, entered as a negative flow-$2,000,000.00
  2. 2Cash flow in year 5, the final year$140,000.00 operating + $2,600,000.00 net sale$2,740,000.00
  3. 3Net cash, undiscountedsum of years 1–5 − $2,000,000.00 equity$1,200,000.00
  4. 4Present value of the cash back at 8.00%Σ CF_t ÷ (1 + 8.00%)^t, years 1–5$2,242,511.57
  5. 5NPV at the 8.00% required return$2,242,511.57 − $2,000,000.00$242,511.57
  6. 6Profitability index$2,242,511.57 ÷ $2,000,000.00 (= 1 + NPV ÷ equity)1.121
  7. 7Sign changes in the flowscount of sign changes from year 0 to year 5, zero years skipped1
  8. 8IRRIRR(year 0 to year 5): the rate where NPV = 010.74%
  9. 9NPV at the IRR (check)Σ CF_t ÷ (1 + 10.74%)^t, year 0 to year 5$0.00
  10. 10Present value of operations at the IRRΣ operating_t ÷ (1 + 10.74%)^t, years 1–5$438,861.80
  11. 11Present value of the sale at the IRR$2,600,000.00 ÷ (1 + 10.74%)^5$1,561,138.20
  12. 12Share of the IRR from operations$438,861.80 ÷ $2,000,000.00 equity21.94%
  13. 13Share of the IRR from the sale$1,561,138.20 ÷ $2,000,000.00 equity78.06%
  14. 14Present value of operations at 8.00%Σ operating_t ÷ (1 + 8.00%)^t, years 1–5$472,995.26
  15. 15Present value of the sale at 8.00%$2,600,000.00 ÷ (1 + 8.00%)^5$1,769,516.31
  16. 16Share of the present value at 8.00% from the sale$1,769,516.31 ÷ $2,242,511.5778.91%
  17. 17Payback yearfirst year the cumulative cash from year 0, sale included, is $0 or more; undiscountedyear 5
  18. 18Positive flows carried to year 5 at 5.00%Σ CF_t × (1 + 5.00%)^(5 − t), positive years only$3,257,689.38
  19. 19Outlays brought to year 0 at 6.00%Σ |CF_t| ÷ (1 + 6.00%)^t, negative years only$2,000,000.00
  20. 20Modified IRR($3,257,689.38 ÷ $2,000,000.00)^(1/5) − 110.25%

Marked: the lines your last edit changed.

For your agent: calc_run returns these same 20 lines.

How it counts, and how it is checked.

Checked by an independent calculation

How it counts

  • Periods are years and every flow falls at the end of its year: the equity is paid at year 0, the operating cash flows you enter (to equity, after debt service) arrive in years 1 to N, and the net sale proceeds (after selling costs and the loan payoff) are added to year N, entered apart from that year's operating flow because that split sets the partition; an empty sale means no sale.
  • NPV discounts every flow at your required return, and the profitability index is the present value of years 1 to N over the equity (one plus NPV over equity); the IRR is the rate that makes NPV zero, found by Newton's method with a bisection fallback between -99.99% and 1,000%, and there is none when the flows never change sign or when no rate in that range makes NPV zero.
  • The partition discounts the operating flows and the sale separately at the IRR: the two present values add to the equity, so their shares of it sum to one; the same split is shown at the required return as shares of the total present value.
  • Payback is the first year the undiscounted cumulative cash, sale included, reaches zero or more (a sum within a millionth of a dollar of zero counts as zero, as does such an NPV); the modified IRR, computed only when both rates are entered, carries each positive year's net flow to year N at the reinvestment rate and brings each negative year's net flow to year 0 at the finance rate.
  • When the flows change sign more than once the result says the IRR may not be unique; figures are computed unrounded and rounded only for display, and the required return and both rates are your assumptions, the worked example's made up.

What the checks pin

  • Every figure in the worked example (net cash, NPV, profitability index, IRR, the partition at the IRR and at the required return, the payback year and the modified IRR with its two parts) matches values computed independently in Python with 50-digit decimals and an IRR found by bisection.
  • Across seven cases each year's flow is its operating flow plus its sale, the years add to the present value, NPV at the IRR is zero, the two shares at the IRR sum to one, and the profitability index equals one plus NPV over equity.
  • Ten years of level cash on the equity with the equity back at the sale gives the closed-form IRR, NPV and partition; NPV falls as the required return rises, and the modified IRR lies between the reinvestment rate and the IRR.
  • No sale, a loss, one period, a zero required return, a required return equal to the IRR (an NPV of zero, never a minus zero), cash back that repays the equity to the cent (payback in that year), flows that never change sign (no IRR) and flows that change sign three times (flagged) each return what the method says, and bad input is refused in plain words.

Called by 7 steps in 6 playbooks.

For your agent

It calls calc_run with id npv-irr and the same inputs as the form above, and gets back the result, its working and the rule cards it rests on. The worked example is pinned in __tests__/calc-npv-irr.test.ts, which run it through the same function this page and the tool call.

Where the catalog stands

96 written in full: 72 playbooks, 22 scenarios and 2 audits. An agent can do 64% of the 1169 written steps.

Federal + Texas · Counted