Interest Rate Swap Calculator

Calculate interest rate swap valuations, payments, risk metrics, and mark-to-market values.

Note

Important Financial Disclaimer

This calculator provides estimates based on standard financial formulas from verified references. Results are for informational and educational purposes only and should not be considered as professional financial, investment, or tax advice.

For important financial decisions such as loans, investments, mortgages, retirement planning, or tax matters, please consult with qualified financial advisors, certified financial planners, or licensed tax professionals who can review your specific situation.

Calculations may not account for all variables specific to your circumstances, local regulations, or current market conditions. Always verify results and consult professionals before making financial commitments.

Not a substitute for professional financial advice

Swap Position

$
%
%
%
years
%

Swap Mark-to-Market Value

$1.50M

Current position: asset

Net Payment
$135,000
DV01
$15,000

Payment Analysis

Fixed Leg Payment$531,250
Floating Leg Payment$666,250
Net per Period+$135,000
Annual Net$540,000

Risk Metrics

Swap Duration2.70 years
Breakeven Floating Rate4.250%
Impact of 100bp Rate Rise+$1.50M

Position Summary

  • - Paying fixed at 4.25%
  • - Receiving floating at 5.33%
  • - 12 payments remaining over 3 years
  • - Benefits from rising rates

What Is an Interest Rate Swap?

An interest rate swap (IRS) is a contractual agreement between two counterparties to exchange a series of interest payments on a specified notional principal amount over a defined term. No principal is exchanged โ€” only the net difference in interest obligations changes hands at each payment date. The most common structure is a plain vanilla swap, where one party pays a fixed rate and receives a floating rate (typically linked to SOFR, formerly LIBOR), while the other party does the reverse.

Banks, corporations, pension funds, and insurance companies use interest rate swaps extensively to manage interest rate risk. A company that borrowed at a floating rate can enter a pay-fixed, receive-floating swap to lock in predictable financing costs. Conversely, a bondholder receiving fixed coupon payments might enter a receive-fixed, pay-floating swap to profit when rates rise.

The notional principal is the reference amount used to calculate payment obligations. In a $50 million 4.25% fixed-for-floating swap, the fixed-rate payer owes $531,250 each quarter (50,000,000 ร— 0.0425 / 4), while the floating-rate payer owes a quarterly amount based on the current SOFR plus any agreed spread. Only the net payment actually flows between counterparties, dramatically reducing settlement risk.

Interest rate swaps trade over-the-counter (OTC) and, since the Dodd-Frank Act and EMIR, many standardized swaps must be centrally cleared through a clearing house such as LCH or CME. The global notional outstanding of interest rate derivatives exceeds $400 trillion, making this the single largest segment of the derivatives market by notional size.

Swap Valuation Formula and Key Metrics

Valuing an interest rate swap requires discounting all expected future net cash flows back to today. This calculator uses a simplified constant-rate assumption โ€” the current floating rate is held constant throughout the swap's remaining life โ€” which is appropriate for quick mark-to-market (MTM) estimates and educational purposes. More sophisticated models (e.g., the OIS discounting framework) project the forward curve rather than assuming a flat floating rate.

The swap mark-to-market value is the sum of present values of all future net payment obligations. A positive swap value (from the pay-fixed perspective) means the fixed-rate payer owes more than they receive โ€” a liability. A negative value means the counterparty owes more to you โ€” an asset. The calculator takes the absolute value and labels the direction separately.

The DV01 (dollar value of a basis point) is the approximate change in swap value for a one-basis-point (0.01%) parallel shift in interest rates. For this calculator: DV01 = Notional ร— Years ร— 0.0001. A $50M, 3-year swap has a DV01 of $15,000, meaning each 1bp move in rates changes the swap's value by roughly $15,000.

The breakeven floating rate is the rate at which the swap has zero net payment โ€” neither party owes the other anything at that level. It equals the fixed rate minus the floating spread.

Interest Rate Swap Calculation Formulas

fixedPayment = N ร— r_fixed / freq floatingPayment = N ร— (r_float + spread) / freq netPayment (pay-fixed) = fixedPayment โˆ’ floatingPayment Swap MTM = ฮฃแตขโ‚Œโ‚แต€ [ netPayment / (1 + r_discount / freq)โฑ ] DV01 = N ร— years ร— 0.0001 Swap Duration โ‰ˆ years ร— 0.9 Breakeven = r_fixed โˆ’ spread

