Interest Rate Swap
An interest rate swap (IRS) is an over-the-counter contract in which two parties exchange interest payments. The payments are computed on a notional , a principal that never changes hands. They fall on set dates , often every six months. Let be the length of period in years. A swap has two legs.
- The fixed leg pays at each , where is the fixed rate written into the contract.
- The floating leg pays at each , where is the realized reference rate for .
Common reference rates are SOFR and IBOR rates such as EURIBOR. Only the difference between the legs changes hands. At each the fixed receiver gets the net amount below, and the fixed payer gets its negative,
Both rates use compounding at the payment frequency, so a six-month rate of pays . The date on which the floating rate becomes known depends on the reference rate.
- An IBOR or Term SOFR rate for is fixed at and paid at . Traders call this set in advance and paid in arrears.
- Compounded SOFR is built from the overnight rates realized during the period, so it is known only at . A swap with this floating leg is an overnight indexed swap (OIS).
Let be the discount factor from to today, taken from the discount curve (usually OIS). Let be today’s forward rate for period , except that the current period keeps the rate already set. The value to the fixed receiver has two equal forms.
- The FRA method treats the swap as a strip of forward rate agreements (FRAs) with one shared fixed rate .
- The bond method treats the swap as a long fixed-rate bond and a short floating-rate note (FRN). The fixed bond’s coupon rate is , and the FRN’s coupons follow .
Written out, the two methods give
Each term of the first sum is one FRA’s value. The face values cancel between the two bonds. The fixed payer holds . With one curve for the floating rate and the discounting, the FRN is worth par right after each reset. Between resets it is worth , where is the rate already set for the current period.The swap rate is the fixed rate that makes a new swap worth zero. It is a weighted average of the forward rates,
The weights are , and their sum is the annuity factor. A swap with is on-market and worth zero, though each FRA inside it can have a nonzero value. Once rates move, differs from the current swap rate and the swap is off-market.Firms use swaps to turn fixed-rate debt or assets into floating and back. They also use them to hedge rate risk and to bet on rates. Collateralized swaps are now usually discounted with OIS, which the market treats as risk free. So a swap on IBOR uses one curve for its forward rates and another for discounting. A swap is the multi-period version of an FRA, and a 2.2.5b Currency Swap adds principal exchanges in two currencies.
Notation for the Notional and the Two Bonds
Some texts write for the notional, for the fixed-rate bond, and for the floating-rate note. These notes write , , and . The notional matches 2.2.2e Forward Rate Agreement, and is the zero-coupon price that note writes as .
Intuition
Firms often earn income at one kind of rate and owe interest at the other. A bank that funds fixed-rate mortgages with floating-rate deposits loses money when rates rise. Refinancing every loan would be slow and costly. A swap lets the bank change the rate it pays without rewriting any loan. It needs no cash at the start, so the bank can hedge without raising new funds.
\usepackage{tikz}
\begin{document}
\definecolor{hot}{HTML}{D9483B}
\definecolor{grn}{HTML}{2F9E44}
\definecolor{mid}{HTML}{8A8A8A}
\begin{tikzpicture}[x=2.5cm,y=0.75cm,>=latex]
\draw[->] (-0.3,0) -- (4.75,0) node[right] {time};
\foreach \i in {0,...,4} {
\draw (\i,0.12) -- (\i,-0.12);
\node[below left] at (\i,-0.02) {$T_{\i}$};
}
\foreach \i/\j/\h in {1/0/1.5,2/1/2.3,3/2/1.9,4/3/2.7} {
\draw[->,very thick,grn] (\i,0) -- (\i,\h);
\node[above] at (\i,\h) {$+LR_M^{\j,\i}\tau_{\i}$};
\draw[->,very thick,hot] (\i,0) -- (\i,-1.6);
\node[below] at (\i,-1.6) {$-LR_S\tau_{\i}$};
\draw[->,thick,dashed,mid] (\j+0.05,0.15) to[bend left=35] (\i-0.08,0.15);
}
\node[above] at (0.46,0.62) {\scriptsize $R_M^{0,1}$ set at $T_0$};
\node[right] at (4.12,1.3) {\small floating, received};
\node[right] at (4.12,-1.1) {\small fixed, paid};
\end{tikzpicture}
\end{document}The timeline shows such a pay-fixed swap from the fixed payer’s side. Red arrows are the fixed payments, equal and known from the start. Green arrows are the floating receipts, whose sizes follow the market. Each dashed arc runs from the date a floating rate is fixed to the date it is paid. Nothing changes hands at . For each later date, the payer has locked in the rate on that date’s interest payment, as with an FRA. A single fixed rate cannot match every forward rate on a sloped curve. At the swap rate, the gains on some periods offset the losses on others.
Properties
(Reading the Timing) The payment at uses the rate fixed at , so the next IBOR payment is always known.
A common error is to use the rate observed on the payment date. With semiannual payments, the rate fixed at month 6 is paid at month 12. The rate fixed on the final date affects no payment, because no period follows it. In a valuation, the current period’s rate was fixed at the last reset. It enters the FRA sum as it is, and only later periods use forward rates. The discount factor uses the time from today to , which differs from between resets. Under compounded SOFR, the amount due at stays unknown until itself. So a firm learns the size of each payment only on the day it is due.
(Changing Fixed Into Floating) A swap switches a loan or an investment between fixed and floating rates without changing the original contract.
A firm with a floating loan at can enter a swap that pays and receives . Its cost per period is then
The paid to the lender cancels the received in the swap. So the cost stays fixed whatever the floating rate does. The spread stays with the loan. A firm with fixed debt at rate makes the opposite trade. It receives and pays , so its cost becomes . An investor holding a fixed-rate bond can pay fixed and receive , so its income floats. Swaps on many maturities trade so actively that dealers build yield curves from swap rates.
(Comparative Advantage) Two firms can both borrow more cheaply if each borrows where its cost gap is smaller and they swap.
Not Taught in Lecture
The modules name comparative advantage only as a reason for currency swaps. The interest rate version here is the standard textbook argument.
Firm A can borrow at fixed or SOFR . Firm B can borrow at fixed or SOFR . B pays points more than A for fixed debt but only points more for floating debt. So B has a comparative advantage in floating debt, and A in fixed debt. The gap between the gaps, points, is the total saving the two firms can share. Suppose A wants floating debt and B wants fixed debt. A borrows fixed at , and B borrows floating at SOFR . In the swap, B pays A fixed and A pays B SOFR. A’s net cost is SOFR , and B’s is a fixed . Each saves points. A bank in the middle can take part of the saving. Suppose the bank pays A and charges B . Each firm then saves points, and the bank keeps a year. B’s saving is less certain than it looks. Lenders reset B’s floating loan every period and can raise the spread if B’s credit worsens.
(One Curve or Two) The FRN is worth par at a reset only when one curve sets both the floating rate and the discounting.
A discount rate for derivatives must carry no default risk and be open to market participants. Treasury rates fail the second test, since only the US government borrows at them. SOFR and OIS rates come from secured overnight lending, so the market treats them as risk free. IBOR is a rate on unsecured loans between banks, so it carries bank credit risk. Before the 2008 crisis, banks built discount curves from LIBOR. After it, OIS and other secured rates replaced LIBOR for most collateralized derivatives. The discount rate can also depend on the collateral agreement, called the credit support annex (CSA). This practice is called differential discounting. A swap on IBOR discounted with OIS therefore uses two curves. Its IBOR forward rates come from the prices of traded IBOR swaps. Its FRN is worth , which is not at a reset. An OIS swap discounted on the OIS curve uses one curve, so the par shortcut holds for it.
(Off-Market Value) On a reset date, an old swap’s value depends on the gap between its fixed rate and today’s swap rate.
Take a reset date , right after that day’s payment. The rate set at equals today’s forward rate for the first period. By the definition of the swap rate, over the remaining dates. Substituting this into the FRA form gives
Here is the swap rate for the remaining dates and is their annuity factor. A fixed receiver gains when swap rates fall below its fixed rate, as a bondholder does. Between resets the first period pays a rate set earlier, so the formula fails and the FRA sum is needed. On an upward-sloping curve, the early forward rates sit below the swap rate and the late ones above it. So the fixed receiver of an on-market swap holds positive FRAs early and negative FRAs late.
(Contract Variations) Many swaps change the plain terms to fit a particular loan or view.
The notional can change over time, for example to follow a loan repaid in installments. The two legs can pay at different frequencies. The floating leg can carry a cap or a floor. A basis swap exchanges two floating rates. An extendable swap lets one side lengthen it, and a cancellable swap lets one side end it early. Firms use one swap instead of separate FRAs because one contract is easier to administer and cheaper to trade. Over-the-counter interest rate derivatives had about \668$ trillion of notional outstanding in June 2025. The figure comes from the Bank for International Settlements.
Derivation
We want the two valuation forms and the swap rate, from the fixed receiver’s side.
The swap is worth the present value of its net payments,
Here discounts the payment at to today. The floating rates for later periods are unknown today. An FRA that pays and receives costs nothing to enter. So receiving at is worth the same today as receiving . Replacing each unknown rate by its forward rate gives the FRA form. The current period keeps its known rate.
Next, add and subtract . The fixed coupons plus form , a bond with coupon rate and face . The floating coupons plus form . This gives .
With one curve, the forward rate satisfies , so . The sum in the FRN then telescopes,
The middle sum collapses to . On a reset date the newly set rate satisfies , so .
At inception, set the FRA form equal to zero and solve for the fixed rate. With one curve and , the numerator telescopes to , so
The denominator is the annuity factor, the value of receiving on every payment date.
Examples
(Easy) A Floating Loan Turned Fixed
A manufacturer has a \28+ 1.40%3.95%L \times \text{rate} \times 0.54.30%t = 03.70%t = 0.54.05%t = 13.50%t = 1.5$.
Find the firm's net swap payment and total interest on each date, and name the fixing that affects no payment. 28{,}000{,}000 \times 0.0395 \times 0.5 = \553{,}000L(R_M - R_S)(0.5) on each date, $$t = 0.5: +\49{,}000, \qquad t = 1: -$35{,}000, \qquad t = 1.5: +$14{,}000.$$ For example, 28{,}000{,}000(0.0430 - 0.0395)(0.5) = \49{,}000t = 0.528{,}000{,}000(0.0430 + 0.0140)(0.5) = $798{,}000798{,}000 - 49{,}000 = $749{,}000749{,}000 = 28{,}000{,}000 \times 0.0535 \times 0.53.95% + 1.40% = 5.35%3.50%t = 1.5$ affects no payment, because the swap ends that day.
Each payment uses the rate fixed six months earlier. The fixed leg costs
(Medium) Pricing a New Swap
A dealer quotes a new 2-year swap on \152.60%2.90%3.10%3.25%$ for 0.5, 1, 1.5, and 2 years. One curve sets both the floating rate and the discount factors. Both legs use semiannual compounding.
Find the swap rate, and value each of the four FRAs inside the swap for the fixed receiver. are , , , and . Each period has , so the annuity factor is . On one curve the swap rate is The forward rates follow from , with . With unrounded factors they are , , , and . FRA is worth to the fixed receiver. With unrounded rates, the four values are The two gains add to \51{,}438.52$, and the two losses add to the same amount. So the swap is worth zero at inception, as an on-market swap must be. The curve slopes upward, so the fixed receiver gains on the early periods and loses on the late ones.
The discount factors
(Hard) Valuing an Existing Swap Two Ways
A utility pays fixed and receives 6-month floating on \253.90%3.60%3.75%3.85%$ (13 months). Both legs use semiannual compounding.
Value the swap for the utility by the bond method and by the FRA method on one curve. Then revalue it with IBOR forwards of and , treating the zero curve as OIS. The discount factors are , , and . Every value below carries full precision. Recomputing from the rounded factors and rates shown can differ by up to about \15$.
Bond method. The fixed coupon is 25{,}000{,}000 \times 0.033 \times 0.5 = \412{,}500, and the fixed bond is worth $$B_{\text{fix}} = 412{,}500\,(0.997004 + 0.978363 + 0.959149) + 25{,}000{,}000 \times 0.959149 = \25{,}189{,}225.35.The next floating coupon is already set at $25{,}000{,}000 \times 0.039 \times 0.5 = \$487{,}500$. On one curve the FRN is worth par right after that payment. So the FRN is a sure $\$25{,}487{,}500$ in one month, worthB_{\text{fl}} = 25{,}487{,}500 \times 0.997004 = $25{,}411{,}152.08.$$
The utility pays fixed, so its swap is worth B_{\text{fl}} - B_{\text{fix}} = \221{,}926.73$.FRA method. The forward rates are for months 1 to 7 and for months 7 to 13. The first period uses the already set. The utility’s net receipts are \75{,}000.00$63{,}856.47$88{,}283.02$74{,}775.34$62{,}474.78$84{,}676.61$221{,}926.73$. The two methods agree.
Two curves. With IBOR forwards of and , the later net receipts become \112{,}500$131{,}250$110{,}065.78$125{,}888.37$74{,}775.34$310{,}729.49L\sum_i R_F^{i-1,i}\tau_i\text{DF}i + L,\text{DF}3 = $25{,}499{,}954.84B{\text{fl}} - B{\text{fix}}$310{,}729.49$25{,}411{,}152.08$, so it would miss the gap between IBOR and OIS forward rates.
See Also
- 2.2.2e Forward Rate Agreement, the single-period contract that each swap payment repeats.
- 2.2.5b Currency Swap, which exchanges principal and interest in two currencies.
- 2.2.5c Total Return Swap, whose fair fixed leg equals the swap rate.
- 2.2.5d Credit Default Swap, which also covers the loss when a swap counterparty defaults.
- 2.1.1a Bonds, for the fixed-rate bond in the bond method.
- 2.1.1f Yield Curves, for the zero rates and discount factors the valuation uses.