Simplify Your Workflow: Search MiniWebtool.
Add Extension
Home Page > Financial Calculators > Bond Calculators > Bond Convexity Calculator

Bond Convexity Calculator

Calculate a bond's convexity to measure its price sensitivity to large yield changes. Get Macaulay duration, modified duration, convexity, and a side-by-side comparison of the duration-only versus duration-plus-convexity price prediction across a yield shock slider.

Bond Convexity Calculator

Why convexity? Because the price-yield curve bends.

Duration is the straight tangent line — accurate only for tiny yield changes. Convexity is the curvature correction that catches the rest. The bigger the yield move, the more the curvature matters.

⚡ Quick start — pick a typical bond profile
$
%
%
yr
100 bp

Embed Bond Convexity Calculator Widget

About Bond Convexity Calculator

The Bond Convexity Calculator measures the second-order sensitivity of a bond's price to changes in its yield. While modified duration tells you the slope of the price-yield curve at a single point, convexity tells you how much that curve bends — a number that matters enormously once yield moves get large. This calculator does what most online tools skip: it lets you see, side by side, the duration-only price prediction, the duration-plus-convexity prediction, and the exact repriced bond, so the size and direction of the curvature correction are obvious at a glance.

What makes this calculator different

Side-by-side prediction comparison

Three estimates of the price change appear together: the linear duration estimate (red), the parabolic duration+convexity estimate (green), and the exact recomputed price (blue). The gap teaches the lesson better than any textbook.

Full ±300 bp shock curve

Most calculators give you a single number. We chart the entire price-yield surface from −300 bp to +300 bp so you can see where duration breaks down and convexity takes over.

Cash-flow waterfall visualization

A bar chart shows the present value of every coupon period, colored by its contribution to convexity. The visual makes it instantly clear why long-dated bonds have more convexity than short ones.

Interactive shock slider

Pick any basis-point shock from 10 to 500 bp before submitting. The verdict card and comparison strip recompute around your choice so you can see how curvature scales with shock size.

Per-period convexity attribution

The detailed table breaks each cash flow into PV, PV weight, and percent share of total convexity. You can see exactly which periods drive the curvature — useful for bond portfolio managers comparing two bonds with the same duration.

Step-by-step math walkthrough

Every formula is shown with the actual numbers substituted in. From periodic rate conversion to the final price-shock prediction, the math is fully transparent — no black box.

How to use the Bond Convexity Calculator

  1. Click a quick-start preset (2-yr Treasury, 10-yr Treasury, 30-yr corporate, or 5-yr zero-coupon) to populate every field instantly, or type your own bond details.
  2. Enter the bond's face value (par), annual coupon rate, current yield to maturity, and years to maturity.
  3. Pick the coupon frequency. Semi-annual is the default for US bonds; pick annual for European bonds or zero-coupon, quarterly or monthly for some structured notes.
  4. Drag the yield-shock slider to pick the basis-point change you care about. 100 bp is a common stress-test size; pick 300+ bp to really see convexity matter.
  5. Hit "Calculate" and read the verdict card, the three-way comparison strip, the shock curve chart, the cash-flow waterfall, and the per-period attribution table.

The math under the hood

Every result starts from the standard present-value bond pricing equation, where each coupon and the final principal repayment are discounted at the periodic yield \(y = y_{annual}/m\) with \(m\) periods per year and total period count \(n = y_{maturity} \cdot m\):

\( P = \displaystyle\sum_{t=1}^{n} \dfrac{\text{CF}_t}{(1+y)^t} \)

Macaulay duration is the PV-weighted average time of the cash flows, expressed in years by dividing by \(m\):

\( D_{Mac} = \dfrac{1}{P \cdot m} \displaystyle\sum_{t=1}^{n} \dfrac{t \cdot \text{CF}_t}{(1+y)^t} \)

Modified duration adjusts Macaulay for the periodic yield and gives the percent price change per 1% yield change:

\( D_{mod} = \dfrac{D_{Mac}}{1 + y/m} \)

Convexity is the price-weighted sum of the second-order time weighting, scaled back to years squared by dividing by \(m^2\):

\( C = \dfrac{1}{P \cdot m^2} \displaystyle\sum_{t=1}^{n} \dfrac{t(t+1) \cdot \text{CF}_t}{(1+y)^{t+2}} \)

The two metrics combine into the second-order Taylor approximation of the percent price change for a yield shift \(\Delta y\):

\( \dfrac{\Delta P}{P} \approx -D_{mod} \cdot \Delta y + \tfrac{1}{2} \cdot C \cdot (\Delta y)^2 \)

The convexity term is always non-negative because of the squared yield change. That is why higher-convexity bonds are said to enjoy a "convexity gift" — they rally more in a yield drop than duration predicts and lose less in a yield rise.

Interpreting your results