Where:

  • N= Notional principal amount (e.g., $50,000,000)
  • r_fixed= Annual fixed rate as a decimal (e.g., 0.0425 for 4.25%)
  • r_float= Current floating rate as a decimal (e.g., SOFR)
  • spread= Floating-leg spread above benchmark as a decimal
  • freq= Payment frequency per year (2 = semi-annual, 4 = quarterly, 12 = monthly)
  • T= Total number of payment periods = years ร— freq
  • r_discount= Annual discount rate used to present-value cash flows
  • i= Period index (1 through T)
  • DV01= Dollar value of a basis point โ€” sensitivity to a 1bp rate move

Pay-Fixed vs. Receive-Fixed Positions

Understanding which leg you occupy in the swap is critical to interpreting results correctly. The two positions have mirror-image risk profiles.

Pay Fixed / Receive Floating

In this position you pay a fixed rate and receive the current floating rate (SOFR + spread). You benefit when floating rates rise above the fixed rate because your incoming floating payments exceed your outgoing fixed payments, generating positive net cash flow. Corporations with floating-rate debt often receive-floating on their loan while entering a pay-fixed swap, effectively converting their liability to a synthetic fixed rate.

Receive Fixed / Pay Floating

Here you receive the fixed rate and pay floating. You benefit when floating rates fall below the fixed rate. Investors holding fixed-rate bonds who want to profit from rising rates might pay-fixed in a swap โ€” their swap losses offset the mark-to-market gain on rising-rate positions elsewhere in their portfolio. Hedge funds and macro traders frequently use receiver swaps to express a rates-falling view.

The net payment per period shows the cash amount that actually changes hands. If you are pay-fixed at 4.25% and SOFR is at 5.33% (quarterly), on a $50M notional you pay $531,250 and receive $666,250 โ€” a net receipt of $135,000 per quarter. Across 12 quarterly periods (3 years), total undiscounted net receipts would be $1,620,000. The MTM value discounts those receipts back to today at the discount rate.

Position risk also matters: a pay-fixed position has positive duration risk exposure โ€” rising rates improve the position. Receive-fixed positions have negative duration โ€” falling rates are favorable. Swap duration here is approximated as years ร— 0.9, reflecting that fixed-leg cash flows are weighted toward the final periods while the floating leg reprices each period.

Swap Risk Metrics: DV01, Duration, and Sensitivity

Professional swap traders and risk managers rely on several standardized metrics to quantify interest rate exposure. This calculator surfaces the most widely used ones.

DV01 (Dollar Value of a Basis Point)

DV01 measures how much the swap's mark-to-market value changes when all interest rates shift by exactly one basis point (0.01%). A $50M, 3-year swap has DV01 = $50,000,000 ร— 3 ร— 0.0001 = $15,000. Portfolio managers aggregate DV01 across all positions to determine total rate sensitivity of their book. Regulators and risk systems use DV01 limits to constrain traders' interest rate exposure.

Impact of a 100bp Rate Shock

The calculator also shows the total undiscounted cash flow impact if floating rates rise by 100 basis points. This is calculated as: (newNetPayment โˆ’ currentNetPayment) ร— totalPeriods. For a pay-fixed position, rising rates increase your incoming floating payment, improving cash flow. For a receive-fixed position, rising rates increase your outgoing floating payment, hurting cash flow. This scenario analysis is the simplest form of interest rate stress testing.

Breakeven Floating Rate

The breakeven floating rate tells you at what level of floating rates your net payment is zero โ€” the swap is cost-neutral. It equals the fixed rate minus the floating spread (r_fixed โˆ’ spread). If your fixed rate is 4.25% and the spread is 0.25%, the breakeven is 4.00%. If SOFR falls below 4.00%, the pay-fixed position will result in net payments outward every period. This is the key hurdle rate for entering a swap.

Metric Formula Used What It Tells You
DV01 N ร— years ร— 0.0001 $ change per 1bp shift
Swap Duration years ร— 0.9 Interest rate sensitivity in years
Breakeven Rate r_fixed โˆ’ spread Floating rate at which net = 0
MTM Value ฮฃ netPayment ร— discount factor Current fair value of the swap

Practical Applications of Interest Rate Swaps

Interest rate swaps serve a wide range of hedging, speculation, and asset-liability management purposes across financial markets. Understanding the real-world contexts helps you correctly frame your inputs in this interest rate swap calculator.

Corporate Debt Management

Companies that have issued floating-rate debt (e.g., a revolving credit facility at SOFR + 1.5%) face earnings volatility when rates move. By entering a pay-fixed swap, they transform their variable interest expense into a predictable fixed cost, simplifying budgeting and reducing refinancing risk. The notional of the swap typically matches the outstanding loan balance, and the swap's maturity is aligned with the loan term.

