Interest Rate Swaps - Fundamentals › The Plain-Vanilla Interest Rate Swap

Michael BrenndoerferNovember 16, 202512 min read
Quantitative FinanceAll chapters
Part 4 of 15Swaps and Credit Derivatives
Chapter 20Interest Rate Swaps - Fundamentals › The Plain-Vanilla Interest Rate Swap
Reading section 2 of 10 · The Plain-Vanilla Interest Rate Swap · 12 minSection 2 of 10 · 12 min

Book contents

Section 2 of 10 · 12 min read

Interest Rate Swaps - Fundamentals › The Plain-Vanilla Interest Rate SwapOne section · Sections in this chapter2 / 10 ↓
Reading tools Definitions & inline links

Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.

Article links

Make inline references clickable

The most common type of interest rate swap is the plain-vanilla swap, where one party pays a fixed interest rate while receiving a floating rate tied to a reference index. Despite the name suggesting something simple, understanding the mechanics requires careful attention to several components. The "vanilla" designation indicates standardization rather than simplicity: these swaps follow well-established market conventions that have evolved over decades of trading, making them the benchmark against which all other swap structures are measured.

Swap Structure and Cash Flow Mechanics

In a plain-vanilla interest rate swap, two parties agree to exchange interest payments on a specified notional principal amount for a defined period. The key insight, and one that distinguishes swaps from loans or bonds, is that the notional principal itself is never exchanged. It serves only as the basis for calculating interest payments. This feature makes swaps fundamentally different from debt instruments: there is no transfer of capital at inception, no repayment at maturity, and no credit extended in the traditional sense. Instead, the parties are simply agreeing to exchange streams of payments calculated on a hypothetical principal amount.

Notional Principal

The notional principal is the hypothetical amount used to calculate swap payments. Unlike a loan, this amount is never transferred between parties. It simply determines the size of the interest payments being exchanged.

Consider a swap with a notional principal of $100 million. The fixed-rate payer agrees to pay, say, 4% per year on this notional, while receiving floating-rate payments based on a reference rate. If the floating rate happens to be 3.5% for a particular period, the fixed-rate payer pays $4 million annually while receiving $3.5 million. Rather than making gross payments in both directions, parties typically settle the net difference: the fixed-rate payer would pay $500,000 to the floating-rate payer. This netting convention reduces operational complexity and, more importantly, reduces the credit exposure between counterparties since only the smaller net amount changes hands.

Understanding the essential parameters of a swap sets up all subsequent analysis. Each parameter affects either the timing of cash flows, their magnitude, or both:

  • Notional principal: The amount on which interest calculations are based. Common sizes range from $10 million to billions of dollars. The notional determines the scale of all payments, so a 1 basis point movement in rates has ten times the dollar impact on a $100 million notional compared to a $10 million notional.
  • Trade date: When the parties agree to the swap terms. This is the date when economic exposure begins, even though cash flows may not start immediately.
  • Effective date: When interest begins accruing, typically two business days after the trade date. This standard settlement convention, known as "T+2," allows time for documentation and operational processing.
  • Maturity date: When the swap terminates and final payments are exchanged. Swap maturities can range from a few months to 30 years or more.
  • Fixed rate: The predetermined rate paid by the fixed-rate payer, also called the swap rate. This rate is set at inception to make the swap's initial value close to zero, meaning neither party pays the other to enter the contract.
  • Floating rate index: The reference rate that determines floating payments, historically LIBOR, now increasingly SOFR. The choice of index affects both the level and volatility of floating payments.
  • Payment frequency: How often payments are exchanged, which may differ between the fixed and floating legs. Mismatched frequencies create periods where one leg pays and the other does not.
  • Day count convention: The method for calculating the fraction of a year for each payment period. Different conventions can result in materially different payment amounts for the same rate.

The Fixed Leg

