Bond Yield & Duration Calculator

Analyze a bond's yield measures and interest-rate risk. Enter the bond's face value, coupon, market price, and years to maturity to compute current yield, yield to maturity (YTM), Macaulay duration, and modified duration.

What are bond yield and duration?

Current Yield is the annual coupon income divided by the bond's current market price. It gives a quick snapshot of the income return relative to the price paid, but it ignores any capital gain or loss at maturity.

Yield to Maturity (YTM) is the total annualized return an investor earns if the bond is held to maturity, accounting for all coupon payments plus the difference between the purchase price and face value. YTM is the discount rate that equates the present value of all future cash flows to the current market price.

Macaulay Duration measures the weighted-average time (in years) to receive each cash flow. It is a key measure of interest-rate risk: bonds with higher duration are more sensitive to rate changes.

Modified Duration refines Macaulay duration by dividing by (1 + YTM / frequency). It estimates the percentage change in bond price for a 1% change in yield.

How it works: This calculator uses the financial library to solve for YTM, then computes Macaulay duration as the weighted-average time of each discounted cash flow. Modified duration follows directly. A cash flow table shows each period's contribution, and two charts visualize the present value stream and the relative share of coupon payments versus principal repayment.

← Back to Tools

Bond Yield & Duration Calculator — YTM, Current Yield, Modified Duration

Free bond yield and duration calculator. Compute current yield, YTM, Macaulay and modified duration. Visualize cash flow PV and coupon vs principal breakdown.

Annual Coupon$50.00
Current Yield5.26%
Yield to Maturity5.6617%
Macaulay Duration7.9273 yrs
Modified Duration7.7090 yrs
Discount$50.00

PV of Cash Flows

Coupon vs Principal (% of Total PV)

Cash Flow Schedule

PeriodCash FlowPV of CFWeight
1$25.00$24.312.56%
2$25.00$23.642.49%
3$25.00$22.992.42%
4$25.00$22.362.35%
5$25.00$21.742.29%
6$25.00$21.142.23%
7$25.00$20.562.16%
8$25.00$20.002.10%
9$25.00$19.452.05%
10$25.00$18.911.99%
11$25.00$18.391.94%
12$25.00$17.881.88%
13$25.00$17.391.83%
14$25.00$16.911.78%
15$25.00$16.451.73%
16$25.00$15.991.68%
17$25.00$15.551.64%
18$25.00$15.131.59%
19$25.00$14.711.55%
20$1,025.00$586.4861.74%

Related Resources

DCF Valuation Calculator → Compound Interest Calculator →