Pension Fund and Insurance ALM

Pension funds have long-dated fixed liabilities (future benefit payments) funded by assets. If the asset duration is shorter than the liability duration, rising rates will hurt the liability less than the asset side โ€” a duration mismatch. Receiver swaps (receive-fixed) lengthen asset duration synthetically, helping close the gap without buying long-dated bonds outright.

Bank Balance Sheet Hedging

Commercial banks typically borrow short (demand deposits) and lend long (fixed-rate mortgages). This creates natural exposure to rising rates. Banks use pay-fixed swaps to hedge the earnings sensitivity of their loan portfolios, capping the cost of funds even if short-term rates rise sharply.

Speculative Rate Views

Macro hedge funds and proprietary desks take directional positions in interest rate swaps to express views on central bank policy. A fund expecting the Federal Reserve to cut rates aggressively would enter large receiver swaps โ€” profiting as the fixed payments they receive become increasingly valuable relative to the falling floating payments they owe.

SOFR Transition Context

Since June 2023, the overnight rate benchmark for US dollar swaps has been the Secured Overnight Financing Rate (SOFR), replacing the discontinued LIBOR. Most new swap contracts reference SOFR or a SOFR-based term rate. The floating rate input in this calculator represents the current SOFR or equivalent benchmark rate; use the spread field to add any applicable spread over the benchmark.

How to Use This Interest Rate Swap Calculator

This free interest rate swap calculator lets you quickly value any vanilla fixed-for-floating swap and understand the resulting payment obligations and risk metrics. Here is a step-by-step guide to getting accurate results.

  1. Notional Principal: Enter the face value of the swap in dollars. This is the reference amount for computing payments โ€” no principal is actually exchanged. Typical corporate swaps range from $5M to $500M.
  2. Your Position: Select Pay Fixed / Receive Floating if you are the fixed-rate payer (common for borrowers hedging floating-rate debt), or Receive Fixed / Pay Floating if you are the fixed-rate receiver (common for asset managers extending duration).
  3. Fixed Rate: The agreed annual fixed rate, in percent (e.g., 4.25). This is locked at inception and does not change over the swap's life.
  4. Current Floating Rate (SOFR): The current benchmark rate, such as the 3-month SOFR or Term SOFR, in percent. This value resets each payment period in reality; the calculator assumes it stays constant for the MTM estimate.
  5. Floating Spread: Any additional spread above the benchmark (e.g., 0.50 for SOFR + 50bps). Enter 0 for a plain SOFR flat floating leg.
  6. Years Remaining: The remaining term of the swap from today to maturity. Enter decimal values for odd tenors (e.g., 2.5 for two and a half years).
  7. Payment Frequency: Choose quarterly (most common for USD swaps), semi-annual, or monthly.
  8. Discount Rate: The rate used to present-value future cash flows. Use the current risk-free rate (e.g., 5-year Treasury yield or OIS rate) for a market-consistent valuation.

Results update instantly. The Swap MTM Value at the top shows the current fair value of the position. Positive MTM is a liability (you owe); negative MTM is an asset (counterparty owes you). The cash-flow table shows the first eight periods in detail, including the discount factor and present value of each net payment.

Worked Examples

Corporate Hedging a Floating-Rate Loan (Pay Fixed)

Problem:

A company has a $10,000,000 floating-rate loan at SOFR and enters a 2-year quarterly pay-fixed swap at 4.00% when SOFR is 5.00%. Discount rate is 5.0%. What is the per-period net receipt and current swap MTM value?

Solution Steps:

  1. 1Calculate fixed payment per period: $10,000,000 ร— 0.04 / 4 = $100,000 per quarter
  2. 2Calculate floating payment per period: $10,000,000 ร— 0.05 / 4 = $125,000 per quarter
  3. 3Net payment (pay-fixed): $100,000 โˆ’ $125,000 = โˆ’$25,000 โ†’ receive $25,000 per quarter
  4. 4Compute discount factor per period: df_i = 1 / (1 + 0.05/4)^i = 1 / (1.0125)^i
  5. 5Sum 8 discounted net payments: โˆ’$25,000 ร— [(1 โˆ’ 1.0125^โˆ’8) / 0.0125] = โˆ’$25,000 ร— 7.5688 โ‰ˆ โˆ’$189,220
  6. 6Swap MTM โ‰ˆ $189,220 (asset โ€” counterparty owes the company this amount at current rates)