The fixed leg of a swap involves payments at a predetermined rate that remains constant throughout the life of the swap. The fixed-rate payer knows exactly what their payments will be from the outset, making this leg straightforward to calculate. This certainty is precisely why many hedgers prefer to pay fixed: they can budget for known interest costs regardless of how market rates evolve. The fixed leg turns uncertainty into predictability, which has large value for corporate treasurers and financial planners.

The calculation of fixed payments follows a straightforward formula that incorporates both the agreed rate and the time period for which interest accrues. The fixed payment for each period is:

Fixed Payment=Notional×Fixed Rate×Days in PeriodDays in Year\text{Fixed Payment} = \text{Notional} \times \text{Fixed Rate} \times \frac{\text{Days in Period}}{\text{Days in Year}}

where:

  • Notional\text{Notional}: the principal amount used as the basis for calculations
  • Fixed Rate: the predetermined interest rate agreed upon at inception
  • Days in Period: number of days in the specific accrual period
  • Days in Year: number of days in a year according to the day count convention (e.g., 360)

The formula reveals the modular nature of interest calculations: the notional scales the payment size, the fixed rate determines the annualized percentage, and the day count fraction adjusts for the specific time period. This structure allows us to compare rates across different payment frequencies and day count conventions by normalizing everything to an annual basis.

The day count convention determines how we measure the period length. For U.S. dollar swaps, the fixed leg typically uses the 30/360 convention, which assumes each month has 30 days and each year has 360 days. This simplifies calculations and standardizes payments across different months. Under this convention, February is treated as having 30 days rather than 28 or 29, and months with 31 days are shortened to 30. While this may seem arbitrary, the convention evolved because it makes payment amounts more predictable and easier to calculate by hand, which mattered greatly before computers became ubiquitous.

Under the 30/360 convention, a semi-annual payment on a $100 million notional with a 4% fixed rate would be calculated as follows. Since six months equals 180 days under this convention, and the year contains 360 days, the fraction of the year is exactly 0.5:

Fixed Payment=$100,000,000×0.04×180360=$2,000,000\text{Fixed Payment} = \$100,000,000 \times 0.04 \times \frac{180}{360} = \$2,000,000

This payment would occur every six months throughout the life of the swap, and gives the fixed-rate payer with complete certainty about their future obligations.

The Floating Leg

The floating leg involves payments that reset periodically based on a reference interest rate. This creates uncertainty about future payments, which is precisely what makes swaps useful for hedging and speculation. While the fixed-rate payer knows all their payments at inception, the floating-rate payer only knows each payment shortly before it comes due. This asymmetry of information reflects the fundamental difference between the two legs: one provides certainty, the other provides market exposure.

The floating payment calculation mirrors the fixed leg structure but substitutes the observed reference rate for the predetermined fixed rate. The floating payment for each period is:

Floating Payment=Notional×Floating Rate×Days in PeriodDays in Year\text{Floating Payment} = \text{Notional} \times \text{Floating Rate} \times \frac{\text{Days in Period}}{\text{Days in Year}}

where:

  • Floating Rate\text{Floating Rate}: the value of the reference index (e.g., SOFR) for the period
  • Notional\text{Notional}: the principal amount (same as fixed leg)
  • Days in Period: actual number of days in the accrual period
  • Days in Year: typically 360 for floating legs (Actual/360 convention)

The parallel structure between fixed and floating payment formulas is intentional and important. Both calculations follow the same logic: multiply the notional by a rate and by a time fraction. This structural similarity allows for clean netting of payments and straightforward comparison of the two legs.

For floating legs, the day count convention is typically Actual/360, meaning the actual number of days in the period is divided by 360. This difference in day count conventions between fixed and floating legs is a common source of confusion but reflects market conventions that evolved over decades. The Actual/360 convention means that a 91-day quarter accrues slightly more than one-quarter of annual interest (91/360 = 25.28% rather than 25%), while the 30/360 convention would treat the same quarter as exactly 90/360 = 25%. Over a full year, these differences can result in the floating leg paying slightly more total days of interest than the fixed leg, creating a small systematic bias that market participants account for in pricing.

