Bond Calculator
Compute clean bond price, yield to maturity (YTM), current yield, and Macaulay duration with complete interest rate sensitivity analysis.
Interest Rate Shock Analysis (-200 bps to +200 bps)
| Yield Shift | New Market Yield | Estimated Bond Price | Dollar Change ($) | Percentage Change (%) |
|---|
Understanding Bond Valuation & Yield to Maturity (YTM)
Fixed-income securities derive their value from the present discounted value of their future cash streams: periodic coupon payments and the final face value (par) returned at maturity. Because future cash flows are fixed, a bond's market price moves in the opposite direction of prevailing market interest rates:
- Premium Bond (Price > Par): Occurs when the bond's coupon rate is higher than the prevailing market yield. Investors pay a premium to lock in above-market income.
- Discount Bond (Price < Par): Occurs when the coupon rate is lower than current market yields. The bond trades below par to compensate buyers with capital appreciation at maturity.
- Par Bond (Price = Par): Occurs when the coupon rate exactly equals the market yield.
Mathematical Formulas & Variables
The standard fixed-rate coupon bond pricing formula discounts each coupon payment and the terminal par value at the periodic yield to maturity:
P = C × [ (1 - (1 + r)-n) / r ] + F × (1 + r)-n
• P = Clean bond market price
• F = Face value (par value, typically $1,000 in the US)
• c = Annual coupon rate (%)
• m = Coupon frequency per year (2 for semi-annual)
• C = Periodic coupon payment = (F × c) ÷ m
• y = Annualized Yield to Maturity (YTM)
• r = Periodic discount rate = y ÷ m
• n = Total coupon periods = Years × m
Macaulay Duration & Modified Duration
Macaulay Duration measures the weighted average time (in years) until an investor receives the bond's promised cash flows. Modified Duration translates Macaulay duration into a direct measure of price volatility, estimating the percentage price change for a 100-basis-point (1.00%) shift in interest rates:
ΔP / P ≈ - Dmod × Δy
Worked Step-by-Step Example
Consider a 10-year US Treasury or corporate bond with a $1,000 par value, a 5.00% annual coupon paid semi-annually, and a current market yield (YTM) of 4.50%:
- Determine Periodic Inputs: Periodic coupon
C = $1,000 × 0.05 / 2 = $25.00. Periodic yieldr = 0.045 / 2 = 0.0225. Total periodsn = 10 × 2 = 20. - Discount Terminal Par Value:
PV(Par) = $1,000 ÷ (1.0225)20 = $1,000 ÷ 1.560509 = $640.82. - Discount Coupon Annuity:
PV(Coupons) = $25.00 × [ (1 - 0.640816) / 0.0225 ] = $25.00 × 15.9637 = $399.09. - Sum Present Values:
P = $640.82 + $399.09 = $1,039.91(The bond trades at a 3.99% premium to par). - Calculate Duration: Macaulay duration equals 7.99 years, resulting in a Modified Duration of
7.99 / (1 + 0.0225) = 7.81%.
Fixed Income Glossary
- Yield to Maturity (YTM): The internal rate of return (IRR) earned by an investor who buys the bond at its current market price and holds it until maturity, assuming all coupons are reinvested at the same rate.
- Current Yield: Annual coupon payment divided by the current bond price (e.g., $50 ÷ $1,039.91 = 4.81%). It measures immediate cash flow return rather than total compound return.
- Clean Price vs. Dirty Price: Clean price is the bond's quoted market price excluding accrued interest. Dirty price (invoice price) includes interest accrued since the last coupon date.
- Convexity: The curvature of the price-yield relationship. Because of positive convexity, bond prices rise more when yields fall than they decline when yields rise by an equivalent amount.
Frequently Asked Questions
Methodology, Sources & Limitations
This calculator implements standard discounted cash flow (DCF) valuation models in accordance with guidelines published by the CFA Institute and FINRA Rule 2232 (Customer Confirmations / Fixed Income Pricing).
- CFA Institute: Fixed Income Analysis — Yield Measures, Spot Rates, and Duration.
- Financial Industry Regulatory Authority (FINRA): Fixed Income Pricing and Yield Calculations.
- U.S. Department of the Treasury: Treasury Direct — Understanding Treasury Notes and Bonds Pricing.