Result:

The company receives $25,000 net per quarter. The swap has a mark-to-market asset value of approximately $189,220. DV01 = $10M ร— 2 ร— 0.0001 = $2,000. Breakeven SOFR = 4.00%.

Pension Fund Receiver Swap (Receive Fixed)

Problem:

A pension fund enters a $25,000,000 5-year receive-fixed swap at 5.00% paying SOFR + 0.25%. Current SOFR is 4.50% (effective floating = 4.75%). Payment frequency is semi-annual. Discount rate is 5.5%. Compute MTM and breakeven.

Solution Steps:

  1. 1Effective floating rate = 4.50% + 0.25% = 4.75% โ†’ 0.0475 decimal
  2. 2Fixed payment per period: $25,000,000 ร— 0.05 / 2 = $625,000 semi-annual
  3. 3Floating payment per period: $25,000,000 ร— 0.0475 / 2 = $593,750 semi-annual
  4. 4Net payment (receive-fixed): floating โˆ’ fixed = $593,750 โˆ’ $625,000 = โˆ’$31,250 โ†’ receive $31,250 per period
  5. 5Discount factor per period: df_i = 1 / (1 + 0.055/2)^i = 1 / (1.0275)^i; T = 10 periods
  6. 6Annuity factor = (1 โˆ’ 1.0275^โˆ’10) / 0.0275 โ‰ˆ (1 โˆ’ 0.7625) / 0.0275 โ‰ˆ 8.636
  7. 7Swap MTM = โˆ’$31,250 ร— 8.636 โ‰ˆ โˆ’$269,875 โ†’ asset value โ‰ˆ $269,875

Result:

The fund receives $31,250 net per semi-annual period. Swap MTM โ‰ˆ $269,875 (asset). Breakeven floating rate = 5.00% โˆ’ 0.25% = 4.75%. DV01 = $25M ร— 5 ร— 0.0001 = $12,500.

Bank Hedging Mortgage Portfolio (Pay Fixed, Long Tenor)

Problem:

A bank enters a $100,000,000 10-year pay-fixed swap at 3.50% against SOFR (no spread) when SOFR is 4.00%. Payment is semi-annual. Discount rate is 4.5%. Calculate MTM value, DV01, and the impact of a 100bp rise in SOFR.

Solution Steps:

  1. 1Fixed payment per period: $100M ร— 0.035 / 2 = $1,750,000
  2. 2Floating payment per period: $100M ร— 0.04 / 2 = $2,000,000
  3. 3Net per period (pay-fixed): $1,750,000 โˆ’ $2,000,000 = โˆ’$250,000 โ†’ receive $250,000
  4. 4T = 10 ร— 2 = 20 periods; discount rate per period = 0.045/2 = 0.0225
  5. 5Annuity factor = (1 โˆ’ 1.0225^โˆ’20) / 0.0225 โ‰ˆ (1 โˆ’ 0.6408) / 0.0225 โ‰ˆ 15.96
  6. 6Swap MTM = โˆ’$250,000 ร— 15.96 โ‰ˆ โˆ’$3,990,000 โ†’ asset โ‰ˆ $3.99M
  7. 7DV01 = $100M ร— 10 ร— 0.0001 = $100,000
  8. 8If SOFR rises 100bp: new floating payment = $100M ร— 0.05 / 2 = $2,500,000; new net per period = $1,750,000 โˆ’ $2,500,000 = โˆ’$750,000; incremental gain vs. current net = ($750,000 โˆ’ $250,000) ร— 20 = $10,000,000

Result:

Swap MTM โ‰ˆ $3.99M (asset). DV01 = $100,000 per basis point. A 100bp rise in SOFR improves the pay-fixed position by $10M in undiscounted cash flows. Breakeven SOFR = 3.50%.

Tips & Best Practices

  • โœ“Match the swap notional to your underlying exposure (e.g., outstanding loan balance) to avoid over- or under-hedging.
  • โœ“Use the breakeven floating rate as your key decision metric โ€” if current SOFR is well above breakeven, a pay-fixed position has immediate positive carry.
  • โœ“Check DV01 before entering a swap: a $50M, 10-year swap has a $50,000 DV01, meaning a 20bp unexpected rate move creates $1M in MTM swings.
  • โœ“For accounting purposes (ASC 815 / IFRS 9), consult a certified derivatives accountant โ€” hedge accounting designation requires formal documentation and effectiveness testing.
  • โœ“The discount rate you use for valuation should match current market risk-free rates (OIS or Treasury yield for the same tenor) to produce a market-consistent MTM.
  • โœ“Remember that the swap direction flips your interest rate exposure: a pay-fixed swap profits from rising rates (positive convexity for the floating receiver), while a receive-fixed swap profits from falling rates.
  • โœ“Monitor the swap's MTM regularly โ€” a large unrealized loss may trigger collateral (variation margin) calls from your clearing house or bilateral counterparty.
  • โœ“When comparing swap quotes from different dealers, verify both the fixed rate and the exact floating benchmark (e.g., SOFR vs. Term SOFR vs. SOFR compounded in arrears) to ensure you are comparing like for like.

