Yield Maintenance Formula Explained (Step-by-Step)

📐 Commercial Real Estate Finance

Yield Maintenance Formula Explained

The yield maintenance formula discounts your loan’s remaining scheduled payments at a replacement yield instead of your note rate, then charges you the difference as a penalty.

If you’ve read our overview of what yield maintenance is, you know the concept: the penalty compensates the lender for lost interest income when you prepay. This page walks through the actual formula variable by variable so you understand exactly what’s driving your number.

The Core Formula

The most common version of the yield maintenance formula looks like this:

YM Penalty = PV(remaining payments at note rate) − PV(remaining payments at replacement yield)

Where PV means present value – the value today of a series of future payments, discounted back at a given rate.

Put another way: the lender calculates what your remaining payments are worth if discounted at your original (usually higher) note rate , then recalculates that same stream of payments discounted at the current, lower replacement yield. Because a lower discount rate produces a higher present value , the second number comes out bigger – and that difference is your penalty.

What Each Variable Means

VariableWhat it representsWhere it comes from
Remaining balanceYour outstanding principal as of the prepayment dateYour amortization schedule
Note rateThe fixed interest rate stated on your original loanYour loan documents
Remaining termNumber of months left until scheduled maturityMaturity date minus prepayment date
Replacement yieldCurrent benchmark rate (usually a Treasury yield matching your remaining term)Published Treasury yield curve, as of the prepayment date
SpreadAn adjustment added to or subtracted from the replacement yield (some notes specify 0%, others a small positive/negative spread)Your loan documents
Minimum penalty floorA contractual minimum (often 1% of balance), which applies if the formula produces a smaller numberYour loan documents

Step-by-Step: How the Calculation Actually Works

  1. Determine the remaining scheduled payments. Starting from your prepayment date, list out every principal and interest payment still owed through maturity, based on your amortization schedule.
  2. Discount those payments at your note rate. This step effectively reconstructs your current outstanding balance – the present value of future payments at the original rate should equal (or closely approximate) what you actually owe.
  3. Discount the same payments at the replacement yield. Look up the current Treasury yield matching your remaining term (plus any spread specified in your note), and recalculate the present value of those same payments using that lower rate.
  4. Subtract to find the penalty. The difference between the two present values is your yield maintenance penalty – assuming it’s larger than your minimum penalty floor. If it’s smaller (which happens when rates have risen since origination), the floor amount applies instead.
  5. Add it to your closing costs. Your total payoff = outstanding principal + accrued interest + yield maintenance penalty.
🔢
Want to see this with real numbers plugged in? Read the worked calculation examples featuring three full scenarios with different rate environments, line by line.

Why Day Count Convention Matters

Most commercial loans use Act/360 (actual days elapsed, 360-day year) to calculate interest accrual, though some use Act/365 or 30/360. This convention affects the precise daily interest figure used in the calculation, especially for the accrued interest portion of your payoff. It’s a small factor compared to the rate gap and remaining term, but it’s why two loans with identical rates and balances can produce slightly different final numbers.

Why the Formula Sometimes Produces $0 (or the Minimum Floor)

If current replacement yields are higher than your original note rate (meaning market rates have risen since you took out the loan), discounting your payments at that higher rate produces a lower present value than discounting at your note rate. In that case, the formula technically produces a negative number, which doesn’t make sense as a “penalty.” Nearly every loan document addresses this by stating a minimum penalty floor (commonly 1% of the outstanding balance) that applies whenever the calculated figure would otherwise be zero or negative.

Skip the manual math

Plug your loan’s actual numbers into the calculator and get your penalty instantly.

Try the Calculator →

Is the formula the same for every commercial loan?

The core present-value logic is standard, but the exact replacement yield source, spread, day count convention, and minimum floor can vary by lender and loan type.

What replacement yield do lenders typically use?

Most commonly a U.S. Treasury yield with a maturity matching your loan’s remaining term, sometimes with a small spread added or subtracted.

Does the formula account for prepayment on a partial balance?

Standard formulas assume a full payoff. Partial prepayments are usually calculated on a pro-rata basis specific to the amount prepaid, per the loan note.

Why does my lender’s number differ slightly from a calculator estimate?

Small differences usually come from the exact replacement yield source and date used, rounding conventions, or a slightly different remaining-term calculation.

Related Guides

Author & Financial Specialist Fact-Checked & Calculation Verified (Oct 2, 2026)
AR

Andrew Rickelton

Fintech Software Engineer & Commercial Debt Specialist

Andrew Rickelton is a Fintech Software Engineer and Commercial Real Estate Debt Specialist with over 6 years of experience in loan underwriting algorithms, banking software, and yield maintenance prepayment modeling. He holds a degree in Information Technology and focuses on simplifying commercial debt calculations for borrowers and investors.

About The Author

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top