Simplify Your Workflow: Search MiniWebtool.
Add Extension
> Bond Duration Calculator (Macaulay & Modified)

Bond Duration Calculator (Macaulay & Modified)

Compute Macaulay duration, modified duration, DV01, and PV half-life for any coupon bond. See duration as a balance-point of present-value cash flows, predict the price change for a custom yield shock, and walk through every formula step.

Bond Duration Calculator (Macaulay & Modified)

Duration is a balance point. Where do the cash flows balance on a time axis?

Picture each coupon as a weight on a number line. Stack them by present value at the time they arrive. The Macaulay duration is the fulcrum — the point where the beam balances. Modified duration converts that wait time into a price-sensitivity number you can trade against.

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

Embed Bond Duration Calculator (Macaulay & Modified) Widget

About Bond Duration Calculator (Macaulay & Modified)

The Bond Duration Calculator computes both Macaulay duration and modified duration for any coupon bond, along with DV01 (dollar value of a basis point) and PV half-life. The unique balance-point visualization shows duration the way fixed-income traders intuit it — as the center of mass of the bond's present-value cash flows on a time axis. The tool then turns that wait time into a practical price-sensitivity number so you can predict the dollar and percentage price change for any yield shock from 1 basis point to 500 basis points.

What makes this duration calculator different

Balance-point visualization

Every cash flow is plotted as a bar at its actual time on the x-axis, with height equal to its present value. The Macaulay duration appears as a vertical line at the bar masses' center of gravity — the textbook physical analogy made literal.

DV01 by both methods

Traders use DV01 (dollar value of a basis point) over duration. We compute it two ways: (1) a centered numerical reprice at ±1 bp around the current yield, and (2) the linear approximation from modified duration. The two should agree to 3-4 decimals.

PV half-life

Where Macaulay duration is the PV-weighted mean wait time, PV half-life is the median — the time by which exactly half of the bond's present value has been received. For high-coupon bonds these two metrics diverge, and the gap is informative.

Symmetric ±shock comparison

Duration is a linear estimate, so its predicted price change is symmetric for a yield rise and fall. The exact-reprice values are not — and the asymmetry is the convexity gift. Both are shown side by side so the gap is unmistakable.

Full ±300 bp yield curve

The chart traces the actual price-yield curve from −300 bp to +300 bp alongside the linear duration tangent. You can see exactly where duration starts to break down and convexity matters.

Per-period duration share

The detailed table breaks each cash flow into its present value, its weight in the price, and its share of the Macaulay duration. You can see exactly which periods pull the duration later (long-dated) and which pull it earlier (high coupons).

How to use the Bond Duration Calculator

  1. Click a quick-start preset (2-yr Treasury, 10-yr Treasury, 30-yr corporate, or 5-yr zero-coupon) to populate every input at once, or type in your own bond.
  2. Enter face value (par), the annual coupon rate, the current yield to maturity, and the years to maturity.
  3. Pick the coupon frequency. Semi-annual is the default for US bonds; pick annual for European bonds or zeros, quarterly or monthly for structured notes.
  4. Drag the yield-shock slider to choose the basis-point yield change you want to stress-test against. 100 bp is the standard size; 300+ bp shows the duration vs. convexity gap clearly.
  5. Hit Calculate. Read the verdict card for the headline numbers, the balance-point chart for the intuition, the side-by-side ±shock comparison strip for the trading view, the yield-curve chart for the prediction-vs-actual gap, and the per-period table for the attribution.

The math under the hood

Every result starts from the standard present-value bond pricing equation. With \(m\) coupon periods per year, periodic coupon rate \(c = c_{annual}/m\), periodic yield \(y = y_{annual}/m\), and total periods \(n = T \cdot m\) for maturity \(T\):

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

Macaulay duration is the present-value-weighted average time of the cash flows, then divided by \(m\) so the answer is in years rather than periods:

