Yield to Maturity (YTM) Calculator

Professional yield to maturity calculator for bonds with precise root solving flexible coupon frequency schedule and clear cash flow breakdown. Explore price and yield relationships visualize results in a clean chart export your table to CSV and PDF and follow step by step guidance within an elegant white interface for accurate daily financial decisions.

Result

YTM (annual nominal): 5.661689%

Repriced Value (from YTM): 950.0000

Macaulay Duration: 7.927278 years

Modified Duration: 7.709047 years

YTM is the single discount rate that equates the present value of coupon and principal payments with the current price.

Cash Flow Schedule
Period Cash Flow Discount Factor Present Value Cumulative PV
125.0000001.02830824.31177224.311772
225.0000001.05741823.64248947.954261
325.0000001.08735222.99163270.945893
425.0000001.11813322.35869293.304585
525.0000001.14978621.743177115.047762
625.0000001.18233521.144606136.192368
725.0000001.21580520.562513156.754881
825.0000001.25022219.996445176.751325
925.0000001.28561419.445960196.197285
1025.0000001.32200818.910629215.107915
1125.0000001.35943218.390036233.497951
1225.0000001.39791517.883774251.381725
1325.0000001.43748817.391449268.773174
1425.0000001.47818116.912678285.685851
1525.0000001.52002616.447086302.132938
1625.0000001.56305615.994312318.127250
1725.0000001.60730315.554002333.681252
1825.0000001.65280415.125814348.807066
1925.0000001.69959214.709414363.516480
201,025.0000001.747705586.483517949.999997

You can export the schedule to CSV or PDF using the buttons above.

Example Data

Sample bonds to demonstrate typical parameter combinations and resulting yields.

Face Coupon % Price Years Frequency YTM %
1,000.00 5.0000 950.00 10.00 Semiannual 5.661689
1,000.00 3.0000 1,020.00 7.00 Annual 2.682814
1,000.00 8.0000 1,100.00 15.00 Quarterly 6.923053
Formula Used

The bond price is the present value of all future cash flows discounted at the yield to maturity:

Price = Σ[t=1..N] [ (C/f × Face) / (1 + y/f)^t ] + Face / (1 + y/f)^N
Where:
- y is the annual nominal YTM
- f is coupon frequency per year (1, 2, 4, or 12)
- C is annual coupon rate as a decimal
- N is total number of coupon periods (Years × f)

YTM is the rate y that solves the above equation for the observed Price. This tool uses a robust bisection root finder to compute y.

How to Use
  1. Enter Face Value, Coupon Rate, Price, Years to Maturity, and select Coupon Frequency.
  2. Click Calculate to compute the annual nominal YTM and key risk measures.
  3. Review the Cash Flow Schedule and the PV by Period chart for insight.
  4. Export the schedule using Download CSV or Download PDF.
  5. Adjust inputs to compare bonds or test sensitivities.
FAQs
1) Does this YTM assume reinvestment of coupons?

YTM assumes interim coupons are reinvested at the same yield. Realized returns can differ if reinvestment rates vary.

2) What is the difference between Macaulay and Modified Duration?

Macaulay duration measures the weighted average time to cash flows. Modified duration adjusts for yield compounding and estimates price sensitivity to small yield changes.

3) Why might YTM be unavailable for some inputs?

Extreme prices or parameters can prevent a valid bracket for the root. Try changing price, years, or frequency to obtain a monotonic price–yield relationship within bounds.

4) Does this support day-count conventions or settlement dates?

For simplicity, the calculator uses whole periods based on frequency. Professional valuation may incorporate settlement dates and day-count conventions.

5) Is the yield nominal or effective?

The reported yield is an annual nominal rate consistent with the chosen coupon frequency. Effective annual yield equals (1 + y/f)^f − 1.

Related Calculators

Degree of Operating LeverageDepreciationEBITDAEOQEconomic ProfitFixed Asset TurnoverFCFEMarginal CostNet DebtOptimal Price

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.