Yield Maintenance Formula Explained
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
| Variable | What it represents | Where it comes from |
|---|---|---|
| Remaining balance | Your outstanding principal as of the prepayment date | Your amortization schedule |
| Note rate | The fixed interest rate stated on your original loan | Your loan documents |
| Remaining term | Number of months left until scheduled maturity | Maturity date minus prepayment date |
| Replacement yield | Current benchmark rate (usually a Treasury yield matching your remaining term) | Published Treasury yield curve, as of the prepayment date |
| Spread | An adjustment added to or subtracted from the replacement yield (some notes specify 0%, others a small positive/negative spread) | Your loan documents |
| Minimum penalty floor | A contractual minimum (often 1% of balance), which applies if the formula produces a smaller number | Your loan documents |
Step-by-Step: How the Calculation Actually Works
- 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.
- 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.
- 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.
- 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.
- Add it to your closing costs. Your total payoff = outstanding principal + accrued interest + yield maintenance penalty.
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.
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.