A few rules of thumb to keep in mind when reading the output:

Frequently Asked Questions

What is bond convexity?

Convexity is the second derivative of a bond's price with respect to its yield, scaled by the bond's price. Because the price-yield relationship is curved rather than straight, duration (the first derivative) only gives a linear estimate of how price will move when yields change. Convexity is the second-order correction that captures the curvature, and it is always positive for option-free bonds.

Why does convexity matter to investors?

For small yield changes, duration is enough. For large yield changes — say 100 basis points or more — duration alone underestimates the price gain from a yield drop and overestimates the price loss from a yield rise. Convexity quantifies that asymmetry, which is sometimes called the convexity gift: between two bonds with the same duration, the one with higher convexity outperforms when volatility is high.

What is the formula for convexity?

Convexity in years squared is:

\( C = \dfrac{1}{P \cdot m^2} \displaystyle\sum_{t=1}^{n} \dfrac{t(t+1) \cdot \text{CF}_t}{(1+y)^{t+2}} \)

where \(P\) is the bond price, \(m\) is the number of coupon periods per year, \(y\) is the periodic yield, and \(\text{CF}_t\) is the cash flow at period \(t\). The \(m^2\) factor converts period-squared into year-squared units.

How is convexity used to predict a price change?

Combined with modified duration, the percent change in price is approximately:

\( \dfrac{\Delta P}{P} \approx -D_{mod} \cdot \Delta y + \tfrac{1}{2} \cdot C \cdot (\Delta y)^2 \)

Because the convexity term is squared, it adds a positive correction whether yields rise or fall, which is the source of the convexity gift.

Which bonds have the highest convexity?

Long-maturity bonds with low coupons have the highest convexity. Cash flows farther in the future are weighted more heavily in the formula because of the \(t(t+1)\) factor. Zero-coupon bonds typically have the highest convexity for a given maturity since all of their cash flow is concentrated at the end.

Is higher convexity always better?

All else equal, yes — higher convexity means better performance under yield volatility. In practice, higher-convexity bonds tend to be priced richer (lower yield) because investors pay a premium for the convexity. Whether the trade-off is attractive depends on your view on volatility versus carry.

How does convexity differ from duration?

Duration is a first-order measure — the slope of the price-yield curve at the current yield. It assumes the curve is locally straight. Convexity is a second-order measure — the curvature of that curve. Duration alone is accurate only for very small yield changes; convexity becomes important the larger the yield shift, because the curve bends away from the tangent line.

Can convexity be negative?

For plain vanilla bonds (no embedded options), convexity is always positive. Bonds with embedded options — particularly callable bonds and mortgage-backed securities — can exhibit negative convexity in certain yield regions because the issuer's call option caps the upside. This calculator models the option-free case.

What is the difference between Macaulay duration and modified duration?

Macaulay duration is the present-value-weighted average time at which the bondholder receives cash flows, measured in years. Modified duration adjusts Macaulay duration by dividing by \(1 + y/m\), and it directly answers the question "what percent does my bond price move for a 1% change in yield?" The two are nearly identical when the yield is small, and diverge slightly as yield grows.

Reference this content, page, or tool as:

"Bond Convexity Calculator" at https://MiniWebtool.com/bond-convexity-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: 2026-05-13

Related MiniWebtools:

Bond Calculators:

Top & Updated:

Random PickerRandom Name PickerLine CounterRelative Standard Deviation CalculatorBatting Average CalculatorFPS ConverterSort NumbersInstagram User ID LookupMAC Address GeneratorERA CalculatorRemove SpacesWord to Phone Number ConverterJob FinderMAC Address LookupFacebook User ID LookupSum CalculatorFeet and Inches to Cm ConverterOPS CalculatorRandom Truth or Dare GeneratorPercent Off CalculatorSHA256 Hash GeneratorSquare Root (√) CalculatorRandom Quote GeneratorLog Base 10 CalculatorBitwise CalculatorDoubling Time CalculatorNumber of Digits CalculatorMP3 LooperAudio SplitterSlope and Grade CalculatorVertical Jump CalculatorSalary Conversion CalculatorRoman Numerals ConverterSlugging Percentage CalculatorOn Base Percentage CalculatorPhone Number ExtractorNumber to Word ConverterAI Text HumanizerRandom IMEI GeneratorSun, Moon & Rising Sign Calculator 🌞🌙✨Random Poker Hand GeneratorSaturn Return CalculatorCaffeine Overdose CalculatorImage ResizerMerge VideosCompound Growth CalculatorFirst n Digits of PiRandom Birthday GeneratorGrade CalculatorCm to Feet and Inches ConverterDecimal to BCD ConverterWHIP CalculatorBinary to Gray Code ConverterCompare Two StringsRandom Activity GeneratorRandom Fake Address GeneratorVideo to Image ExtractorRandom Movie PickerBCD to Decimal ConverterRandom Writing Prompt GeneratorRandom Object GeneratorOctal CalculatorBingo Card GeneratorAdd Prefix and Suffix to TextFile Size ConverterRemove AccentInvisible Text GeneratorRandom Superpower GeneratorText FormatterWAR CalculatorRandom Letter GeneratorLove Compatibility CalculatorYouTube Channel StatisticsWord Ladder GeneratorOutlier CalculatorCM to Inches ConverterTime Duration CalculatorRandom Integer GeneratorPercent Growth Rate CalculatorQuotient and Remainder CalculatorRandom Number PickerRandom Credit Card GeneratorImage SplitterList of Prime NumbersStair CalculatorGray Code to Binary ConverterRandom Chess Opening GeneratorExponential Decay CalculatorClothing Size ConverterRandom Loadout GeneratorDay of Year CalendarUnit Rate CalculatorLeap Years ListCryptogram GeneratorMaster Number CalculatorModulo CalculatorArc Length CalculatorConnect the Dots GeneratorRemove Leading Trailing SpacesEmail ExtractorURL ExtractorAI ParaphraserAI Punctuation AdderSHA512 Hash GeneratorDay of the Year Calculator - What Day of the Year Is It Today?Video CompressorBinary to BCD ConverterIP Address to Hex ConverterSort Lines AlphabeticallyHex to BCD ConverterBCD to Binary ConverterLottery Number GeneratorBCD to Hex ConverterMedian CalculatorStandard Error CalculatorList RandomizerBreak Line by CharactersAverage CalculatorPVIFA CalculatorReverse VideoHypotenuse CalculatorRemove Audio from VideoActual Cash Value CalculatorScientific Notation to Decimal ConverterNumber ExtractorAngel Number CalculatorLog Base 2 CalculatorRoot Mean Square CalculatorSum of Positive Integers CalculatorSHA3-256 Hash GeneratorAI Sentence Expander📅 Date CalculatorLbs to Kg ConverterHex to Decimal ConverterRandom Group GeneratorConvolution CalculatorMAC Address AnalyzerRandom String GeneratorAmortization CalculatorMarkup CalculatorPVIF CalculatorName Number CalculatorDecimal to Hex ConverterInstagram Font GeneratorSocial Media Image Size GuideTikTok Money CalculatorTwitter/X Character CounterTwitter/X Timestamp ConverterYouTube Watch Time CalculatorTwitch Earnings CalculatorYouTube Shorts Monetization CalculatorFacebook Ad Cost CalculatorSocial Media ROI CalculatorSocial Media Post Time OptimizerSocial Media Username CheckerCTR CalculatorROAS CalculatorInfluencer ROI CalculatorForce CalculatorAcceleration CalculatorVelocity CalculatorMomentum CalculatorProjectile Motion CalculatorKinetic Energy CalculatorPotential Energy CalculatorWork and Power CalculatorDensity CalculatorPressure CalculatorIdeal Gas Law CalculatorFree Fall CalculatorTorque CalculatorHorsepower CalculatorDilution CalculatorChemical Equation BalancerStoichiometry CalculatorPercent Yield CalculatorEmpirical Formula CalculatorBoiling Point CalculatorTitration CalculatorMole/Gram/Particle ConverterIrregular Polygon Area CalculatorFrustum CalculatorTorus Calculator3D Distance CalculatorGreat Circle Distance CalculatorCircumscribed Circle (Circumcircle) CalculatorInscribed Circle (Incircle) CalculatorAngle Bisector CalculatorTangent Line to Circle CalculatorHeron's Formula CalculatorCoordinate Geometry Distance CalculatorVolume of Revolution CalculatorSurface of Revolution CalculatorParametric Curve GrapherRiemann Sum CalculatorTrapezoidal Rule CalculatorSimpson's Rule CalculatorImproper Integral CalculatorL'Hôpital's Rule CalculatorMaclaurin Series CalculatorPower Series CalculatorSeries Convergence Test CalculatorInfinite Series Sum CalculatorAverage Rate of Change CalculatorInstantaneous Rate of Change CalculatorRelated Rates SolverOptimization Calculator (Calculus)Gradient Calculator (Multivariable)Divergence CalculatorCurl CalculatorLine Integral CalculatorSurface Integral CalculatorJacobian Matrix CalculatorNewton's Method CalculatorRREF Calculator (Row Echelon Form)Matrix Inverse CalculatorMatrix Multiplication CalculatorDot Product CalculatorCross Product CalculatorVector Magnitude CalculatorUnit Vector CalculatorAngle Between Vectors CalculatorNull Space CalculatorColumn Space CalculatorCramer's Rule CalculatorMatrix Diagonalization CalculatorQR Decomposition CalculatorCholesky Decomposition CalculatorMatrix Power CalculatorCharacteristic Polynomial CalculatorBayes' Theorem CalculatorF-Test / F-Distribution CalculatorHypergeometric Distribution CalculatorNegative Binomial Distribution CalculatorGeometric Distribution CalculatorExponential Distribution CalculatorWeibull Distribution CalculatorBeta Distribution CalculatorSpearman Rank Correlation CalculatorFisher's Exact Test CalculatorContingency Table CalculatorOdds Ratio CalculatorRelative Risk CalculatorEffect Size CalculatorPermutations with Repetition CalculatorModular Exponentiation CalculatorPrimitive Root CalculatorPerfect Number CheckerAmicable Number CheckerTwin Prime FinderMersenne Prime CheckerGoldbach Conjecture VerifierMöbius Function CalculatorEgyptian Fraction CalculatorFibonacci Number CheckerDigital Root CalculatorPartition Function CalculatorBoolean Algebra SimplifierKarnaugh Map (K-Map) SolverLogic Gate SimulatorGraph Coloring CalculatorTopological Sort CalculatorAdjacency Matrix CalculatorRecurrence Relation SolverInclusion-Exclusion CalculatorLinear Programming SolverTraveling Salesman Solver (TSP)Hamiltonian Path CheckerPlanar Graph CheckerNetwork Flow Calculator (Max Flow)Stable Marriage Problem SolverFirst-Order ODE SolverSecond-Order ODE SolverDirection Field / Slope Field PlotterEuler's Method CalculatorBernoulli ODE SolverSystem of ODEs SolverGroup Theory Order CalculatorRing and Field CalculatorJordan Normal Form CalculatorMatrix Exponential CalculatorTensor Product CalculatorFast Fourier Transform (FFT) CalculatorZ-Transform CalculatorNumerical Integration CalculatorTOML to JSON ConverterJSON to CSV ConverterXML to JSON ConverterSQL to MongoDB Query ConverterCSS Flexbox PlaygroundCSS Grid GeneratorJWT GeneratorBcrypt Hash Generator / CheckerColor Code Converter (All Formats)Git Command Generator.env File GeneratorLorem Picsum / Placeholder Image GeneratorText to Binary/Hex/ASCII ConverterSyllable CounterSentence CounterParagraph CounterSpeaking Time CalculatorReading Time CalculatorWhitespace VisualizerStrikethrough Text GeneratorTorque Converter (Nm, ft-lb, kgf-cm)Data Transfer Rate ConverterFuel Efficiency ConverterAstronomical Unit ConverterRing Size ConverterPaper Size ReferenceGas Mileage CalculatorEV Range CalculatorEV Charging Time Calculator0–60 / Quarter Mile CalculatorCar Lease CalculatorVehicle Towing Capacity CalculatorExposure Triangle CalculatorCrop Factor CalculatorMegapixel to Print Size CalculatorPhoto File Size EstimatorMusic BPM TapperMusic Key TransposerVideo Bitrate CalculatorSeed Germination Rate CalculatorFertilizer Calculator (NPK)Raised Bed Soil CalculatorFrost Date CalculatorLawn Fertilizer CalculatorCompost Calculator (C:N Ratio)Solar Panel CalculatorSolar ROI CalculatorHome Energy Audit CalculatorAppliance Energy Cost CalculatorWater Usage CalculatorElectricity Generation Cost CalculatorHeat Loss CalculatorFlight Distance CalculatorTravel Budget CalculatorJet Lag CalculatorPacking List GeneratorTip Splitter (Advanced)Lease vs Buy CalculatorHourly Rate Calculator (Freelancer)Invoice Late Fee CalculatorESPP CalculatorStock Split CalculatorOptions Probability CalculatorDollar to Gold ConverterBeam Load CalculatorPipe Flow CalculatorBolt Torque CalculatorSteel Weight CalculatorGravel, Sand & Topsoil CalculatorRandom Sentence GeneratorRandom Paragraph GeneratorRandom Math Problem GeneratorRandom Bible Verse GeneratorRandom Cat/Dog Name GeneratorRandom Debate Topic GeneratorBody Recomposition CalculatorAlcohol Calorie CalculatorMedication Dosage CalculatorPace to Calories CalculatorHydration CalculatorTrain Meeting Problem SolverAge Word Problem SolverMixture Problem SolverWork Rate Problem SolverDistance-Speed-Time Triangle CalculatorCoin Word Problem SolverNumber Bonds GeneratorCarry and Borrow VisualizerTimes Tables QuizMental Math TrainerRoman Numeral Math SolverEgyptian Multiplication CalculatorVedic Math Tricks CalculatorRussian Peasant MultiplicationSoroban Abacus SimulatorAnnuity Payout CalculatorReverse Mortgage CalculatorVariable Annuity CalculatorFixed Indexed Annuity CalculatorBond Convexity Calculator