Skip to main content
Advertisement
๐Ÿ“ Calculator Methodology

How Our Calculators Work

Detailed explanation of the mathematical methods, formulas, and assumptions behind every metric we calculate โ€” IRR, DSCR, cash-on-cash, and equity waterfall.

1. Internal Rate of Return (IRR) โ€” Bisection Method

IRR is defined as the discount rate r at which the Net Present Value (NPV) of all cash flows equals zero:

Definition of IRR
NPV(r) = CFโ‚€ + CFโ‚/(1+r)ยน + CFโ‚‚/(1+r)ยฒ + ... + CFโ‚™/(1+r)โฟ = 0 where: CFโ‚€ = โˆ’(equity invested) [negative โ€” cash outflow] CFโ‚...CFโ‚™โ‚‹โ‚ = annual pre-tax cash flow (NOI โˆ’ debt service) CFโ‚™ = final year cash flow + net sale proceeds

There is no closed-form algebraic solution for IRR โ€” it must be found numerically. We use the bisection method: a root-finding algorithm that repeatedly halves an interval [lo, hi] until NPV(mid) โ‰ˆ 0 to within a tolerance of 1ร—10โปโน.

Bisection Algorithm (14,000 iterations, tolerance 1e-9)
lo = โˆ’0.9999, hi = 20.0 (search range: โˆ’99.99% to 2,000% annual return) loop 14,000 times: mid = (lo + hi) / 2 if |NPV(mid)| < 1e-9 OR (hi โˆ’ lo) < 1e-11 โ†’ return mid if NPV(lo) ร— NPV(mid) < 0 โ†’ hi = mid (root is in [lo, mid]) else โ†’ lo = mid (root is in [mid, hi]) return (lo + hi) / 2

14,000 bisection iterations provide precision to approximately 11 decimal places (2โปยนโดโฐโฐโฐ โ‰ˆ 10โปโดยฒยนโท), far exceeding any practical requirement for real estate analysis. The bisection method is guaranteed to converge as long as NPV changes sign between lo and hi.

When IRR returns N/A: If NPV does not change sign between lo=โˆ’99.99% and hi=2,000%, no real IRR solution exists. This typically occurs when all cash flows are negative (deal loses money in every year including sale) or when the investment never produces a positive return on equity.

2. Loan Amortization & Debt Service

We compute the monthly mortgage payment using the standard amortizing loan formula:

Monthly Payment โ€” Standard Amortizing Loan
mr = interestRate / 12 (monthly rate) n = amortizationYears ร— 12 (total monthly payments) MonthlyPayment = Loan ร— (mr ร— (1 + mr)โฟ) / ((1 + mr)โฟ โˆ’ 1) Special case (mr = 0, i.e., 0% interest): MonthlyPayment = Loan / n Interest-Only: MonthlyPayment = Loan ร— mr

Annual debt service = MonthlyPayment ร— 12. We use constant monthly payment throughout the hold period โ€” we do not model balloon refinancing or rate resets mid-hold (see Limitations below).

Remaining Loan Balance at Year Y
Balance(Y) = Loan ร— (1 + mr)^(Yร—12) โˆ’ MP ร— ((1 + mr)^(Yร—12) โˆ’ 1) / mr This is the standard mortgage remaining balance formula derived from the future value of the original loan minus future value of payments. Interest-Only special case: Balance(Y) = Loan (no principal reduction during IO period)

3. Annual Cash Flow Projection Model

Each year of the hold period projects the following cash flow statement:

Annual Cash Flow Model
Gross Rent (Year Y) = BaseRent ร— (1 + rentEscalation)^(Yโˆ’1) Total Expenses = opEx + (purchasePrice ร— capExReserve%) NOI = Gross Rent โˆ’ Total Expenses Pre-Tax Cash Flow = NOI โˆ’ Annual Debt Service At exit (Year = holdingPeriod): Gross Sale Price = NOI_exit / exitCapRate Net Sale Price = Gross Sale Price ร— (1 โˆ’ sellingCosts%) Loan Payoff = Balance(holdingPeriod) Net Sale Proceeds = Net Sale Price โˆ’ Loan Payoff Exit Year CF = Pre-Tax Cash Flow + Net Sale Proceeds

Total equity invested = down payment + closing costs + renovation/CapEx at acquisition. This is the initial negative cash flow (CFโ‚€) used in the IRR calculation.

4. Debt Service Coverage Ratio (DSCR)

DSCR Formula
DSCR = NOI / Annual Debt Service where NOI = Gross Rent โˆ’ Landlord Operating Expenses โˆ’ CapEx Reserve Annual Debt Service = MonthlyPayment ร— 12 For interest-only periods: Annual Debt Service = Loan ร— (interestRate / 12) ร— 12 = Loan ร— interestRate

DSCR is computed for each year of the hold period. Year 1 DSCR uses Year 1 NOI (base rent, no escalation applied) and the annual debt service based on the loan terms entered. DSCR improves over time as rent escalates while debt service remains constant (for fixed-rate loans).

