Quant Sandbox
DerivativesPortfolio & RiskFixed IncomeCorporate FinanceStochastic ModelsGuide
Fixed Income
Bond LabBeta
Yield CurveBeta
Duration & ConvexityBeta
Treasury Futures LabBeta
Connected Guides
  • Duration and convexity
  • Bond prices and yields

© 2026 Quant Sandbox · A study aid for quantitative finance

Privacy & dataNo cookies

This site does not use cookies and asks for no personal data. It keeps a few small settings in your browser's local storage — your chosen theme and language, the sidebar layout, and your progress and answers in the Guides — so it remembers them on your next visit. This data never leaves your device; clearing your browser storage removes it. Inputs you change can also be captured in the page URL, so you can share or bookmark a specific setup. The site uses Vercel Web Analytics, a privacy-friendly, cookieless service that records only anonymous, aggregated usage (such as page views) without identifying you or tracking you across other sites.

Duration & Convexity

See how a bond's price responds to a yield shock Δy, and how accurately duration (the tangent) and convexity (the curvature) predict that change.

Bond parameters

%
yr
%
Payment frequency
Risk measures
Price
76.89
Macaulay duration
12.98
Modified duration
12.60
Convexity
213.4
DV01
0.0969

Yield shock

Yield change Δy+150 bp
bp
−2000+200

Drag the slider, or click or drag the markers on the chart (−200 to +200 bp).

Price change vs. approximations
Exact repricingDuration estimateDuration + convexity

Selected shock

Yield shock+150 bp
Exact repricing
Price change-16.71%
New price64.04
Duration
Estimated change-18.90%
Error-2.19%
Error (bp of price)219 bp
Duration + convexity
Estimated change-16.50%
Error+0.21%
Error (bp of price)21 bp
Approximation error
Duration errorDuration + convexity error

About this tool

Duration and convexity approximate how a bond's price reacts to yield changes. This tool compares the exact price–yield curve with the first-order duration line and the second-order duration-plus-convexity parabola, so you can see how large a yield shock each approximation can handle.

Frequently asked questions

When is duration alone good enough?

For small yield moves. As the move grows, the curvature of the price–yield relationship makes the straight duration line underestimate the price, and the convexity term becomes significant.

Why is positive convexity valuable?

With positive convexity the price rises more when yields fall than it drops when yields rise by the same amount, so for equal duration the more convex bond performs better under large rate moves.