Interest Rate Swap Calculator
Calculate interest rate swap valuations, payments, risk metrics, and mark-to-market values.
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
Swap Mark-to-Market Value
$1.50M
Current position: asset
Payment Analysis
Risk Metrics
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
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.
- 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.
- 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).
- 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.
- 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.
- Floating Spread: Any additional spread above the benchmark (e.g., 0.50 for SOFR + 50bps). Enter 0 for a plain SOFR flat floating leg.
- 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).
- Payment Frequency: Choose quarterly (most common for USD swaps), semi-annual, or monthly.
- 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:
- 1Calculate fixed payment per period: $10,000,000 ร 0.04 / 4 = $100,000 per quarter
- 2Calculate floating payment per period: $10,000,000 ร 0.05 / 4 = $125,000 per quarter
- 3Net payment (pay-fixed): $100,000 โ $125,000 = โ$25,000 โ receive $25,000 per quarter
- 4Compute discount factor per period: df_i = 1 / (1 + 0.05/4)^i = 1 / (1.0125)^i
- 5Sum 8 discounted net payments: โ$25,000 ร [(1 โ 1.0125^โ8) / 0.0125] = โ$25,000 ร 7.5688 โ โ$189,220
- 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:
- 1Effective floating rate = 4.50% + 0.25% = 4.75% โ 0.0475 decimal
- 2Fixed payment per period: $25,000,000 ร 0.05 / 2 = $625,000 semi-annual
- 3Floating payment per period: $25,000,000 ร 0.0475 / 2 = $593,750 semi-annual
- 4Net payment (receive-fixed): floating โ fixed = $593,750 โ $625,000 = โ$31,250 โ receive $31,250 per period
- 5Discount factor per period: df_i = 1 / (1 + 0.055/2)^i = 1 / (1.0275)^i; T = 10 periods
- 6Annuity factor = (1 โ 1.0275^โ10) / 0.0275 โ (1 โ 0.7625) / 0.0275 โ 8.636
- 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:
- 1Fixed payment per period: $100M ร 0.035 / 2 = $1,750,000
- 2Floating payment per period: $100M ร 0.04 / 2 = $2,000,000
- 3Net per period (pay-fixed): $1,750,000 โ $2,000,000 = โ$250,000 โ receive $250,000
- 4T = 10 ร 2 = 20 periods; discount rate per period = 0.045/2 = 0.0225
- 5Annuity factor = (1 โ 1.0225^โ20) / 0.0225 โ (1 โ 0.6408) / 0.0225 โ 15.96
- 6Swap MTM = โ$250,000 ร 15.96 โ โ$3,990,000 โ asset โ $3.99M
- 7DV01 = $100M ร 10 ร 0.0001 = $100,000
- 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
Sources & References
- Interest Rate Swap โ Wikipedia (2024)
- SOFR Overview โ Federal Reserve Bank of New York (2024)
- Interest Rate Derivatives: Fixed Income Mathematics โ CFA Institute (2023)
- Derivatives Clearing and Margin โ CME Group Education (2024)
- BIS OTC Derivatives Statistics โ Bank for International Settlements (2024)
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.
Formula Source: Fundamentals of Financial Management
by Brigham & Houston