Advertisement

5. Cash-on-Cash Return

Cash-on-Cash Return (CoC)
CoC (Year Y) = Pre-Tax Cash Flow (Year Y) / Total Equity Invested Total Equity Invested = (purchasePrice ร— downPayment%) + (purchasePrice ร— closingCosts%) + renovationCapEx Note: CoC is a pre-tax, pre-depreciation metric. It does not account for tax benefits (depreciation, interest deductibility) or appreciation.

Year 1 CoC is the initial yield on equity โ€” equivalent to the cap rate minus the loan constant when leverage is positive. As rents escalate, CoC improves each year while equity invested remains fixed (we do not model refinancing proceeds as an equity reduction).

6. Sensitivity Analysis

The sensitivity matrix runs 42 full IRR calculations (6 hold periods ร— 7 exit cap rates) with all other inputs held constant at the base case. This is computationally intensive โ€” each IRR calculation runs up to 14,000 bisection iterations โ€” but JavaScript's single-threaded execution handles the 588,000 total iterations in under 50ms on modern hardware.

Sensitivity Grid Parameters
Hold Periods: 3, 5, 7, 10, 12, 15 years Exit Cap Rates: 4%, 5%, 6%, 7%, 8%, 9%, 10% Color thresholds (levered IRR): โ‰ฅ 18% โ†’ Green (strong value-add / opportunistic return) โ‰ฅ 13% โ†’ Light green (solid core-plus return) โ‰ฅ 9% โ†’ Amber (core / stabilized NNN return) โ‰ฅ 5% โ†’ Orange (modest return, consider deal structure) < 5% โ†’ Red (sub-par return for the risk profile)

7. Equity Waterfall Distribution Model

The waterfall calculator processes distributions sequentially through four tiers for each year of the hold period:

Waterfall Tier Sequence (Per Distribution Period)
// Accrue LP preferred return on remaining LP capital lpPrefAccrued += lpCapitalOutstanding ร— prefReturnRate remaining = max(0, cashFlow) // Tier 1: Return of capital (pro-rata LP/GP) capitalPay = min(remaining, lpCapLeft + gpCapLeft) lpCapPay = capitalPay ร— (lpCapLeft / totalCapLeft) gpCapPay = capitalPay โˆ’ lpCapPay // Tier 2: LP preferred return (pay accrued unpaid pref) prefOwed = lpPrefAccrued โˆ’ lpPrefPaidToDate lpPrefPay = min(remaining, prefOwed) // Tier 3: GP catch-up (if enabled) targetGPCU = lpPrefPaidToDate ร— carryPct / (1 โˆ’ carryPct) cuOwed = max(0, targetGPCU โˆ’ gpCUPaidToDate) gpCUPay = min(remaining, cuOwed) // Tier 4: Residual carry split lpResidual = remaining ร— (1 โˆ’ carryPct) gpResidual = remaining ร— carryPct

IRR is then calculated separately for LP and GP cash flows using the same bisection method described above. The GP IRR is typically extremely high in successful deals because the GP's co-invest is small relative to their total distributions (which include carried interest).

8. Key Assumptions & Limitations

AssumptionValue / ApproachImpact / Notes
Cash flow timingEnd-of-year (annual periods)Standard convention. Mid-year IRRs would be ~0.5% higher for typical hold periods.
Rent escalationAnnual compound growthApplied as (1 + esc)^(Yโˆ’1). Real NNN leases may escalate in 5-year steps; this smooths escalation annually.
Operating expensesFixed dollar amount, no inflationConservative. NNN leases typically pass through all expense inflation to the tenant.
Loan structureFixed-rate, no balloon penaltyDoes not model balloon refinancing mid-hold or rate resets. For IO loans, no principal paydown during IO period.
Exit valuationCap rate applied to exit-year NOIDoes not model income haircuts at sale or vacancy at time of listing. Assumes clean NOI multiple.
TaxesNot included (pre-tax)All returns are pre-tax. Tax consequences (depreciation, capital gains, 1031 eligibility) must be analyzed separately.
RefinancingNot modeledCash-out refinance proceeds during the hold period are not considered. This understates levered returns for value-add strategies.
Vacancy / credit lossNot modeled (NNN focus)NNN master lease structures typically have contractual income. For multi-tenant properties, apply a vacancy factor to baseRent before inputting.
Preferred return accrualCompound on remaining LP capitalAccrues on outstanding LP capital balance. If distributions in a year are insufficient, the unpaid preferred return carries forward and must be paid before Tier 3.
IRR search rangeโˆ’99.99% to +2,000%Covers all realistic real estate return scenarios. Extremely negative IRR (below โˆ’100%) is mathematically impossible for equity investments.
Important: All calculations are based solely on the inputs you provide. This tool does not have access to market data, property financials, appraisals, or rent comparables. The accuracy of your results depends entirely on the quality of your inputs. Always verify assumptions with market data, third-party appraisals, and qualified professional advisors before making investment decisions.

Try the Calculators

Advertisement