Sub topic 1
Debt instruments and the terms a model needs
A debt schedule is only as good as the terms you feed it. Before you build a roll-forward or a revolver, you need to know which instrument you are modeling and which contract terms change the numbers. This chapter lists the common instruments, the terms each one needs, and how to organize those terms so the rest of the schedule can read them.
Prerequisites
This chapter assumes you can do the following:
- Use a spreadsheet or write short Python functions.
- Compute compound interest and understand the time value of money.
- Read an income statement, balance sheet, and cash flow statement.
- Tell principal (the amount borrowed) from interest (the price of borrowing it).
Later chapters build the roll-forward, the interest calculation, and the revolver. Here you only set up the inputs.
Why terms matter
Two loans of 1,000 can behave very differently. One repays everything in year 5. Another repays 200 a year. One charges a fixed 8%. Another charges a benchmark rate plus a margin. A model that treats both as "debt at 8%" gets the cash flows, the interest expense, and the credit ratios wrong.
Every schedule is driven by a short list of inputs. If you gather them in one place, formulas elsewhere reference them instead of containing hard-coded numbers. That makes the model easier to audit and to flex.
Common debt instruments
The instruments below appear in most corporate models. The table summarizes how they differ for modeling purposes.
| Instrument | Typical repayment | Typical rate | Modeling notes |
|---|---|---|---|
| Revolving credit facility (revolver) | Drawn and repaid at will, within a limit | Floating, plus a fee on the undrawn part | Balance is a plug that protects minimum cash |
| Term loan A | Scheduled amortization | Floating | Mandatory repayments each period |
| Term loan B | Small scheduled amortization, large final payment | Floating, often with a floor | Often subject to a cash sweep |
| Senior notes (bonds) | Single payment at maturity (bullet) | Fixed | Usually cannot be prepaid without a penalty |
| Subordinated or high-yield notes | Bullet | Fixed, higher | Repaid after senior debt |
| Mortgage or equipment loan | Level payments | Fixed or floating | Secured on an asset |
Revolving credit facility
A revolver works like a corporate credit card. The lender commits to lend up to a limit. The company draws when it needs cash and repays when it has spare cash. Interest is charged on the drawn amount. A commitment fee is charged on the undrawn amount. Because the balance moves with cash needs, a revolver is modeled differently from every other instrument. A later chapter covers it in detail.
Term loans
A term loan is a lump sum lent at the start and repaid over a fixed life. Lenders often split term loans into tranches (separate slices with their own terms). Term loan A usually amortizes (repays principal gradually). Term loan B usually repays little before maturity.
Bonds and notes
A bond is debt sold to investors. Most pay a fixed coupon (the periodic interest payment) and repay the full principal at maturity. This is called a bullet repayment.
Amortizing loans
Mortgages and equipment loans typically use level payments. The total payment stays the same, but the interest share shrinks and the principal share grows over time.
The terms a model needs
For each tranche, collect the inputs below. Missing any of them forces a guess later.
- Commitment or principal amount. The amount lent, or for a revolver, the maximum that can be drawn.
- Drawn amount at the start. For a term loan this equals the principal. For a revolver it is often zero or a smaller number.
- Start date and maturity. These set how many periods the schedule needs.
- Interest rate type. Fixed, or floating (a reference rate plus a spread).
- Rate level. The fixed rate, or the spread and the reference rate forecast. A floor may set a minimum for the reference rate.
- Repayment profile. Bullet, straight-line, or level payment, plus any stated amortization percentage.
- Sweep percentage. The share of excess cash that must go to prepay the loan.
- Commitment fee. Charged on the undrawn revolver, as a percentage.
- Upfront fees. Paid at signing and spread over the life of the loan.
- Seniority. The order in which lenders are repaid.
- Prepayment terms. Whether early repayment is allowed, and any penalty.
Seniority
Seniority ranks claims on the company's cash and assets. Senior lenders are repaid before junior lenders. A secured loan has a claim on specific assets. In a model, seniority sets the order of the cash waterfall, so the senior tranche gets repaid first.
Fixed versus floating
A fixed rate does not change over the life of the loan. A floating rate resets to a reference rate plus a spread, so interest expense moves as rates move. A later chapter covers the floor, which keeps the reference rate from falling below a set level in the interest formula.
Rate conventions
Quoted rates are annual. If the model runs quarterly or monthly, you convert the rate to the period. The simplest conversion divides the annual rate by the number of periods per year. Day-count conventions (such as actual/360) change the result slightly, and you choose the convention the loan agreement states.
Organizing the terms in a model
Put all terms in one assumptions block, with one column per tranche. The schedule then reads from that block.
A small Python structure shows the idea. A dataclass holds the terms of one tranche, and a function checks that the inputs are consistent before any schedule runs.
from dataclasses import dataclass
@dataclass
class Tranche:
name: str
amount: float # principal, or commitment for a revolver
drawn: float # amount outstanding at the start
annual_rate: float # fixed rate, or total rate for the first pass
years: int # life to maturity
repayment: str # "bullet", "straight_line", "level" or "revolver"
seniority: int # 1 is repaid first
sweep_pct: float = 0.0 # share of excess cash used for prepayment
commitment_fee: float = 0.0
upfront_fee_pct: float = 0.0
def validate(self):
valid = {"bullet", "straight_line", "level", "revolver"}
if self.repayment not in valid:
raise ValueError(f"{self.name}: unknown repayment '{self.repayment}'")
if self.drawn > self.amount:
raise ValueError(f"{self.name}: drawn exceeds commitment")
if not 0 <= self.sweep_pct <= 1:
raise ValueError(f"{self.name}: sweep_pct must be between 0 and 1")
if self.years <= 0:
raise ValueError(f"{self.name}: years must be positive")
return True
tranches = [
Tranche("Revolver", 100, 0, 0.06, 5, "revolver", 1, commitment_fee=0.005),
Tranche("Term loan", 400, 400, 0.07, 7, "straight_line", 1,
sweep_pct=0.5, upfront_fee_pct=0.02),
Tranche("Senior notes", 300, 300, 0.09, 8, "bullet", 2),
]
for t in tranches:
t.validate()
fee = t.amount * t.upfront_fee_pct
print(f"{t.name:13s} amount={t.amount:6.1f} drawn={t.drawn:6.1f} "
f"rate={t.annual_rate:.2%} upfront fee={fee:.1f}")The output lists each tranche with its amount, drawn balance, rate, and upfront fee. The term loan shows a fee of 8.0 (2% of 400). That fee is capitalized and amortized in a later chapter.
In a spreadsheet, use the same layout. Rows are the terms, columns are the tranches, and every schedule formula points to these cells.
How terms flow into the schedule
The terms feed different parts of the model. The diagram shows where each group of inputs is used.
Notice the pattern. Every box reads the terms. None of them should contain a typed-in constant.
Common errors
- Mixing annual and periodic rates. Using an 8% annual rate in a quarterly model overstates interest by a factor of four.
- Treating the revolver as a term loan. A revolver has no fixed repayment schedule. Its balance depends on cash needs.
- Forgetting the drawn amount. Charging interest on the commitment instead of the drawn balance overstates interest. The commitment fee applies to the undrawn part only.
- Ignoring seniority. If the sweep pays a junior tranche first, the schedule disagrees with the credit agreement.
- Hard-coding terms inside formulas. A change in the margin then requires hunting through the sheet.
- Missing maturity inside the forecast. If a tranche matures within the forecast horizon, the model must show repayment or refinancing in that period. Otherwise the balance sits on the balance sheet past its due date.
What comes next
With the terms collected, the next chapter builds the roll-forward: the opening balance, the movements, and the closing balance. Every later calculation sits on top of that structure.
Exercise
A company signs a 200 revolver and draws 50 at the start. The drawn rate is 6% and the commitment fee is 0.5% on the undrawn part. Using the opening balance only, what are interest and the commitment fee for the first year?
Show answer
Interest is 50 x 6% = 3.0. The undrawn amount is 200 - 50 = 150, so the commitment fee is 150 x 0.5% = 0.75. Total financing cost for the year is 3.75.
Exercise
List which terms from this chapter you would need to model a bond that pays a fixed coupon and repays everything at maturity, and name one term you could leave out.
Show answer
You need the principal, the start date and maturity, the fixed coupon rate, the bullet repayment profile, and seniority (plus any upfront fee). You can leave out the sweep percentage and the commitment fee, because a typical bond has neither.
Exercise
A model runs quarterly. The loan agreement states a 10% annual rate. What simple periodic rate should the model use, and what goes wrong if it uses 10% each quarter?
Show answer
The simple periodic rate is 10% / 4 = 2.5% per quarter. Using 10% each quarter charges four times too much interest, so the model overstates interest expense and understates net income and cash.