\( 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, giving the percent price change per 1% change in yield:

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

DV01 — the dollar value of a basis point — is best computed numerically by repricing the bond at the yield up and down 1 bp and taking half the difference. Equivalently, the linear approximation is:

\( \text{DV01} \approx D_{mod} \cdot 0.0001 \cdot P \)

And the first-order price-change estimate for any yield shift \(\Delta y\) (in decimal) is:

\( \dfrac{\Delta P}{P} \approx -D_{mod} \cdot \Delta y \)

Macaulay vs. modified duration — which one do I use?

MetricUnitsWhat it answersBest for
Macaulay duration Years On average, when do I get my money back? (PV-weighted) Time-based thinking — asset-liability matching, immunization, intuition
Modified duration Years (numerically) — but read as % price per 1% yield What percent does my price move per 1% yield change? Risk & sensitivity analysis, portfolio hedging
DV01 / PV01 Dollars per bp How many dollars do I gain/lose per 1 bp yield move? Trader's view — comparing positions of different sizes
PV half-life Years When have I received half my money (by present value)? Liquidity profile, comparison against duration as a median

Rules of thumb for interpreting your duration number

Frequently Asked Questions

What is bond duration?

Bond duration measures the weighted average time, in years, until a bondholder receives the present-value-weighted cash flows from a bond. It is also the bond's price sensitivity to changes in yield. The two interpretations correspond to Macaulay duration (the time interpretation) and modified duration (the sensitivity interpretation).

What is the difference between Macaulay and modified duration?

Macaulay duration is the PV-weighted average time at which cash flows arrive, expressed in years. Modified duration adjusts Macaulay by dividing by \(1 + y/m\), where \(y\) is the periodic yield and \(m\) is the number of coupon periods per year. Modified duration directly answers the question: what percent does my bond price change for a 1% change in yield? The two are nearly identical when yields are small and diverge slightly as yields grow.

What is DV01?

DV01 (also called PV01 or BPV — Basis Point Value) is the dollar value of a basis point — the dollar change in a bond's price for a one-basis-point parallel shift in its yield. Traders prefer DV01 over duration because it directly answers a practical question: if yields move up 5 bp, how many dollars do I lose per bond? DV01 can be computed numerically by repricing the bond at the yield ±1 bp, or linearly as:

\( \text{DV01} \approx D_{mod} \cdot 0.0001 \cdot P \)

How is Macaulay duration calculated?

Macaulay duration is the present-value-weighted average time of the cash flows. Formally:

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

where \(P\) is the price, \(m\) is the number of coupon periods per year, \(y\) is the periodic yield, \(n\) is the total number of periods, and \(\text{CF}_t\) is the cash flow at period \(t\). The division by \(m\) converts the result from periods into years.

How is modified duration used to predict price changes?

Modified duration gives a first-order linear estimate of the percent change in price for a given change in yield:

\( \dfrac{\Delta P}{P} \approx -D_{mod} \cdot \Delta y \)

A bond with modified duration of 8 years will see its price fall by approximately 8% for a 100-basis-point yield rise, and rise by approximately 8% for a 100-basis-point yield drop. The linear estimate is accurate for small yield changes and underestimates the gain (or overestimates the loss) for large yield changes — that gap is the convexity correction.

Which bonds have the highest duration?

Duration rises with maturity and falls with coupon size and yield level. Long-maturity bonds with low coupons have the highest duration because the bulk of cash flow sits far in the future. A zero-coupon bond has Macaulay duration exactly equal to its maturity, since all the cash flow is concentrated at the end. A high-coupon bond at the same maturity has a lower duration because early coupons pull the PV-weighted average time forward.

What is PV half-life?

PV half-life is the time by which 50% of the bond's present value has been received. It is a complementary metric to Macaulay duration: where duration is the PV-weighted mean wait time, half-life is the PV-weighted median. For low-coupon long-dated bonds the two metrics are close; for high-coupon short-dated bonds the half-life sits earlier than the duration because the final principal repayment pulls the mean later than the median.

Can duration be negative?

For plain vanilla bonds without embedded options, Macaulay duration is always positive — it is a time, after all. Modified duration is always positive as well, because the price-yield curve always slopes downward (higher yield = lower price). Bonds with embedded options or unusual cash-flow patterns (such as inverse floaters) can exhibit negative effective duration in some yield regions, but this calculator models the plain-vanilla case.

How do I use duration for portfolio hedging?

The portfolio duration is the weighted-average duration of its bond holdings, weighted by market value. A common hedging strategy is to short Treasury futures or another low-coupon bond in a quantity that matches the DV01 of the long position so the two cancel for small parallel yield shifts. Pension funds match the duration of their assets to the duration of their liabilities (asset-liability matching) to immunize against small yield changes — the convexity mismatch then determines how the hedge performs under larger yield moves.

Reference this content, page, or tool as:

"Bond Duration Calculator (Macaulay & Modified)" at https://MiniWebtool.com// from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: 2026-05-14

Top & Updated:

Random PickerRandom Name PickerLine CounterRelative Standard Deviation CalculatorBatting Average CalculatorFPS ConverterSort NumbersInstagram User ID LookupERA CalculatorMAC Address GeneratorRemove SpacesJob FinderWord to Phone Number ConverterMAC Address LookupFacebook User ID LookupFeet and Inches to Cm ConverterSum CalculatorRandom Truth or Dare GeneratorOPS CalculatorPercent Off CalculatorSHA256 Hash GeneratorSquare Root (√) CalculatorLog Base 10 CalculatorNumber of Digits CalculatorBitwise CalculatorMP3 LooperVertical Jump CalculatorAudio SplitterSalary Conversion CalculatorSlope and Grade CalculatorRandom Quote GeneratorPhone Number ExtractorRoman Numerals ConverterSlugging Percentage CalculatorRandom IMEI GeneratorNumber to Word ConverterOn Base Percentage CalculatorAI Text HumanizerImage ResizerRandom Poker Hand GeneratorCaffeine Overdose CalculatorSaturn Return CalculatorSun, Moon & Rising Sign Calculator 🌞🌙✨Merge VideosDecimal to BCD ConverterGrade CalculatorCompound Growth CalculatorRandom Object GeneratorRandom Birthday GeneratorRandom Letter GeneratorCm to Feet and Inches ConverterBCD to Decimal ConverterRandom Writing Prompt GeneratorCompare Two StringsVideo to Image ExtractorRandom Fake Address GeneratorRandom Activity GeneratorRandom Movie PickerWHIP CalculatorText FormatterFirst n Digits of PiOctal CalculatorBinary to Gray Code ConverterBingo Card GeneratorInvisible Text GeneratorDoubling Time CalculatorRandom Superpower GeneratorFile Size ConverterAdd Prefix and Suffix to TextWAR CalculatorRemove AccentLove Compatibility CalculatorCM to Inches ConverterOutlier CalculatorWord Ladder GeneratorYouTube Channel StatisticsTime Duration CalculatorRandom Credit Card GeneratorList of Prime NumbersRandom Integer GeneratorImage SplitterPercent Growth Rate CalculatorRandom Loadout GeneratorUnit Rate CalculatorQuotient and Remainder CalculatorMaster Number CalculatorLeap Years ListStair CalculatorDay of Year CalendarRandom Chess Opening GeneratorCryptogram GeneratorPER CalculatorBinary to BCD ConverterAI Punctuation AdderModulo Calculator⬛ Aspect Ratio CalculatorArc Length CalculatorGray Code to Binary ConverterExponential Decay CalculatorEmail ExtractorURL ExtractorAI ParaphraserSHA512 Hash GeneratorDay of the Year Calculator - What Day of the Year Is It Today?Video CompressorIP 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 GeneratorRemove Leading Trailing SpacesAmortization 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 ReferenceClothing Size ConverterGas 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 CalculatorBond Duration Calculator (Macaulay & Modified)Forward Rate CalculatorMortgage Recast CalculatorTreasury Inflation-Protected Securities (TIPS) CalculatorStock Beta Calculator