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 Name PickerRandom PickerInstagram User ID LookupImage ResizerLine CounterFPS ConverterSort NumbersRelative Standard Deviation CalculatorRandom Truth or Dare GeneratorRemove SpacesBatting Average CalculatorMAC Address GeneratorFacebook User ID LookupERA CalculatorWord to Phone Number ConverterFeet and Inches to Cm ConverterMAC Address LookupSun, Moon & Rising Sign Calculator 🌞🌙✨Sum CalculatorSlope and Grade CalculatorMP3 LooperRandom Quote GeneratorPercent Off CalculatorRandom Superpower GeneratorRandom IMEI GeneratorInvisible Text Generator📷 OCR / Image to TextAudio SplitterNumber of Digits CalculatorBitwise CalculatorVertical Jump CalculatorRoman Numerals ConverterWord Ladder GeneratorRandom Credit Card GeneratorSHA256 Hash GeneratorMerge VideosLog Base 10 CalculatorAI Text HumanizerRandom Birthday GeneratorMaster Number CalculatorSaturn Return CalculatorCm to Feet and Inches ConverterHalfway Date Calculator⬛ Aspect Ratio CalculatorRandom Meal GeneratorRandom Fake Address GeneratorPhone Number ExtractorOPS CalculatorSalary Conversion CalculatorWAR CalculatorRandom Activity GeneratorFile Size ConverterNumber to Word ConverterIP Subnet CalculatorSquare Root (√) CalculatorText FormatterMercury Retrograde CalendarRandom Writing Prompt GeneratorOn Base Percentage CalculatorYouTube Channel StatisticsCaffeine Overdose CalculatorRandom Movie PickerRandom Time GeneratorRandom Poker Hand GeneratorDecimal to BCD ConverterSlugging Percentage CalculatorCompound Growth CalculatorRandom Loadout GeneratorBinary to Gray Code ConverterBCD to Decimal ConverterVideo to Image ExtractorLove Compatibility CalculatorBattery Life CalculatorOctal Calculator🖱️ Click CounterStair CalculatorAdd Text to ImageLeap Years ListDNS LookupFirst n Digits of Pi🎰 Gacha Pity CalculatorCM to Inches ConverterCompare Two StringsConnect the Dots GeneratorLongest Day of the YearWeight Loss Calculator📅 Date CalculatorRemove AccentNumber ExtractorVideo CompressorProportion CalculatorImage SplitterImage CompressorOutlier CalculatorPercent Growth Rate CalculatorSHA512 Hash GeneratorSmall Text Generator ⁽ᶜᵒᵖʸ ⁿ ᵖᵃˢᵗᵉ⁾Gray Code to Binary ConverterLottery Number GeneratorAstrological Element Balance CalculatorWHIP CalculatorArc Length CalculatorBingo Card GeneratorWord Scramble GeneratorDay of the Year Calculator - What Day of the Year Is It Today?PER CalculatorTime Duration CalculatorDiff CheckerWhat is my Zodiac Sign?Bolt Torque CalculatorRandom Object GeneratorFirst Day of SummerQuotient and Remainder CalculatorRandom Emoji GeneratorFlip VideoMultiple Fraction CalculatorURL ExtractorList of Prime NumbersCoin FlipperAdd Prefix and Suffix to TextBreak Line by Characters🔍 Plagiarism CheckerIP Address to Hex ConverterAcreage CalculatorVideo SplitterYouTube Tag ExtractorPregnancy CalendarBroken Link CheckerName Number CalculatorModulo CalculatorAI Language DetectorCone Flat Pattern (Template) GeneratorTessellation GeneratorMandelbrot Set ExplorerDay of Year CalendarBcrypt Hash Generator / CheckerMD5 Hash GeneratorSocial Media Username CheckerRandom Chord GeneratorAngel Number CalculatorSun Position CalculatorEmail ExtractorIs it a Prime Number?Long Division CalculatorMiter Angle CalculatorRandom Number PickerSteel Weight CalculatorRandom Name GeneratorMolarity CalculatorRandom Chess Opening GeneratorBinary to BCD ConverterLunar Calendar ConverterRandom Group GeneratorMultiplication CalculatorRandom Tournament Bracket GeneratorShort Selling Profit CalculatorSummer Solstice DayHeight Percentile CalculatorMartingale Strategy CalculatorRandom Line PickerDMS to Decimal Degrees ConverterMorse Code GeneratorAntilog CalculatorPercentile CalculatorWhat is my Lucky Number?First n Digits of eArctan2 CalculatorRemove Leading Trailing SpacesYouTube Earnings EstimatorHTML Compressor🔊 Tone GeneratorRandomize NumbersCollage MakerRandom User-Agent GeneratorPizza Value CalculatorRandom RPG Character GeneratorAdjust Video SpeedRounding CalculatorFraction CalculatorTaco Bar CalculatorAI Punctuation AdderBirth Day of the Week CalculatorBoiling Point CalculatorHypotenuse CalculatorIncome Tax CalculatorBonus CalculatorReverse TextAPI TesterDue Date CalculatorFence Calculator🎲 Loot Drop Probability CalculatorColor InverterCrossword Puzzle MakerSquare Numbers ListHebrew Calendar ConverterPVIFA CalculatorInvisible Character RemoverJulia Set GeneratorAI ParaphraserSort Lines AlphabeticallyHex to BCD ConverterBCD to Binary ConverterBCD to Hex ConverterMedian CalculatorStandard Error CalculatorList RandomizerAverage CalculatorReverse VideoRemove Audio from VideoActual Cash Value CalculatorScientific Notation to Decimal ConverterLog Base 2 CalculatorRoot Mean Square CalculatorSum of Positive Integers CalculatorSHA3-256 Hash GeneratorAI Sentence ExpanderLbs to Kg ConverterHex to Decimal ConverterConvolution CalculatorMAC Address AnalyzerRandom String GeneratorAmortization CalculatorMarkup CalculatorPVIF 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 OptimizerCTR 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 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 CalculatorROT13 Encoder/DecoderAtbash Cipher ToolVigenère Cipher ToolPronunciation IPA ConverterHemingway-Style Readability EditorSentence Length Variance AnalyzerWord Frequency AnalyzerBusiness Days CalculatorAdd Business Days to DateDate Pattern GeneratorHow Long Until CalculatorHow Long Ago CalculatorBirthday Across Cultures CalculatorHijri Calendar ConverterInsulin Sensitivity Factor CalculatorCarb-to-Insulin Ratio CalculatorLean Body Mass to Strength CalculatorOne-Mile Walk Test (Rockport) CalculatorCooper 12-Minute Run CalculatorFFMI CalculatorAPGAR Score CalculatorGlasgow Coma Scale CalculatorWells Score Calculator (DVT/PE)Tennis Score TrackerSoccer xG (Expected Goals) CalculatorCricket Run Rate CalculatorRugby Points CalculatorBoxing Punch Power CalculatorRace Time PredictorSwimming SWOLF CalculatorYoga Pose Hold TimerFishing Knot Strength CalculatorBike Gear Ratio CalculatorClimbing Grade ConverterWine Pairing SuggesterStandard Drink CalculatorCaffeine Half-Life TrackerSpice Substitution FinderDietary Restriction Recipe FilterMarinade Time CalculatorFermentation Time CalculatorSmoking Wood Pairing GuideFreelance Project Pricing CalculatorSaaS Pricing CalculatorSubscription Cost TrackerSide Hustle ROI CalculatorRemote Work Savings CalculatorCoffee Habit Cost CalculatorGym vs Home Workout Cost CalculatorLunch Cost CalculatorWealth Growth Visualizer1031 Exchange CalculatorRental Yield CalculatorCash-on-Cash Return CalculatorBRRRR Method CalculatorSection 8 Rent CalculatorRoommate Rent SplitterAirbnb Pricing OptimizerStatute of Limitations CalculatorSentence Reduction CalculatorSales Tax Nexus CheckerPatent Filing Fee CalculatorTrademark Class FinderWill Asset Distribution CalculatorWorkers' Compensation CalculatorStopping Distance CalculatorTrip Cost SplitterVehicle Weight Distribution CalculatorTrailer Tongue Weight CalculatorTire Tread Wear CalculatorEngine Compression Ratio CalculatorHeadlight Beam Distance CalculatorCat Litter Box CalculatorAquarium Heater Wattage CalculatorBird Cage Size CalculatorReptile Habitat UVB CalculatorPet Travel Crate Size FinderHorse Hay CalculatorCrochet Hook Size ConverterKnitting Needle Size ConverterKnitting Pattern CalculatorCross-Stitch Floss CalculatorQuilt Binding CalculatorOrigami Paper Size CalculatorPottery Clay Shrinkage CalculatorBeading Pattern CalculatorResin Casting Volume CalculatorEmbroidery Thread Length CalculatorHiking Pace Calculator (Naismith's Rule)Backpacking Food Weight CalculatorTent Footprint Size CalculatorSleeping Bag Temperature Rating GuideKnot Tying Reference ToolStar Visibility CalculatorTide Time CalculatorReynolds Number CalculatorBernoulli Equation CalculatorHeat Transfer CalculatorThermal Expansion CalculatorSpecific Heat Capacity CalculatorGear Ratio Calculator (Mechanical)Pulley System CalculatorHydraulic Cylinder Force CalculatorBelt Length CalculatorCloset Capsule CalculatorStorage Unit Size CalculatorMoving Box Quantity CalculatorGift Card Tip CalculatorGas vs Electric Cost ComparisonPrint Cost CalculatorHair Dye Mixing CalculatorLaundry Detergent Dosage CalculatorDishwasher Load OptimizerTile Grout CalculatorPaint Color Mixing CalculatorFlashcard Spaced Repetition SchedulerLearning Curve CalculatorCornell Notes GeneratorVocabulary Quiz GeneratorLanguage Learning Hours to Fluency CalculatorCollege Cost CalculatorScholarship ROI CalculatorAI Recipe Generator (From Ingredients)AI Gift Idea GeneratorAI Meal Plan GeneratorAI Workout Plan GeneratorAI Reading List GeneratorAI Travel Itinerary GeneratorAI Excuse Generator (Polite)AI Apology Letter WriterAI Unit Converter (Natural Language)AI Resume / CV AnalyzerAI Text Tone AnalyzerAI Data Visualizer (Paste CSV)AI Regex GeneratorAI SQL Query Generator