Interest Rate Swaps: How They Work with Examples
The interest rate swap is the most widely traded over-the-counter (OTC) derivative in the world, with hundreds of trillions of dollars in notional value outstanding. Whether you’re studying for the CFA exam, working in fixed income, or managing corporate debt, understanding how interest rate swaps work is essential. This guide covers everything you need to know — what swaps are, how they’re structured, how to price and value them, and how they’re used for hedging. Swap pricing relies heavily on the spot rate and forward rate framework, so familiarity with those concepts will be helpful.
What Is an Interest Rate Swap?
At its core, an interest rate swap is an agreement between two parties to exchange interest payment obligations on a notional principal amount. The most common type — the plain vanilla interest rate swap — involves exchanging fixed-rate payments for floating-rate payments.
An interest rate swap is an OTC derivative contract in which two counterparties agree to exchange fixed-rate interest payments for floating-rate interest payments, calculated on a notional principal amount, over a specified period. The notional principal itself is never exchanged — only the net interest difference changes hands each period.
The floating rate in a swap is tied to a reference rate. Historically, most USD swaps referenced LIBOR, but following the global benchmark transition, the standard reference rate is now SOFR (Secured Overnight Financing Rate). While other swap structures exist — basis swaps, amortizing swaps, cross-currency swaps — this article focuses on plain vanilla fixed-for-floating swaps, which account for the vast majority of trading volume.
Plain Vanilla Swap Structure
A plain vanilla interest rate swap has two sides, or “legs,” each representing a stream of interest payments:
- Fixed leg: One party pays a predetermined fixed interest rate on the notional principal
- Floating leg: The other party pays a variable rate that resets periodically based on a reference rate (e.g., SOFR)
The two parties are identified by their relationship to the fixed leg:
In swap markets, “payer” and “receiver” always refer to the fixed leg. The fixed-rate payer pays fixed and receives floating — they benefit when rates rise. The fixed-rate receiver receives fixed and pays floating — they benefit when rates fall. Getting this convention right is critical for interpreting swap positions correctly.
| Term | Definition |
|---|---|
| Notional Principal | Reference amount for calculating interest payments (never exchanged) |
| Swap Rate | The fixed interest rate agreed upon at inception |
| Reference Rate | Floating-rate benchmark (e.g., SOFR, formerly LIBOR) |
| Tenor | Total length of the swap agreement (e.g., 5 years, 10 years) |
| Payment Frequency | How often payments are exchanged (annual, semi-annual, quarterly) |
| Reset Date | Date when the floating rate is determined for the next payment period |
On each payment date, only the net difference between the fixed and floating amounts is exchanged. If the fixed payment exceeds the floating payment, the fixed-rate payer makes a net payment to the receiver. If the floating payment exceeds the fixed, the receiver makes a net payment to the payer.
Market conventions: Common USD swap conventions include semi-annual fixed payments using the 30/360 day count and quarterly SOFR-based floating payments using Actual/360 — though conventions vary by product type and tenor. Unlike legacy LIBOR swaps that reset the floating rate in advance, SOFR swaps compound the overnight rate in arrears over each accrual period. For clarity, all examples in this article use annual payments with annual compounding — a simplification that isolates the core pricing mechanics.
Swap Pricing: The Swap Rate Formula
The swap rate is the fixed rate that gives the swap a value of exactly zero at inception — neither party has an advantage when the contract begins. This rate is determined by the current term structure of interest rates. All valuations in this article are presented from the fixed-rate payer’s perspective.
The intuition behind this formula: the swap rate is a weighted average of forward rates, where the weights are the discount factors for each payment period. In an upward-sloping yield curve, the swap rate falls between the shortest and longest forward rates.
At inception, both legs have equal present value, so Vswap = 0. After inception, as interest rates change, the swap’s value moves in favor of one party. If rates rise above the original swap rate, the fixed-rate payer benefits (receives higher floating payments); if rates fall, the fixed-rate receiver benefits. For a deeper look at how spot rates and forward rates are derived from the yield curve, see our dedicated guide.
Interest Rate Swap Example
Setup: Two parties enter a 5-year interest rate swap with a notional principal of $10,000,000 and annual payments. Party A is the fixed-rate payer (pays fixed, receives floating). Party B is the fixed-rate receiver (receives fixed, pays floating). All values are shown from Party A’s (fixed-rate payer’s) perspective.
Step 1: Obtain the spot curve and calculate discount factors
We use a hypothetical Treasury spot curve as a simplification. In practice, swap pricing typically uses the OIS (SOFR) curve for discounting.
| Maturity | Spot Rate (st) | Discount Factor (DFt) |
|---|---|---|
| 1 Year | 4.00% | 0.9615 |
| 2 Years | 4.25% | 0.9201 |
| 3 Years | 4.50% | 0.8763 |
| 4 Years | 4.75% | 0.8306 |
| 5 Years | 5.00% | 0.7835 |
Sum of discount factors = 0.9615 + 0.9201 + 0.8763 + 0.8306 + 0.7835 = 4.3720
Step 2: Derive implied forward rates
These forward-implied rates represent the market-consistent floating rates for each future period. They are derived from the no-arbitrage relationship between spot rates — not predictions of where rates will actually be (see spot rates and forward rates).
| Period | Forward Rate | Implied Floating Payment |
|---|---|---|
| Year 1 | 4.00% | $400,000 |
| Year 2 | 4.50% | $450,000 |
| Year 3 | 5.00% | $500,000 |
| Year 4 | 5.50% | $550,000 |
| Year 5 | 6.00% | $600,000 |
Step 3: Calculate the swap rate
Swap Rate = (1 − DF5) / ΣDF = (1 − 0.7835) / 4.3720 = 0.2165 / 4.3720 = 4.95%
Fixed payment per year = 4.95% × $10,000,000 = $495,000
Step 4: Net payment schedule
Negative values indicate the fixed-rate payer makes a net payment; positive values indicate the fixed-rate payer receives a net payment.
| Year | Fixed Payment | Floating Payment | Net to Fixed Payer |
|---|---|---|---|
| 1 | $495,000 | $400,000 | −$95,000 |
| 2 | $495,000 | $450,000 | −$45,000 |
| 3 | $495,000 | $500,000 | +$5,000 |
| 4 | $495,000 | $550,000 | +$55,000 |
| 5 | $495,000 | $600,000 | +$105,000 |
Interpretation: With an upward-sloping yield curve, the fixed-rate payer makes net payments in the early years (when forward rates are below the swap rate) and receives net payments in later years (when forward rates exceed the swap rate). At inception, the present value of all net payments is approximately zero — neither party has an advantage.
How Swaps Are Used for Hedging
Interest rate swaps are among the most versatile hedging tools in fixed income markets. Here are three common use cases:
1. Locking in a fixed borrowing cost. A company with floating-rate debt (e.g., a SOFR-based bank loan) enters the swap as the fixed-rate payer. The floating payments received from the swap offset the variable loan interest, leaving the company with a predictable, fixed net cost of borrowing.
2. Converting fixed-rate debt to floating. A company with fixed-rate bonds outstanding enters the swap as the fixed-rate receiver. The fixed payments received from the swap offset the bond coupon payments, and the company’s net exposure becomes the floating rate paid on the swap — useful when the company expects rates to decline.
3. Adjusting portfolio duration. Portfolio managers use interest rate swaps to change the effective duration of a bond portfolio without buying or selling the underlying bonds. Entering as a fixed-rate payer (economically similar to shorting a fixed-rate bond) reduces portfolio duration. Entering as a fixed-rate receiver increases it. For a full framework on duration-based hedging strategies, see our guide on interest rate risk.
| Hedging Objective | Swap Position | Result |
|---|---|---|
| Lock in fixed borrowing cost | Fixed-rate payer | Floating debt → effectively fixed |
| Convert fixed debt to floating | Fixed-rate receiver | Fixed debt → effectively floating |
| Reduce portfolio duration | Fixed-rate payer | Lower sensitivity to rate increases |
| Increase portfolio duration | Fixed-rate receiver | Higher sensitivity to rate decreases |
Swaps don’t require buying or selling the underlying bonds, making them capital-efficient. Institutions can adjust interest rate exposure quickly without disrupting existing portfolio holdings — a key reason swaps are the most widely used interest rate derivative.
Interest Rate Swaps vs Forward Rate Agreements
Both interest rate swaps and forward rate agreements (FRAs) are OTC derivatives used to manage interest rate exposure, but they differ in scope and structure:
Interest Rate Swap
- Exchanges fixed for floating over multiple periods
- Net payments exchanged on each payment date
- Used for long-term rate hedging and speculation
- Essentially a series of FRAs bundled into one contract
- Common tenors: 2, 5, 10, 30 years
Forward Rate Agreement (FRA)
- Locks in a rate for a single future period
- Single cash settlement at the start of the reference period
- Used for short-term rate exposure management
- Simpler structure with one settlement calculation
- Common tenors: 3×6, 6×12 (months)
The key conceptual link: a plain vanilla interest rate swap can be decomposed into a series of FRAs. Each payment period of the swap is economically equivalent to a separate FRA at the corresponding forward rate. In our example above, the 5-year swap is equivalent to five individual FRAs — one for each annual period, each locking in the respective forward rate (4.00%, 4.50%, 5.00%, 5.50%, 6.00%). When choosing between the two instruments, consider the exposure profile: use a single FRA for an isolated, known-date exposure, and a swap when the exposure recurs across multiple periods. For a detailed look at FRA pricing, notation, and settlement mechanics, see our complete guide on forward rate agreements.
How to Value an Interest Rate Swap
After inception, the value of a swap changes as interest rates move. To mark a swap to market at any point during its life, follow these steps:
- Obtain the current spot rate curve — use the relevant benchmark curve (e.g., SOFR OIS curve) as of the valuation date
- Calculate discount factors for each remaining payment date using the updated spot rates
- Derive current forward rates for each remaining floating payment period
- Calculate PV of the floating leg — sum of each forward rate × αt × notional × discount factor, where αt is the day count fraction for each accrual period (equals 1 for annual payments)
- Calculate PV of the fixed leg — sum of the original swap rate × αt × notional × discount factor for each remaining period
- Swap value = PV(floating leg) − PV(fixed leg) from the fixed-rate payer’s perspective
If rates have risen since inception, forward rates will be higher than the original swap rate, making the floating leg more valuable — the swap has positive mark-to-market (MTM) value for the fixed-rate payer and negative MTM for the receiver. If rates have fallen, the fixed leg is more valuable, and the swap has positive MTM value for the fixed-rate receiver. This daily MTM movement is what drives margin calls in centrally cleared swaps and collateral posting in bilateral agreements.
For a detailed video walkthrough of swap valuation, explore our Fixed Income Investing course.
Common Mistakes
These are the most frequent errors when working with interest rate swaps:
1. Confusing notional principal with exchanged amounts. The notional is a reference for calculating interest payments — it is never exchanged between counterparties. In a $10 million swap, neither party sends or receives $10 million. Only the net interest difference is settled each period.
2. Ignoring counterparty credit risk. Unlike exchange-traded derivatives, OTC swaps carry the risk that one counterparty defaults. Post-2008 regulations mandate central clearing for most standardized swaps between financial institutions, which reduces credit exposure through daily margining. Swaps that are not centrally cleared remain bilateral and are typically governed by ISDA agreements with collateral posting under a Credit Support Annex (CSA) — though collateral arrangements vary by counterparty type and jurisdiction.
3. Using the wrong discount curve. When pricing swaps that reference one index but are collateralized at a different rate — or when working with legacy IBOR-based swaps — it is important to distinguish between the projection curve (used to estimate future floating payments) and the discounting curve (used to present-value cash flows). For plain SOFR swaps collateralized at the fed funds rate, this distinction matters less, but in cross-index or multi-currency contexts, using a single curve for both projection and discounting can introduce meaningful pricing errors.
4. Confusing payer and receiver value direction. When rates rise, the fixed-rate payer gains and the receiver loses — not the other way around. The fixed-rate payer benefits from rising rates because the floating payments they receive increase while the fixed payments they make stay constant. Always state the perspective (payer vs. receiver) explicitly when quoting swap values to avoid sign errors.
5. Assuming swaps eliminate all interest rate risk. Swaps can create basis risk when the floating rate on the swap doesn’t perfectly match the rate on the underlying exposure being hedged. For example, hedging a prime-rate loan with a SOFR swap leaves residual exposure to changes in the prime-SOFR spread.
Limitations of Interest Rate Swaps
Interest rate swaps are subject to counterparty credit risk. Even with central clearing mandates for most standardized swaps, residual credit exposure exists through margin requirements and potential clearing house failure. Bilateral swaps carry additional credit risk, though most are collateralized under CSA agreements and uncleared margin rules (UMR).
Basis risk: The floating rate index on the swap may not match the rate on the underlying exposure being hedged. A bank hedging prime-rate loans with a SOFR swap retains exposure to changes in the prime-SOFR spread.
Mark-to-market volatility: As interest rates change, the swap’s value fluctuates — creating accounting volatility and potential margin calls even when the swap is an effective economic hedge of the underlying exposure.
Liquidity risk: Exiting a swap before maturity requires negotiating an early termination (with a settlement payment based on current market value) or entering an offsetting swap. Neither option is costless, and illiquid tenors or non-standard structures can make unwinding expensive.
Valuation complexity: Accurate swap valuation requires a full term structure of spot rates, the correct discounting curve (OIS vs. projection), and proper handling of day count conventions and payment schedules. Errors in any of these inputs propagate through the entire valuation.
Frequently Asked Questions
Disclaimer
This article is for educational and informational purposes only and does not constitute investment advice. The examples use simplified assumptions (annual compounding, hypothetical spot curves) for clarity. Actual swap pricing involves additional complexities including day count conventions, payment frequency adjustments, and OIS discounting. Always conduct your own analysis and consult a qualified financial advisor before making investment decisions.