Yield Curve Shift Calculator

Test rate shocks using spot yields and durations. Compare base, shifted, and scenario valuation outputs. Understand curve stress before markets reprice your bond exposures.

Scenario Results

Calculated from base yields, shifted yields, key rate durations, and convexity.

Scenario Classification
Average Shift
Estimated Portfolio Change
Ending Portfolio Value
Effective Duration
Portfolio DV01
2s10s Slope Change
Risk Level

Summary Table

Base vs Shifted Curve

Node Contribution Table

Maturity Base Yield Shifted Yield Shift Key Rate Duration Node Contribution Impact Share

Yield Curve Shift Calculator

Enter portfolio assumptions and both curves. The calculator estimates parallel moves, twist effects, duration impact, and scenario risk.

Optional label for exports and reports.
Used for value formatting in results.
Current portfolio market value.
Second-order adjustment for rate changes.
Starting two-year spot yield.
Scenario two-year spot yield.
Starting five-year spot yield.
Scenario five-year spot yield.
Starting ten-year spot yield.
Scenario ten-year spot yield.
Starting thirty-year spot yield.
Scenario thirty-year spot yield.
Sensitivity focused on two-year maturity.
Sensitivity focused on five-year maturity.
Sensitivity focused on ten-year maturity.
Sensitivity focused on thirty-year maturity.

Example Data Table

Use this sample scenario to test a bear steepener with non-parallel movement across the curve.

Maturity Base Yield (%) Shifted Yield (%) Shift (bp) Key Rate Duration
2Y4.204.55351.10
5Y3.954.15202.30
10Y3.804.05253.40
30Y3.654.10452.10

With a portfolio value of 10,000,000 and convexity of 0.85, this setup highlights a long-end selloff and material duration exposure.

Formula Used

The calculator combines key rate duration with node-by-node curve shifts to estimate first-order value changes. Convexity adds a smaller second-order adjustment.

1) Node shift in decimal form

Δyᵢ = (Shifted Yieldᵢ − Base Yieldᵢ) / 100

2) Node contribution

Node Contributionᵢ = − Portfolio Value × Key Rate Durationᵢ × Δyᵢ

3) First-order portfolio effect

First-Order Impact = Σ(Node Contributionᵢ)

4) Convexity adjustment

Convexity Adjustment = Portfolio Value × 0.5 × Convexity × Average(Δyᵢ²)

5) Total estimated change

Total Impact = First-Order Impact + Convexity Adjustment

6) Portfolio DV01

DV01 = Portfolio Value × Effective Duration / 10,000

The 2s10s slope change equals the new 10Y–2Y spread minus the original 10Y–2Y spread. A positive change means steepening, while a negative change means flattening.

How to Use This Calculator

  1. Enter an optional scenario name for reporting and exports.
  2. Select the currency used for portfolio value formatting.
  3. Type the current portfolio market value and effective convexity.
  4. Enter the base yields for 2Y, 5Y, 10Y, and 30Y maturities.
  5. Enter the shifted yields for the same maturities under stress.
  6. Provide key rate durations for each maturity bucket.
  7. Click Calculate Shift Impact to show results above the form.
  8. Review classification, price effect, slope change, DV01, and node contributions.
  9. Use the export buttons to save the scenario as CSV or PDF.

FAQs

1) What does this calculator measure?

It estimates how a portfolio reacts when the yield curve changes. The tool summarizes average shift, slope change, duration effect, convexity adjustment, and total estimated value impact.

2) What is a parallel shift?

A parallel shift means all maturities move by roughly the same number of basis points. In that case, curve shape changes little, and duration explains most price movement.

3) What is a steepener or flattener?

A steepener happens when long yields rise more, or fall less, than short yields. A flattener is the opposite, where spread between long and short maturities narrows.

4) Why use key rate duration instead of one duration?

Key rate duration breaks sensitivity across maturities. That makes non-parallel moves easier to understand and highlights which part of the curve drives portfolio risk.

5) How does convexity improve the estimate?

Convexity adds a second-order correction when rate changes are larger. It can soften losses or enhance gains compared with a pure duration-only approximation.

6) Can I use negative yields?

Yes. The calculator accepts negative yields because some markets can trade below zero. The pricing logic still applies as long as durations and convexity are reasonable.

7) Is the result an exact portfolio valuation?

No. It is a risk approximation based on key rate duration and convexity. Exact valuation would require full instrument-level repricing under the shifted curve.

8) What should I review after running a scenario?

Focus on total value change, node contribution concentration, slope change, and DV01. Those measures show whether losses come from level moves, curve shape, or both.

Related Calculators

futures margin calculatorswap rate calculatorscenario analysis toolinterest rate varcommodity price sensitivitycommodity volatility calculatorfx hedge ratio

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.