Interest rate swap calculator
An interest-rate swap exchanges a fixed rate for a floating one on a notional that never changes hands. This calculator prices the annual net payment, discounts the stream to an NPV, and shows how the value moves with the floating rate.
| Item | Value |
|---|---|
| Fixed leg | $400,000 a year |
| Floating leg | $350,000 a year |
| Net | −$50,000 a year |
| Term | 5 years |
| NPV | -$222,591 |
A positive NPV means the swap is an asset to the fixed-rate payer at the assumed floating path.
N × (floating − fixed) · Only the difference is exchanged.
net × annuity factor · Discount each year at the swap curve.
floating = fixed · Where the swap is worth zero at inception.
A clear path from inputs to results.
An interest-rate swap exchanges a fixed rate for a floating one on a notional that never changes hands. This calculator prices the annual net payment, discounts the stream to an NPV, and shows how the value moves with the floating rate.
How to use
- Enter the notional.
- Set the fixed rate paid and the floating rate received.
- Choose the term and the discount rate.
- Read the annual net, the NPV and the break-even rate.
The formula
Reference: Single-curve swap valuation; break-even at the par swap rate.
Worked example
$10M, pay 4.0%, receive 3.5%, 5 years
- Notional $10,000,000.
- Fixed 4.0%, floating 3.5%.
- 5 years, 4% discount.
- 1
Annual net: 10,000,000 × (3.5% − 4.0%) = −$50,000.
- 2
Annuity factor at 4% for 5 years: 4.4518.
- 3
NPV: −50,000 × 4.4518 = −$222,591.
- 4
The swap is a liability to the fixed-rate payer while floating sits below fixed.
Pays $50,000 a year · NPV −$222,591.
Interpreting the result
The NPV is just the net payment times an annuity factor, which is why the break-even floating rate is exactly the fixed rate. What moves in practice is the floating leg and the discount curve, and both are repriced continuously in the market.
Assumptions & limitations
- Annual payments, no day-count conventions.
- Flat discount curve.
- No collateral, credit valuation adjustment or initial margin.
- Single-curve discounting.
Frequently asked questions
Who pays whom?
The fixed-rate payer pays fixed and receives floating; the net difference changes hands.
Does the notional change hands?
No. Only the net interest difference is exchanged.
Why is the NPV negative here?
Because the floating rate is below the fixed rate you agreed to pay.
Methodology last reviewed 2026-10-21. Results are informational and not financial or engineering advice — see our disclaimer.