Sub topic 19
Swaps and the Plain Vanilla Interest Rate Swap
This chapter assumes you know present value, discount rates, and the basic forward contract from the earlier chapters. It introduces swaps in general, then covers the plain vanilla interest rate swap, which is the contract the rest of the swap material builds on.
What a swap is
A swap is an over-the-counter (OTC) contract in which two parties agree to exchange a series of cash flows on set dates. At least one set of cash flows depends on a variable, such as an interest rate, an exchange rate, an equity return, or a credit event.
You can treat a swap as a package of forward contracts that all start on the same day. Each payment date is a separate forward settlement, and every one of those forwards is priced so that the package as a whole has zero value at the start. Neither party pays anything to enter the swap.
Swaps are customized and traded OTC. They are not standardized or exchange-traded, so each party carries credit risk toward the other. The four common types are:
| Type | Cash flow exchanged | Typical use |
|---|---|---|
| Interest rate swap | Fixed rate against floating rate | Convert floating debt to fixed, or the reverse |
| Currency swap | Interest in one currency against interest in another | Fund in a foreign currency |
| Equity swap | Equity return against a fixed or floating rate | Gain equity exposure without owning the shares |
| Credit default swap | Periodic premium against a payment after a default | Transfer credit risk |
The plain vanilla interest rate swap
In a plain vanilla interest rate swap, one party pays a fixed rate and the other pays a floating rate. Both rates apply to the same notional principal, which is a reference amount used only to calculate payments.
- The fixed-rate payer is also called the "long" swap. This party benefits when floating rates rise, because it receives more than it pays.
- The floating-rate payer is the "short" swap. It benefits when floating rates fall.
- The notional principal is not exchanged. Only interest is calculated on it.
- Payments are netted. On each date, only the difference changes hands.
- The floating rate is set at the start of each period and paid at the end. This convention is called setting in advance, paying in arrears.
Calculating the net payment
For each period, the net payment is the notional principal times the difference between the floating and fixed rates, divided by the number of payment periods per year. A positive result means the fixed-rate payer receives money.
def net_payment(notional, fixed_rate, floating_rate, periods_per_year=1):
"""Net payment to the fixed-rate payer; a negative value means it pays."""
return notional * (floating_rate - fixed_rate) / periods_per_year
notional = 10_000_000
fixed = 0.03
for floating in (0.028, 0.031, 0.034, 0.036):
pay = net_payment(notional, fixed, floating, periods_per_year=4)
print(f"{floating:.1%} -> {pay:,.2f}")
# 2.8% -> -5,000.00
# 3.1% -> 2,500.00
# 3.4% -> 10,000.00
# 3.6% -> 15,000.00This is a quarterly swap, so each rate is divided by 4. When the floating rate is 2.8%, the fixed-rate payer owes 5,000 net. At 3.6% it receives 15,000. Real contracts use day-count conventions such as actual/360, but the logic is the same.
Why firms use swaps
Suppose a company borrows at a floating rate and wants predictable interest costs. It enters a swap in which it pays fixed and receives the floating reference rate. The floating payments it receives offset the floating interest on its loan, so its net cost becomes the fixed rate plus any spread on the loan.
The loan and the swap are separate contracts. The swap does not change the loan. It only changes the company's net exposure.
Other uses:
- A bank with floating-rate liabilities and fixed-rate assets can swap to reduce its mismatch.
- An investor can change the interest rate exposure of a portfolio without selling bonds.
Value at initiation and afterward
At initiation, the fixed rate is set so the swap has zero value to both sides. This rate is the swap fixed rate, or par swap rate. After initiation, the swap's value changes as market rates change.
- If market rates rise, the fixed-rate payer's position gains value. The payer is locked into a below-market fixed rate.
- If market rates fall, the fixed-rate payer's position loses value.
The next chapter shows how to find the swap fixed rate and the later value from discount factors.
Credit risk and settlement
Because swaps are OTC, the party owed money bears counterparty credit risk. Only the party with a positive swap value is exposed. Netting reduces the exposure to the difference between the payments, not the gross amounts. Many swaps are now cleared through central counterparties, which collect margin in a way similar to futures.
Common errors
- Treating the notional principal as a payment. In a plain vanilla interest rate swap it is never exchanged.
- Using the current floating rate to pay on the same date. The rate is set at the start of the period, so the rate that applies was known when the period began.
- Forgetting to scale by the payment frequency. A quarterly swap uses one quarter of the annual rate.
- Mixing up long and short. The fixed-rate payer is long the swap, even though it pays the "fixed" side.
Exercise
A company has a floating-rate loan costing the reference rate plus 1.5%. It enters a plain vanilla swap in which it pays a fixed rate of 4.0% and receives the reference rate. What is its effective annual borrowing cost, ignoring the swap's credit risk, and is it the long or the short swap?
Show answer
The reference rate it receives from the swap cancels the reference rate it pays on the loan, so its cost is 4.0% + 1.5% = 5.5%. It pays fixed, so it is the fixed-rate payer, which is the long swap.
Exercise
A swap has a notional principal of 20,000,000 and pays semiannually. The fixed rate is 3.2%, and the floating rate set at the start of the period is 3.0%. What is the net payment, and who makes it?
Show answer
Net payment = 20,000,000 x (0.030 - 0.032) / 2 = -20,000. The negative sign means the fixed-rate payer pays 20,000 to the floating-rate payer.