Duration Hedge Calculator

Calculate the hedge ratio needed to adjust portfolio interest rate sensitivity

Educational purposes only. This calculator is for informational purposes and should not be considered financial, tax, or legal advice. Consult a qualified professional for personalized guidance.

Try an example:

Examples use hypothetical values. Actual returns and market conditions will vary.

Portfolio Details

$

0 = fully hedged against rate changes

For P&L calculation (positive = rates rise)

Enter portfolio details and hedge instrument duration to calculate the hedge

How This Tool Works

Duration Hedge Calculator

Managing Interest Rate Risk in Bond Portfolios

Bond prices move inversely to interest rates—when rates rise, bond values fall. Duration quantifies this sensitivity, measuring the percentage price change for each 1% change in interest rates. For bond portfolios, managing duration means managing interest rate risk. The duration hedge calculator helps you construct hedges that reduce this sensitivity, protecting portfolio value against rate movements.

Interest rate risk can devastate bond portfolios unexpectedly. A portfolio with 10-year duration loses approximately 10% of its value if rates rise 1%—turning supposedly "safe" bonds into meaningful loss generators. The 2022 bond market demonstrated this painfully: rising rates produced the worst bond returns in decades.

The calculator computes hedge requirements to reduce your portfolio's duration to any target level, showing how to offset rate sensitivity using futures, swaps, or other fixed-income instruments.

Understanding Duration

Duration measures bond price sensitivity to interest rate changes:

Modified duration specifically indicates percentage price change per 1% rate change. A bond with 5-year duration loses approximately 5% if rates rise 1%, or gains 5% if rates fall 1%.

Higher duration means more rate sensitivity. Long-term bonds have higher duration than short-term bonds because their cash flows extend further into the future, where present value is more affected by discount rate changes.

Dollar duration translates percentage sensitivity into actual dollar amounts:

Dollar Duration = Duration x Portfolio Value x 0.01

A $1,000,000 portfolio with 7-year duration has dollar duration of $70,000—representing the approximate dollar change for each 1% rate movement.

How Duration Hedging Works

Duration hedging uses offsetting positions to reduce overall portfolio sensitivity:

If your portfolio has duration higher than desired, you reduce it by adding short positions in fixed-income instruments (selling futures, paying fixed on swaps).

If your portfolio has duration lower than desired, you increase it by adding long positions (buying futures, receiving fixed on swaps).

The hedge ratio formula determines position size:

Hedge Ratio = (Portfolio Duration - Target Duration) / Hedge Instrument Duration

A positive hedge ratio indicates short positions are needed (reduce duration); negative indicates long positions (increase duration).

Notional hedge amount equals portfolio value multiplied by the hedge ratio—the face value of instruments required to achieve target duration.

How the Calculator Works

The calculator accepts four key inputs:

Portfolio value: The current market value of your bond portfolio.

Current portfolio duration: The weighted-average modified duration of your holdings.

Target duration: Your desired portfolio duration after hedging (0 = fully hedged against rate changes).

Hedge instrument duration: The duration of the instrument you'll use for hedging (futures contract, swap, bond ETF, etc.).

From these inputs, the calculator computes:

  • Duration gap (how much duration needs to change)
  • Hedge ratio (position size relative to portfolio)
  • Notional hedge amount (dollar value of hedge position)
  • Position direction (short to reduce duration, long to increase)
  • Effective duration after hedge
  • P&L scenarios for various rate changes

The scenario analysis shows portfolio gains and losses across a range of rate movements, comparing hedged and unhedged outcomes.

Practical Examples

Example 1: Reducing Duration for Rate Rise Protection

A pension fund holds a $5,000,000 bond portfolio with 12-year duration, expecting rates to rise. Target duration: 5 years. Hedge instrument: 10-year Treasury futures with 8-year duration.

Calculation:

  • Duration gap: 12 - 5 = 7 years
  • Hedge ratio: 7 / 8 = 0.875
  • Hedge notional: $5,000,000 x 0.875 = $4,375,000
  • Direction: Short (sell futures to reduce duration)

Action: Sell $4,375,000 notional of 10-year Treasury futures.

Result: If rates rise 1%, unhedged portfolio loses $600,000 (12% of $5M). Hedged portfolio loses approximately $250,000 (5% of $5M)—risk reduced by 58%.

Example 2: Full Duration Hedge

An insurance company must immunize liabilities with a $2,000,000 bond portfolio currently at 5-year duration. Target: 0 duration (fully hedged).

Calculation:

  • Duration gap: 5 - 0 = 5 years
  • Hedge ratio: 5 / 8 = 0.625 (using 8-year futures)
  • Hedge notional: $2,000,000 x 0.625 = $1,250,000
  • Direction: Short

