Bond Price Calculator
Calculate bond price, yield, Macaulay & modified duration, convexity, and accrued interest. Supports multiple coupon frequencies and day count conventions.
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.
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:
This simplifies via the annuity formula to:
Macaulay Duration measures weighted-average time to receipt of cash flows:
Modified Duration adjusts for compounding:
Convexity captures the curvature of the price-yield relationship:
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 Type | Typical Coupon | Frequency | Day Count | Duration Range | Notes |
|---|---|---|---|---|---|
| US Treasury Note | 2% - 5% | Semi-Annual | Actual/Actual | 1 - 9 yr | Benchmark risk-free rate |
| US Treasury Bond | 3% - 6% | Semi-Annual | Actual/Actual | 10 - 25 yr | Long-duration exposure |
| Corporate IG (AAA-BBB) | 3% - 7% | Semi-Annual | 30/360 | 2 - 12 yr | Spread over Treasuries |
| Corporate HY (BB and below) | 5% - 12% | Semi-Annual | 30/360 | 2 - 8 yr | Higher default risk premium |
| German Bund | 0% - 3% | Annual | Actual/Actual | 5 - 28 yr | Euro-area benchmark |
| UK Gilt | 1% - 5% | Semi-Annual | Actual/Actual | 3 - 30 yr | Quoted clean in London |
| Japanese JGB | 0.1% - 2% | Semi-Annual | Actual/365 | 2 - 35 yr | Ultra-low yield environment |
| Municipal Bond (US) | 2% - 5% | Semi-Annual | 30/360 | 5 - 20 yr | Tax-exempt; compare after-tax yield |
| Eurobond | 1% - 6% | Annual | 30/360 | 3 - 15 yr | Bearer instrument, offshore |
| Zero-Coupon Bond | 0% | N/A | Varies | = Maturity | Duration equals maturity exactly |
| Floating Rate Note | SOFR + spread | Quarterly | Actual/360 | ≈ 0.25 yr | Near-zero duration at reset |
| Inflation-Linked (TIPS) | 0.1% - 2% | Semi-Annual | Actual/Actual | 3 - 28 yr | Real yield; principal adjusts with CPI |
| Convertible Bond | 1% - 4% | Semi-Annual | 30/360 | 2 - 7 yr | Embedded equity option; OAS needed |
| Emerging Market Sovereign | 4% - 10% | Semi-Annual | 30/360 | 3 - 15 yr | Currency and political risk |
| Perpetual Bond | 4% - 8% | Varies | Varies | ≈ 1รทy | No maturity; P = C รท y |