Yield Maintenance Calculator

Calculate your yield maintenance prepayment penalty in seconds using live U.S. Treasury rates. Get a full period-by-period breakdown for CMBS, life company, and agency loans.

Explore our platform

Check Historical RFR Rates

Access historical risk-free rates including SOFR, Fed Funds, and Treasury yields used as discount rates in prepayment calculations.

Integrate Data via Excel or API

Pull yield maintenance inputs and Treasury rates directly into your models via our Excel add-in or REST API.

Custom Dashboards

Build dashboards that combine yield maintenance scenarios with portfolio analytics, rate monitoring, and risk metrics.

trusted by

”BlueGamma’s clean historical and real-time interest rate data gives our research and trading teams a stronger foundation for modelling risk and opportunity across markets. That’s a core advantage as we scale our platform.”

Tom Barrett, CEO at Hall Barrett Advisors

“BlueGamma provides exactly the depth of market data we need as a debt advisor and mortgage broker — no unnecessary noise, just precise, relevant information. Their support is lightning-fast, and they’re incredibly responsive in adding new features when we need them. This partnership enables us to make better, faster decisions for our clients.”

Patrick Zurfluh, CEO of Avobis Advisory AG

“Working with Bluegamma has been seamless. Their API was straightforward and quick to implement, delivering consistent, reliable performance. The team is super responsive too—whenever we’ve had questions, they’ve gotten back to us quickly with helpful answers.

Bluegamma has really streamlined things for us by allowing us to get all our data from one unified source. This has empowered our customers to generate more accurate predictions and make more informed strategic decisions regarding their debt and derivatives portfolios.”

André Gerbaulet, CTO at onefin.com

FAQs

What is yield maintenance?

How is a yield maintenance penalty calculated?

What Treasury rate is used in yield maintenance calculations?

What is the difference between yield maintenance and defeasance?

When does yield maintenance apply?

What inputs do I need to calculate yield maintenance?

How can I reduce my yield maintenance penalty?

Is this calculator accurate for my specific loan?

Try BlueGamma Free for 14 Days

Access live Treasury rates, forward curves, and professional-grade calculators. No credit card required.

What Is Yield Maintenance?

Yield maintenance is a prepayment penalty provision found in most commercial real estate loan agreements. When a borrower prepays a fixed rate loan, the lender loses the future interest payments they expected to receive. The yield maintenance penalty compensates the lender for this lost income by requiring the borrower to pay an amount equal to the present value of the remaining interest differential.

In practical terms, yield maintenance protects the lender expected return (yield) by making them financially indifferent to whether the borrower keeps the loan or prepays it. This is why the penalty increases when interest rates fall (the lender loses more by reinvesting at lower rates) and decreases when rates rise.

The Yield Maintenance Formula

The general yield maintenance formula is:

\[ \text{Yield Maintenance Penalty} = \left( \sum_{t=1}^{n} \frac{\text{Payment}_t}{(1 + r_{\text{Treasury}})^t} \right) - \text{Outstanding Loan Balance} \]

Most loan agreements add a greater of clause:

\[ \text{Penalty} = \max \left( \text{Calculated Yield Maintenance},\ \text{Minimum Floor} \right) \]

The minimum floor is typically 1% of the outstanding loan balance. This ensures the lender receives at least a minimum penalty regardless of the rate environment.

Yield Maintenance Calculation Example

Consider a $10,000,000 loan with a 5.50% note rate, 25 year amortization, and 36 months remaining to maturity.

If the interpolated Treasury rate for 3 years is 4.00%, the rate differential is 1.50%.

The calculator projects all 36 remaining monthly payments, discounts each one at the Treasury rate, sums those present values, and subtracts the outstanding balance.

The resulting penalty might be approximately $350,000 to $450,000, depending on the exact amortization schedule and day count convention.

Yield Maintenance vs. Defeasance

Both yield maintenance and defeasance allow borrowers to prepay commercial real estate loans, but they work through fundamentally different mechanisms.

Factor
Yield Maintenance
Defeasance
Mechanism
Cash penalty paid to lender; loan is retired
Treasury securities substituted as collateral; loan remains outstanding
Complexity
Lower; straightforward calculation
Higher; requires securities intermediary, legal counsel, accountant
Third party costs
Minimal
$30,000 to $75,000+ in advisory, legal, and intermediary fees
Timeline
Can close quickly (days to weeks)
Typically 30 to 45 days for securities procurement
Cost in rising rate environment
Lower penalty (smaller rate differential)
Securities cost less (lower Treasury prices), but fixed third party costs remain
Cost in falling rate environment
Higher penalty (larger rate differential)
Securities cost more, but may still be cheaper than yield maintenance for large loans
Common loan types
Life company, agency, some CMBS
CMBS (most common), some agency

Types of Loans with Yield Maintenance

CMBS Loans

CMBS (Commercial Mortgage Backed Securities) loans frequently include yield maintenance provisions. Because these loans are securitized and sold to investors, the prepayment penalty protects the expected cash flow stream. CMBS loans may offer borrowers a choice between yield maintenance and defeasance.

Life Company Loans

Life insurance company loans typically use yield maintenance as the primary prepayment mechanism. These loans tend to have straightforward yield maintenance clauses with standard Treasury rate references and are generally simpler to calculate than CMBS provisions.

Agency Multifamily Loans

Fannie Mae and Freddie Mac multifamily loans commonly include yield maintenance provisions. Agency loans often have specific formulas defined by the agency, which may differ slightly from standard commercial loan calculations.

Try BlueGamma Free for 14 Days

Other Calculators

RFR Calculator

Calculate RFR-based interest across 20+ currencies with full support for global indices including SOFR (USD), SONIA (GBP), and €STR (EUR).

RFR Calculator

CAPM Calculator

Use our Capital Asset Pricing Model (CAPM) calculator to find the Cost of Equity based on market risk (Beta) and the Risk-Free Rate & Equity Risk Premium.

CAPM Calculator

Cap Calculator

Price an interest rate cap instantly. Compare cap costs across tenors and strikes for SOFR, SONIA, EURIBOR and 30+ indices.

Cap Calculator

Defeasance Calculator

Estimate defeasance costs in seconds with our free CMBS calculator. View treasury bond requirements, total costs, and savings vs. yield maintenance.

Defeasance Calculator