Explaining vanilla interest rate swap valuation
A vanilla interest rate swap involves exchanging fixed-rate payments for floating-rate payments on a notional principal. The fixed leg pays periodic fixed coupons, while the floating leg pays a reference rate (like LIBOR) resetting each period. At inception, the swap rate (fixed rate) is set so that the present value (PV) of fixed leg cash flows equals the PV of floating leg cash flows, making the swap's value zero. Conceptually, the PV of the fixed leg is the sum of discounted fixed coupons: ( \text{PV}{\text{fixed}} = \sum{i=1}^n \alpha_i \times S \times P(t_i) ), where ( \alpha_i ) are accrual factors, ( S ) is the swap rate, and ( P(t_i) ) are discount factors. The PV of the floating leg simplifies at inception to ( 1 - P(t_n) ), assuming the notional is 1 and payments align with discount periods. Therefore, the swap rate ( S ) satisfies:
[
S = \frac{1 - P(t_n)}{\sum_{i=1}^n \alpha_i P(t_i)}
]
ensuring the swap has zero initial value. This balance aligns the fixed leg's discount-weighted coupon payments with the expected floating leg payments implied by current discount factors and forward rates.
An interest rate swap is just an exchange of two sets of cashflows on a notional principal over an agreed schedule of reset/payment dates (t_1,\dots,t_N):
-
On the “fixed” leg you agree to pay (or receive) a constant coupon rate (K) applied to the notional (N) and the accrual factor for each period (\alpha_i). The deterministic cashflows are (N \times K \times \alpha_i) at each payment date.
-
On the “floating” leg you pay (or receive) the prevailing money–market rate for each accrual period, e.g. three‑month LIBOR or SOFR set at the start of the period and applied over ([t_{i-1},t_i]). The cashflows are (N \times L(t_{i-1},t_i) \times \alpha_i), which reset to current market levels each period.
To value either leg at time 0 you discount its expected cashflows back using the appropriate discount factors (P(0,t_i)) derived from today’s zero‑coupon curve. For example, the present value of the fixed leg is
[
\text{PV}\text{fixed} = N,K \sum{i=1}^N \alpha_i,P(0,t_i).
]
Under the usual no‑arbitrage assumptions the floating leg has a simple value: the PV of receiving the floating rate over the life of the swap is equal to (N) minus the discounted notional at maturity, because a floating‑rate note priced at par has that structure. In terms of discount factors,
[
\text{PV}_\text{float} = N\left(1 - P(0,t_N)\right).
]
The “par” swap rate (K^) is set at inception so that these two present values are equal, making the net value of the swap zero for both parties. Solving (\text{PV}\text{fixed} = \text{PV}\text{float}) for (K) gives
[
K^ = \frac{1 - P(0,t_N)}{\sum_{i=1}^N \alpha_i,P(0,t_i)}.
]
Once the swap is running, if market rates move away from (K^*) the difference between the current PV of the fixed and floating legs gives you the mark‑to‑market value to one side or the other.