Frequently Asked Questions

The notional principal is simply the reference figure used to compute interest payments โ€” it is never actually exchanged between counterparties. The true amount at risk is the mark-to-market value of the swap, which represents the cost to replace the contract if the counterparty defaults. For a $50M swap, the MTM value might only be a few hundred thousand dollars, making the actual credit exposure far smaller than the notional implies.
Assuming the floating rate stays constant is a simplification that makes the calculation transparent and fast. In practice, market participants use a full forward curve derived from OIS (overnight index swap) rates to project each future floating payment individually, then discount using the same curve. This calculator's constant-rate approach is accurate enough for educational purposes and preliminary sizing but should not be used for final trading or accounting valuations where IFRS 9 or ASC 815 compliance is required.
SOFR (Secured Overnight Financing Rate) is a broad measure of the cost of borrowing cash overnight, collateralized by US Treasury securities. It replaced LIBOR as the primary USD interest rate benchmark after LIBOR was discontinued in June 2023, following widespread manipulation scandals. SOFR is transaction-based and nearly risk-free, making it more robust and credible than LIBOR, which was a panel-based estimate susceptible to false reporting.
Portfolio managers aggregate DV01 across all fixed-income positions and interest rate derivatives to obtain a single dollar sensitivity figure for the entire book. Risk limits are typically expressed in DV01 terms (e.g., 'total DV01 must not exceed $500,000'). When the DV01 of a portfolio is too high, traders add offsetting swaps to neutralize the excess rate exposure. DV01 is also used to size hedges: to hedge a $100,000 DV01 position with a swap that has a $10,000 DV01, you would need 10 units of the hedging swap.
The breakeven floating rate is the level at which the net payment in a swap is exactly zero โ€” you are paying as much as you receive. For a pay-fixed, receive-floating swap, it equals the fixed rate minus any spread on the floating leg. If SOFR (plus spread) stays above the breakeven rate, the pay-fixed position generates net receipts; if it falls below, the pay-fixed position results in net outlays. Knowing the breakeven helps you assess how far rates must move before the swap stops being beneficial.
No โ€” this calculator is designed specifically for single-currency plain vanilla interest rate swaps where the only variable is the fixed-versus-floating interest exchange. Cross-currency swaps involve notional principal exchange in two currencies and exchange rate risk, while commodity swaps exchange fixed and floating commodity prices. The site offers separate calculators for currency swaps and commodity swaps to handle those distinct instruments correctly.
Higher payment frequency (e.g., monthly vs. quarterly) increases the total number of discounting periods, which affects the sum of discount factors and therefore the MTM value. With more frequent payments, each individual payment is smaller, but you discount them with finer-grained compounding. In practice, the MTM difference between quarterly and monthly payments is modest for short-tenor swaps but becomes more meaningful for long-dated instruments. Most US dollar vanilla swaps use semi-annual or quarterly payment schedules.

Sources & References

Last updated: 2026-06-05

๐Ÿ’ก

Help us improve!

How would you rate the Interest Rate Swap Calculator?

Sources

  • โ€ขReserve Bank of India (RBI) โ€” Financial regulations, lending rates, and monetary policy guidelines. rbi.org.in
  • โ€ขConsumer Financial Protection Bureau (CFPB) โ€” Consumer finance guidelines, mortgage and loan disclosure standards. consumerfinance.gov
  • โ€ขSecurities and Exchange Board of India (SEBI) โ€” Investment and securities market regulations. sebi.gov.in
  • โ€ขInvestopedia โ€” Financial formulas, definitions, and educational content. investopedia.com

For a complete list of all references used across the site, visit our full sources page.

<>

Editorial Note

MyCalcBuddy Editorial Team

This page is maintained as an educational calculator reference.

Source

Formula Source: Fundamentals of Financial Management

by Brigham & Houston

UpdatedLast reviewed: May 2026
CheckedFormula checks are based on standard references and internal QA review.