interest rate swap calculator

Interest Rate Swap Valuation Tool

Estimate fixed-leg value, floating-leg value, and net present value (NPV) for a plain-vanilla fixed-for-floating interest rate swap.

Period Fixed Cash Flow Floating Cash Flow Net Cash Flow Discount Factor PV of Net Cash Flow

What is an interest rate swap?

An interest rate swap is a derivative contract where two parties exchange interest payments on the same notional amount. In the most common structure, one side pays a fixed rate while the other pays a floating rate (such as SOFR-based payments plus a spread). No principal is exchanged in a standard plain-vanilla swap; only the periodic interest cash flows are netted and settled.

Companies, banks, and investors use swaps to manage interest rate exposure. For example, a borrower with floating-rate debt may enter a pay-fixed swap to lock in predictable financing costs. Another investor may receive fixed to gain exposure to falling rates.

How this calculator estimates swap value

This tool uses a straightforward discounted cash flow approach:

PVfixed = Σ (Notional × Fixed Rate × Δt × DFt)
PVfloat = Σ (Notional × (Floating Rate + Spread) × Δt × DFt)
NPV = PV(received leg) - PV(paid leg)

It assumes a constant expected floating rate and a single discount rate across all periods. That makes it fast and useful for scenario analysis, budgeting, and educational purposes.

Interpretation of NPV

  • Positive NPV: favorable value for your selected position.
  • Negative NPV: unfavorable value for your selected position.
  • Near zero NPV: swap is close to fair value under your assumptions.

Input guide

  • Notional Amount: The principal used only to calculate interest payments.
  • Your Position: Choose whether you pay fixed or receive fixed.
  • Fixed Rate: Annual fixed coupon for the fixed leg.
  • Expected Floating Rate: Annualized average forecast of floating coupons.
  • Floating Spread: Extra basis points added to/subtracted from the floating leg.
  • Discount Rate: Rate used to bring future cash flows to present value.
  • Swap Term: Contract maturity in years.
  • Payments Per Year: Frequency of settlements (annual, semiannual, quarterly, monthly).

Worked example

Suppose a company enters a 5-year, semiannual swap on a $10 million notional. It pays fixed at 4.25% and expects to receive floating at 4.80%, using a 4.50% discount rate.

In this case, each semiannual fixed payment is roughly: $10,000,000 × 4.25% × 0.5 = $212,500. Floating payments are estimated at: $10,000,000 × 4.80% × 0.5 = $240,000. The net per period before discounting is approximately $27,500 in favor of the pay-fixed/receive-floating side.

The calculator discounts each period and sums the values, producing an estimated NPV and detailed period-by-period table.

Why professionals use swap calculators

1) Hedging floating-rate debt

A corporation with variable-rate loans can convert uncertain payments into fixed obligations, reducing earnings volatility.

2) Asset-liability management

Financial institutions match the interest rate sensitivity of assets and liabilities by adding receive-fixed or pay-fixed swaps.

3) Macro rate views

Investors can express expectations on the path of future rates without trading underlying bonds directly.

Important assumptions and limitations

  • This is a simplified model, not a full dealer-grade pricing engine.
  • It uses a flat expected floating rate, rather than a forward curve by date.
  • It uses one discount rate, rather than a full discount factor term structure.
  • It does not model credit valuation adjustment (CVA), funding valuation adjustment (FVA), or collateral terms.
  • Day-count conventions and reset conventions are approximated via payment frequency.

For real transactions, combine this quick estimate with market curves, legal terms (ISDA/CSA), and risk controls.

Practical tips for better analysis

  • Run multiple scenarios (base, rising-rate, falling-rate).
  • Stress discount rate and floating rate assumptions separately.
  • Check break-even fixed rate versus quoted swap market levels.
  • Use the schedule table to spot timing concentration in cash flows.

Frequently asked questions

Is this calculator suitable for accounting entries?

It is best for estimation and learning. Accounting and hedge documentation need institution-specific conventions and controls.

Can I use negative spread values?

Yes. Enter a negative basis-point spread to model floating leg coupons below the benchmark rate.

Does notional get exchanged?

In a standard plain-vanilla interest rate swap, no. The notional is only a reference amount for interest calculations.

🔗 Related Calculators