Corporate Treasury & Risk Lab

Interest Rate Swap (IRS) & Hedging Calculator

Model plain vanilla fixed-for-floating interest rate swaps, calculate par swap rates, evaluate mark-to-market (MtM) Net Present Value, and hedge corporate debt against rate shocks.

1. Swap Contract & Market Parameters

$
Reference principal upon which periodic interest payments are computed.
years
Contract duration (standard tenors: 1, 2, 3, 5, 7, 10, 15, 30 years).
Standard convention is semiannual for fixed leg, quarterly/semiannual for floating.
Pay-Fixed hedges against rising rates; Receive-Fixed benefits from falling rates.
% / year
Agreed fixed coupon locked into the derivative contract.
% / year
Spot benchmark index setting for the current settlement period.
% / year
Prevailing market fixed rate for a new replacement swap of identical remaining tenor.

2. Swap Valuation & Cash Settlement Metrics

In-The-Money (Asset)
Mark-to-Market NPV
+$384,120
+1.54% of Notional
Next Period Net Settlement
+$62,500
Net Receipt
Annual Fixed Leg Cash
$1,062,500
$531,250 / period
Annual Floating Leg Cash
$1,187,500
$593,750 / period

Corporate Debt Synthesization Breakdown

Underlying Debt Obligation: Floating: SOFR + 1.50%
Swap Leg Exchange: Pay 4.25% Fixed, Receive SOFR
Synthesized Fixed Borrowing Rate: 5.75% Fixed All-In

3. Periodic Cash Settlement & Discount Factor Schedule

Period Year Fixed Leg ($) Floating Leg ($) Net Cash Flow ($) Discount Factor Present Value ($)

4. Mark-to-Market NPV Sensitivity: Market Rate Shift vs. Notional Exposure

Portfolio Net Present Value ($) across market interest rate curve parallel shifts (-200 bps to +200 bps).

  Current market state highlighted in light blue. Positive values indicate an asset (in-the-money); negative values indicate a liability (underwater).

Managerial & Financial Engineering Mechanics: Interest Rate Swaps

The Par Swap Rate & Annuity PV

At inception, a plain vanilla interest rate swap is an exchange of two bond structures with identical notional amounts: a fixed-rate bond and a floating-rate note (FRN). Since a floating-rate note priced at par resets to par on every coupon date, its value is simply \( P_{\text{floating}} = N \). To ensure \( \text{NPV} = 0 \) at contract initiation, the fixed coupon \( R_{\text{swap}} \) must satisfy:

$$R_{\text{swap}} = \frac{1 - P(0, T_n)}{\sum_{i=1}^n \tau_i \cdot P(0, T_i)} = \frac{1 - P(0, T_n)}{A(0, T_n)}$$ $$\text{where } P(0, T_i) = \frac{1}{(1 + y/k)^{i}}, \quad A(0,T_n) = \text{Swap Annuity factor}$$

The denominator \( A(0, T_n) \) represents the present value of a 1 basis point annuity (PV01 / DV01), determining the sensitivity of swap value to interest rate shifts.

Mark-to-Market (MtM) Valuation & Hedging

After inception, interest rate curves shift continuously. If prevailing market swap rates rise to \( R_{\text{market}} \), a corporate borrower who entered a Pay-Fixed swap at \( R_{\text{contract}} \) holds a valuable asset because they pay below-market fixed interest while receiving high floating payments. The mark-to-market NPV equals the discounted difference between contracted and current market fixed rates:

$$\text{MtM}_{\text{Pay-Fixed}} = N \times (R_{\text{market}} - R_{\text{contract}}) \times \sum_{i=1}^n \tau_i \cdot P(0, T_i)$$ $$\text{MtM}_{\text{Receive-Fixed}} = -\text{MtM}_{\text{Pay-Fixed}}$$

This derivative gain directly offsets the increased borrowing costs incurred on the corporation's underlying floating-rate bank loans.

Frequently Asked Questions

A plain vanilla interest rate swap is an over-the-counter (OTC) financial derivative contract in which two counterparties agree to exchange periodic interest payments based on a specified notional principal amount. One counterparty pays a fixed interest rate (Payer Swaption / Pay-Fixed) while receiving a floating rate (such as SOFR or EURIBOR), and the other counterparty receives the fixed rate and pays floating (Receive-Fixed).

The par swap rate is the fixed rate that sets the initial market value (NPV) of the swap to exactly zero at inception. It is calculated by equating the present value of the fixed leg to the present value of the floating leg: R_swap = (1 - P(0,T_n)) / sum(tau_i * P(0,T_i)), where P(0,T_i) is the zero-coupon bond discount factor for maturity T_i, and tau_i is the day-count fraction for period i.

A borrower with floating-rate debt (e.g., SOFR + 1.50%) faces cash flow volatility when central banks hike rates. By entering into a Pay-Fixed swap (paying a fixed rate R_fixed and receiving SOFR), the SOFR receipts cancel out the SOFR debt obligation, effectively synthesizing a fixed borrowing rate of R_fixed + 1.50% and immunizing the business against interest rate increases.

Mark-to-market (MtM) value is the current net replacement cost of the swap if terminated today. For a pay-fixed swap, if benchmark market swap rates rise above the contracted fixed rate, the swap has a positive asset value (gain), because the holder receives higher market floating rates while paying a below-market fixed coupon. If rates fall, the MtM becomes a liability (loss).

No. In standard single-currency interest rate swaps, the notional principal amount is never exchanged between counterparties. It serves solely as the theoretical dollar base against which periodic fixed and floating interest payments are calculated and netted.