Rate Setting and Payment Timing

Floating rates are typically determined at the beginning of each period but paid at the end. This "in arrears" structure means the first floating payment is known at the swap's inception, while subsequent payments depend on future rate observations.

Out[2]:
Visualization
Grouped bar chart comparing monthly day count fractions for the 30/360 and Actual/360 conventions across all twelve months of the year.
Day count fraction comparison for 30/360 and Actual/360 conventions. The Actual/360 method reflects calendar variations across months, resulting in a higher annual sum compared to the uniform 30/360 approach.

Reference Rates: From LIBOR to SOFR

For decades, the London Interbank Offered Rate (LIBOR) served as the dominant reference rate for floating-rate instruments worldwide. LIBOR represented the rate at which major banks could borrow unsecured funds from each other in the interbank market. Published daily for multiple currencies and tenors (overnight, 1 week, 1 month, 2 months, 3 months, 6 months, and 12 months), LIBOR became embedded in hundreds of trillions of dollars of financial contracts.

However, LIBOR had a fundamental flaw: it was based on estimates submitted by banks rather than actual transactions. This created opportunities for manipulation, which came to light in 2012 when several major banks were found to have submitted false rates. The scandal prompted regulators worldwide to mandate a transition away from LIBOR to transaction-based reference rates.

In the United States, the Secured Overnight Financing Rate (SOFR) emerged as LIBOR's replacement. SOFR is based on actual overnight repurchase agreement (repo) transactions collateralized by U.S. Treasury securities. Its reliance on observed transactions makes it harder to manipulate than LIBOR.

The key differences between LIBOR and SOFR include:

  • Credit component: LIBOR embedded a bank credit spread since it represented unsecured interbank lending. SOFR is a nearly risk-free rate since it's based on Treasury-collateralized transactions.
  • Term structure: LIBOR was published for various tenors. SOFR is inherently an overnight rate, though term SOFR rates have been developed.
  • Historical volatility: SOFR can be more volatile, especially around quarter-ends when repo markets experience stress.

The LIBOR to SOFR transition, largely completed by mid-2023, required adjustments to swap contracts. Since SOFR is typically lower than LIBOR (lacking the credit spread), legacy contracts needed spread adjustments to maintain economic equivalence.

In[3]:
Code
from datetime import date, timedelta

import numpy as np
import pandas as pd

# Example: Simulating reference rates over a 2-year period
np.random.seed(42)

# Generate quarterly dates for a 2-year swap
start_date = date(2024, 1, 1)
dates = [start_date + timedelta(days=91 * i) for i in range(9)]  # 8 quarters

# Simulate a floating rate path (starting at 4.5%, with some randomness)
initial_rate = 0.045
rate_changes = np.random.normal(0, 0.003, 8)
floating_rates = [initial_rate]
for change in rate_changes:
    new_rate = max(
        0, floating_rates[-1] + change
    )  # Rates can't go negative (in this simple model)
    floating_rates.append(new_rate)

rate_df = pd.DataFrame(
    {"Date": dates, "Floating Rate (%)": [r * 100 for r in floating_rates]}
)
Out[4]:
Console
Simulated Quarterly Floating Rates:
      Date  Floating Rate (%)
2024-01-01           4.500000
2024-04-01           4.649014
2024-07-01           4.607535
2024-09-30           4.801842
2024-12-30           5.258750
2025-03-31           5.188504
2025-06-30           5.118263
2025-09-29           5.592027
2025-12-29           5.822258

This simulation shows how floating rates might evolve over the life of a swap. At inception, only the first period's floating rate is known. Each subsequent rate is determined at the start of its payment period.

Out[5]:
Visualization
Line chart of a simulated quarterly floating rate over eight periods, with shaded regions marking the known inception rate and the uncertain future path.
Simulated floating rate path over a two-year swap period. The trajectory demonstrates how rates evolve from a known starting point into uncertain future values, illustrating the volatility that swaps help manage.