Action: Sell $1,250,000 notional of Treasury futures.

Result: Portfolio value is approximately stable regardless of rate movements—the hedge gain/loss offsets the portfolio loss/gain.

Example 3: Extending Duration for Rate Fall Opportunity

A tactical investor with $1,000,000 in short-term bonds (2-year duration) wants to bet on falling rates. Target: 7-year duration using 10-year bonds (10-year duration).

Calculation:

  • Duration gap: 2 - 7 = -5 years (negative = need to add duration)
  • Hedge ratio: -5 / 10 = -0.5
  • Hedge notional: $1,000,000 x 0.5 = $500,000
  • Direction: Long (buy to add duration)

Action: Buy $500,000 of 10-year Treasury bonds or equivalent futures.

Result: If rates fall 1%, portfolio gains approximately $70,000 (7% of $1M) instead of $20,000 (2% of $1M).

Using the Calculator Step by Step

  1. Enter your portfolio's current market value
  2. Input your portfolio's weighted-average duration
  3. Specify your target duration (0 for full hedge, partial values for partial hedge)
  4. Enter the duration of your chosen hedge instrument
  5. Optionally adjust the rate change scenario for P&L display
  6. Review hedge requirements and scenario analysis

The example presets demonstrate common hedging situations—bond portfolio hedges, pension liability matching, and insurance portfolio management.

Interpreting the Results

Hedge requirements show:

  • Hedge ratio: Percentage of portfolio value to hedge (0.40 = 40%)
  • Hedge notional: Dollar amount of hedge instruments needed
  • Position direction: Short (sell) to reduce duration; Long (buy) to increase duration

Duration analysis displays:

  • Current duration: Starting point
  • Duration gap: Amount of duration to add or remove
  • Effective duration: Result after implementing hedge

P&L scenarios compare outcomes:

  • Unhedged P&L: Portfolio change with no hedge in place
  • Hedged P&L: Portfolio change with hedge implemented
  • Risk reduction: Percentage reduction in rate sensitivity

The chart visualizes P&L across rate scenarios, making the hedge benefit (or cost) apparent across different interest rate outcomes.

Common Hedge Instruments

Treasury futures are most common for duration hedging. Available contracts include 2-year, 5-year, 10-year, 20-year, and 30-year Treasury futures, each with different duration characteristics.

Interest rate swaps allow customized duration management. Paying fixed and receiving floating reduces duration; receiving fixed and paying floating increases duration.

Bond ETFs can hedge smaller portfolios where futures aren't practical. Short-duration bond ETFs (or short positions in long-duration ETFs) modify portfolio duration.

Individual Treasury bonds provide precise duration characteristics but require more capital than futures.

Tips and Best Practices

Match hedge duration to portfolio duration profile. Using very different duration instruments requires larger notional positions and introduces basis risk.

Rebalance hedges periodically. As time passes and rates change, both portfolio and hedge durations drift, requiring adjustment to maintain target duration.

Consider convexity for large rate moves. Duration is a linear approximation; for rate changes beyond 1-2%, convexity effects matter. Bonds with high convexity perform better than duration alone predicts.

Account for basis risk. Your portfolio's actual price change may differ from Treasury futures moves due to credit spread changes or composition differences.

Calculate hedge costs. Futures have carrying costs; swaps have bid-ask spreads. These costs reduce hedge efficiency over time.

Frequently Asked Questions

What target duration should I choose?

Target duration depends on your interest rate outlook and risk tolerance. Zero duration eliminates rate risk but also eliminates potential gains from falling rates. Matching liability duration is appropriate for defined obligations. For general portfolios, reducing duration below 5 years provides meaningful protection while maintaining some return potential.

How do I determine my portfolio's current duration?

For individual bonds, duration is published or calculable from cash flows. For bond funds, check fund fact sheets. For mixed portfolios, calculate weighted-average duration across all holdings.

Why use futures instead of selling bonds?

Futures allow duration management without triggering taxes or disrupting your bond holdings. You maintain income from existing positions while hedging rate risk through a separate overlay strategy.

How often should I rebalance the hedge?

Monthly rebalancing typically suffices for moderate rate environments. During periods of rate volatility or for precision hedging (like liability matching), more frequent rebalancing may be warranted.

Does duration hedging affect income?

Hedging with futures doesn't directly affect bond income—you continue receiving coupon payments. However, hedge gains or losses occur as futures prices change, which affects total return even if income remains stable.


Duration quantifies interest rate risk; duration hedging manages it. Whether protecting against rising rates, betting on falling rates, or matching liabilities, the hedge calculator provides the math to size positions correctly. In a rising rate environment, duration awareness may be the difference between preserved capital and painful losses in supposedly safe bond portfolios.