User Rating 0.0 โ˜…โ˜…โ˜…โ˜…โ˜…
Total Usage 0 times
Fraction of current coupon period elapsed (for accrued interest). 0 = on coupon date.
Is this tool helpful?

Your feedback helps us improve.

โ˜… โ˜… โ˜… โ˜… โ˜…

About

Mispricing a bond by even 10 basis points on a $10M portfolio translates to a $10,000 error per year of duration. This calculator computes the theoretical clean price P by discounting each coupon cash flow C and the face value F at the yield to maturity y, then derives Macaulay duration Dmac, modified duration Dmod, and convexity CV. It assumes a flat yield curve and reinvestment of coupons at the stated yield. Results diverge from market quotes when credit spreads shift or embedded options exist. For callable or putable bonds, option-adjusted spread models are required instead.

The tool supports annual, semi-annual, quarterly, and monthly coupon frequencies with 30/360 and Actual/Actual day count conventions. Accrued interest is approximated using a linear fraction of the coupon period from the last coupon date to the assumed settlement. Pro tip: compare the calculated clean price against broker quotes to detect potential data-entry errors in yield or coupon rate before executing a trade.

bond price bond valuation yield to maturity duration convexity fixed income coupon bond present value

Formulas

The clean price of a fixed-coupon bond is the sum of the present values of all future cash flows discounted at the yield to maturity:

P = nโˆ‘t=1 C(1 + r)t + F(1 + r)n

This simplifies via the annuity formula to:

P = C ร— 1 โˆ’ (1 + r)โˆ’nr + F(1 + r)n

Macaulay Duration measures weighted-average time to receipt of cash flows:

Dmac = nโˆ‘t=1 t ร— CFt(1 + r)tP

Modified Duration adjusts for compounding:

Dmod = Dmac1 + r

Convexity captures the curvature of the price-yield relationship:

CV = nโˆ‘t=1 t(t + 1) ร— CFt(1 + r)t+2P

Where: P = bond clean price, F = face (par) value, C = periodic coupon payment (F ร— annual coupon rate รท frequency), r = periodic yield (annual YTM รท frequency), n = total number of coupon periods (years ร— frequency), t = period index, CFt = cash flow at period t (coupon C for t < n, coupon + face value for t = n).

Reference Data

Bond TypeTypical CouponFrequencyDay CountDuration RangeNotes
US Treasury Note2% - 5%Semi-AnnualActual/Actual1 - 9 yrBenchmark risk-free rate
US Treasury Bond3% - 6%Semi-AnnualActual/Actual10 - 25 yrLong-duration exposure
Corporate IG (AAA-BBB)3% - 7%Semi-Annual30/3602 - 12 yrSpread over Treasuries
Corporate HY (BB and below)5% - 12%Semi-Annual30/3602 - 8 yrHigher default risk premium
German Bund0% - 3%AnnualActual/Actual5 - 28 yrEuro-area benchmark
UK Gilt1% - 5%Semi-AnnualActual/Actual3 - 30 yrQuoted clean in London
Japanese JGB0.1% - 2%Semi-AnnualActual/3652 - 35 yrUltra-low yield environment
Municipal Bond (US)2% - 5%Semi-Annual30/3605 - 20 yrTax-exempt; compare after-tax yield
Eurobond1% - 6%Annual30/3603 - 15 yrBearer instrument, offshore
Zero-Coupon Bond0%N/AVaries= MaturityDuration equals maturity exactly
Floating Rate NoteSOFR + spreadQuarterlyActual/360 0.25 yrNear-zero duration at reset
Inflation-Linked (TIPS)0.1% - 2%Semi-AnnualActual/Actual3 - 28 yrReal yield; principal adjusts with CPI
Convertible Bond1% - 4%Semi-Annual30/3602 - 7 yrEmbedded equity option; OAS needed
Emerging Market Sovereign4% - 10%Semi-Annual30/3603 - 15 yrCurrency and political risk
Perpetual Bond4% - 8%VariesVaries 1รทyNo maturity; P = C รท y

Frequently Asked Questions

Market quotes are typically clean prices (excluding accrued interest), while the actual settlement amount is the dirty price (clean + accrued). Additionally, this calculator assumes a flat yield curve and no credit spread changes. Market prices embed liquidity premiums, credit risk adjustments, and supply-demand dynamics that a theoretical present-value model cannot capture. For callable bonds, the embedded option value further distorts the comparison.
Higher coupon frequency (e.g., quarterly vs. annual) means cash flows arrive sooner, reducing Macaulay duration. At the same annual yield, a semi-annual bond prices slightly higher than an annual bond because coupons are discounted over shorter intervals. The periodic yield r = annual YTM รท frequency, and total periods n = years ร— frequency. Mismatching frequency in your calculation leads to systematic pricing errors.
As yield r approaches 0, the discount factors approach 1, and duration converges toward the simple weighted-average maturity of cash flows. Convexity increases significantly because the price-yield curve becomes steeper and more curved near zero rates. For zero-coupon bonds, Macaulay duration exactly equals maturity regardless of yield level. Modified duration diverges from Macaulay duration only by the factor 1 รท (1 + r), which is negligible near zero.
Accrued interest equals the coupon payment multiplied by the fraction of the coupon period elapsed since the last coupon date. Under the 30/360 convention, each month has 30 days and each year has 360, so accrued = C ร— (days since last coupon รท 360 รท frequency). Under Actual/Actual, actual calendar days are used. This calculator uses a simplified elapsed-fraction input (0 to 1) representing how far into the current coupon period the settlement falls. For exact settlement pricing, use the actual settlement and last coupon dates.
Duration provides a linear approximation of price change for small yield shifts. For large moves (e.g., 100 basis points), the linear estimate systematically underestimates the price increase when yields fall and overestimates the price decrease when yields rise. Convexity corrects this by adding the second-order term: ฮ”P โ‰ˆ โˆ’Dmod ร— ฮ”y + 0.5 ร— CV ร— (ฮ”y)2. Portfolios with higher convexity outperform in volatile rate environments, all else equal.
Yes. Set the coupon rate to 0%. The price reduces to P = F รท (1 + r)n. Macaulay duration equals maturity in years, modified duration equals maturity รท (1 + r), and there is no accrued interest. Current yield will display 0% since there are no periodic payments.