Yield to Maturity (YTM) Calculator
Calculate the yield to maturity of any bond using Newton-Raphson iteration, with current yield, yield to call, zero-coupon support, and price sensitivity analysis.
Bond Details
Yield to Maturity
—
annual yield
—
Current Yield
—
Annual Income
Premium / Discount
—
Modified Duration
Calculation Details
Price-Yield Curve
Price Sensitivity (basis point shifts)
| Yield Shift | New Yield | Bond Price | Price Change |
|---|
Coupon Schedule (First 8 Periods)
| Period | Coupon Payment | Remaining Term |
|---|
Embed This Calculator
Copy the code and paste it into any webpage to embed this calculator.
WordPress users: add a Custom HTML block (not the Embed block) and paste the code there.
Free to use. A small "Powered by Blucalculator" credit is appreciated but not required.
How to use this calculator
Choose a tab for the type of calculation you need, fill in the bond details, and click Calculate. The calculator returns the yield, modified duration, a price-sensitivity table across seven yield scenarios, a coupon schedule for the first eight periods, and a price-yield curve chart.
Yield to Maturity tab. Use this for any standard coupon-paying bond held to its final maturity date. Enter the current market price, face value, annual coupon rate, years to maturity, and payment frequency. The calculator solves for YTM using Newton-Raphson iteration.
Yield to Call tab. Use this for callable bonds when you expect the issuer to call the bond before maturity. Replace face value with the call price and years to maturity with years to the call date.
Zero-Coupon tab. Use this for bonds that pay no periodic coupons, such as Treasury STRIPS or savings bonds. The calculation is a direct algebraic formula, not iterative.
Current Market Price. The price you would pay in the market today to purchase one bond, in the same currency as face value. For US bonds, this is typically quoted as a percentage of face value (e.g. 95.00 = $950 on a $1,000 bond), but enter the dollar amount here.
Face Value. The principal amount repaid at maturity, also called par value. Most US government and corporate bonds use $1,000.
Annual Coupon Rate (%). The stated coupon rate set at issuance, as a percentage of face value. A 5% coupon on a $1,000 bond pays $50 per year.
Payment Frequency. How often coupons are paid. Semi-annual is standard in the US. Annual is common in Europe.
Example: 5% coupon bond, $950 market price, 10 years, semi-annual
The calculator finds the YTM that satisfies: $950 = Σ[$25 / (1 + r)^t] + $1,000 / (1 + r)^20
After Newton-Raphson iteration: YTM = 5.58%
Current yield = $50 / $950 = 5.26%
The difference (5.58% vs 5.26%) reflects the $50 capital gain you earn at maturity when the bond redeems at $1,000 vs your $950 purchase price.
The mathematics of yield to maturity
Yield to maturity is the discount rate that makes the present value of all future cash flows equal to the bond’s current market price. For a standard coupon bond, that equation is:
Price = Σ[C / (1 + r/f)^t] + F / (1 + r/f)^(n×f)
Where:
- C = periodic coupon payment = Face × Coupon Rate / Frequency
- r = annual YTM (what we are solving for)
- f = payment frequency per year
- n = years to maturity
- F = face value
This equation cannot be solved for r directly because r appears in every term. It requires numerical methods. This calculator uses Newton-Raphson iteration, which starts from an approximate initial guess and refines it step by step.
The Newton-Raphson step at each iteration is:
Where f(r) is the pricing equation minus the market price (which we want to equal zero), and f’(r) is its derivative with respect to r. The iteration converges to nine decimal places of precision in fewer than 20 steps for any realistic bond.
| YTM Range | Bond Status | Price vs Face |
|---|---|---|
| YTM > Coupon Rate | Discount bond | Price < Face |
| YTM = Coupon Rate | Par bond | Price = Face |
| YTM < Coupon Rate | Premium bond | Price > Face |
| YTM = 0% | No discounting | Price = Sum of all cash flows |
| YTM = infinity | Zero value | Price = 0 |
Current yield vs YTM: understanding the difference
Current yield is the simplest bond yield measure. It equals the annual coupon payment divided by the current market price:
Current Yield = Annual Coupon / Market Price
For a $1,000 face value bond with a 5% coupon ($50/year) trading at $950: Current yield = $50 / $950 = 5.26%
Current yield answers: “What income do I earn as a percentage of what I paid today?” It ignores everything that happens between now and maturity, including the capital gain from buying at a discount ($50 in this case) or capital loss from buying at a premium.
YTM answers: “What total annual return do I earn if I hold this bond to maturity?” It captures both the income return (coupons) and the capital return (appreciation from $950 to $1,000 over 10 years). The YTM in this example is 5.58%, which is higher than the current yield because of that extra capital gain.
Three rules of thumb:
- If bond trades at a discount (price below face): YTM > Current Yield > Coupon Rate
- If bond trades at par (price = face): YTM = Current Yield = Coupon Rate
- If bond trades at a premium (price above face): YTM < Current Yield < Coupon Rate
For discount bonds, YTM is always the most conservative yield measure and the most accurate estimate of your total return.
Yield to call and callable bonds
Many corporate bonds and some municipal bonds include a call provision that allows the issuer to redeem the bond before the stated maturity date, typically at a specified call price (often above face value).
Issuers call bonds when market interest rates fall below their coupon rate, because they can refinance the debt at a lower cost. This is good for the issuer and bad for the investor, because the investor loses the high-coupon bond and must reinvest at lower prevailing rates.
Yield to call (YTC) calculates the return assuming the bond is called on the next call date at the call price. The formula is identical to YTM, substituting call price for face value and years to call for years to maturity.
For callable bonds:
- If YTC < YTM: the bond is likely to be called. Use YTC as your expected return.
- If YTC > YTM: the bond is unlikely to be called. Use YTM.
- Investors in callable bonds typically use the lower of YTM and YTC, called yield to worst (YTW), as a conservative estimate of minimum return.
A bond trading at a premium to its call price is at particular risk of being called. If you buy a callable bond at $1,050 with a call price of $1,000, you are guaranteeing a capital loss if the bond is called. The YTC in that scenario will be substantially lower than what the coupon rate implies.
Zero-coupon bonds and their YTM
Zero-coupon bonds are issued at a deep discount and redeemed at face value with no periodic interest payments. The entire return comes from the price appreciation between purchase and maturity.
YTM = (Face / Price)^(1/n) - 1
This is a direct algebraic solution, unlike standard bonds which require iteration. For example, a 10-year zero-coupon bond with face value $1,000 priced at $613.91:
YTM = (1000 / 613.91)^(1/10) - 1 = 1.6286^0.1 - 1 = 0.0500 = 5.00%
Zero-coupon bonds have two important properties:
Maximum duration for their maturity: A zero-coupon bond’s modified duration equals its maturity divided by (1 + YTM). No cash flows arrive before maturity, so all value sits in the terminal payment. This makes zero-coupon bonds the most interest-rate-sensitive instruments available, which can be useful for liability matching but dangerous in a rising-rate environment.
Phantom income tax problem: The IRS (and most tax authorities) requires investors to pay tax each year on the “original issue discount” (OID) that accretes, even though no cash is received. This phantom income makes zero-coupon bonds most suitable in tax-deferred retirement accounts such as IRAs and 401(k)s.
Examples of zero-coupon bonds include Treasury STRIPS (Separate Trading of Registered Interest and Principal Securities), US Series EE savings bonds, and many short-term instruments including Treasury bills.
Modified duration and interest rate sensitivity
Duration is the primary measure of a bond’s sensitivity to interest rate changes. This calculator outputs modified duration, which directly answers: “By what percentage will this bond’s price change if yields move by 1%?”
Modified Duration = Macaulay Duration / (1 + r_period)
Where Macaulay duration is the weighted average time (in years) to receive all cash flows:
Macaulay Duration = [Σ(t × PV of cash flow_t)] / Bond Price
The percentage price change approximation:
Price Change % ≈ -Modified Duration × Yield Change %
A bond with modified duration of 8 years will fall approximately 8% in price for a 1% rise in yield, and rise approximately 8% for a 1% fall.
Key relationships:
- Higher coupon = lower duration (more cash arrives earlier)
- Longer maturity = higher duration (more cash is deferred to the future)
- Higher yield = lower duration (cash flows are discounted more heavily, reducing the importance of distant payments)
- Zero-coupon bond = duration equal to its maturity (maximum duration for any given term)
The price sensitivity table in this calculator shows actual price changes (not the linear approximation) at seven yield scenarios: -200, -100, -50, 0, +50, +100, and +200 basis points from the current YTM. The actual price changes reflect convexity, meaning the bond gains more value from a 100bp fall in yield than it loses from an equivalent 100bp rise. This convexity benefit always favors bondholders.
The reinvestment assumption in YTM
YTM carries an important assumption that is rarely achievable in practice: all coupon payments are reinvested at the same rate as the YTM for the remaining life of the bond.
In a bond with a 5.58% YTM, the calculation implicitly assumes that each semi-annual coupon of $25 is immediately reinvested at 5.58% annualized until the bond matures. If actual reinvestment rates are lower (which they typically are in a falling-rate environment, precisely when you are likely to be holding this bond), your realized return will be lower than the stated YTM.
The reinvestment assumption affects shorter-term bonds less (fewer coupons to reinvest) and longer-term bonds more (more coupons, more compounding). Zero-coupon bonds have no reinvestment assumption because no intermediate cash flows exist.
Some analysts use the concept of total return or realized compound yield, which explicitly models reinvestment rates. For most individual investors, recognizing that YTM is an upper bound on realized return (assuming rates fall) or a lower bound (assuming rates rise) is sufficient context for decision-making.
When comparing bonds, if both are held in the same rate environment, YTM comparisons remain valid because both bonds face the same reinvestment conditions. YTM is most misleading as an absolute return forecast, but it is still the standard tool for relative bond comparison.
Reading the price sensitivity table
The sensitivity table shows your bond’s price at seven standardized yield scenarios relative to the calculated YTM. The scenarios are expressed in basis points (bps), where 100 basis points equals 1 percentage point of yield.
| Scenario | Interpretation |
|---|---|
| -200 bps | Rates fall by 2% from current YTM |
| -100 bps | Rates fall by 1% |
| -50 bps | Rates fall by half a percent |
| 0 bps | Current price and yield (highlighted) |
| +50 bps | Rates rise by half a percent |
| +100 bps | Rates rise by 1% |
| +200 bps | Rates rise by 2% |
These scenarios let you stress-test your bond holding. Before buying a bond, check the +200 bps scenario. If that price decline is unacceptable given your investment horizon, the bond carries more duration risk than you can tolerate, and you should consider a shorter-maturity instrument.
Notice that the price increase from -100 bps is always larger (in absolute terms) than the price decrease from +100 bps. This asymmetry is called convexity. Standard bullet bonds always have positive convexity, which means investors benefit from rate moves in both directions relative to the linear approximation that duration alone provides. Higher convexity is more valuable in volatile rate environments.
Choosing between YTM and other yield measures
YTM is the standard yield measure for most fixed-income analysis, but it is not always the right one for a specific situation.
Use YTM when: you are comparing two bonds of similar credit quality and maturity, evaluating whether a bond is cheap or expensive versus its peer group, or assessing the total return from buying and holding to maturity.
Use current yield when: you need a quick income-focused metric and capital gains or losses at maturity are secondary. Income-oriented investors who need cash flow but plan to sell before maturity sometimes focus here.
Use YTC when: the bond is callable, trading at a premium, and the coupon rate is significantly above market rates. In this case the issuer has every reason to call, and your actual holding period and total return will be determined by the call date, not the maturity date.
Use yield to worst (YTW) when: you want the most conservative yield for a callable bond. YTW is the lower of YTM and all possible YTC figures across all call dates. Most fixed-income portfolio managers and Bloomberg screens default to YTW for callable bonds.
For zero-coupon bonds, the closed-form YTM is the only standard yield measure, because there is no coupon income and therefore no current yield to report.
In practice, professional bond investors use all of these measures together to build a complete picture of a bond’s return profile. This calculator provides YTM, current yield, and YTC in separate tabs so you can examine each perspective independently.
Frequently Asked Questions
What is yield to maturity (YTM)?
Yield to maturity is the total annual return an investor earns if a bond is purchased at its current market price and held until it matures. It accounts for coupon payments, any capital gain or loss from buying at a discount or premium, and the time value of money. YTM is expressed as an annual percentage rate.
How is YTM different from the coupon rate?
The coupon rate is fixed at issuance and based on the bond's face value. YTM is a market rate that reflects the current price. If a bond is trading below face value (at a discount), YTM will be higher than the coupon rate. If it trades above face value (at a premium), YTM will be lower than the coupon rate. They are equal only when the bond trades at par.
How is YTM different from current yield?
Current yield equals annual coupon divided by the current market price. It only measures income return and ignores the capital gain or loss you will realize at maturity. YTM is more complete: it factors in both the coupon income and the difference between purchase price and face value at maturity.
What is yield to call (YTC)?
Yield to call is the return an investor earns if the bond is called (redeemed early by the issuer) on a specific call date at the call price. Callable bonds are often called when market rates fall, because issuers want to refinance at lower rates. If YTC is lower than YTM, the bond is likely to be called and you should use YTC as your expected return.
Why does YTM use Newton-Raphson iteration?
There is no closed-form algebraic solution for YTM because the bond price equation is a polynomial of degree n (where n is the number of periods). Newton-Raphson is a standard numerical method that starts with an initial guess and refines it iteratively until the price implied by the guessed yield matches the actual market price to within a very small tolerance.
What is the reinvestment assumption in YTM?
YTM assumes that all coupon payments are reinvested at the same yield (the YTM itself) for the remaining life of the bond. In practice this is unlikely, because market rates change over time. If you reinvest coupons at a lower rate, your realized return will be lower than YTM. This makes YTM a theoretical maximum return in a rising-yield environment.
What is modified duration?
Modified duration approximates the percentage change in a bond's price for a 1% (100 basis points) change in yield. For example, a bond with modified duration of 7 will fall roughly 7% in price if yields rise 1%. Higher duration means greater interest rate sensitivity. Zero-coupon bonds have the highest duration of any bond for a given maturity.
How do I calculate YTM for a zero-coupon bond?
Zero-coupon bond YTM has a closed-form solution: YTM = (Face Value / Price)^(1/n) - 1, where n is years to maturity. No iteration is needed because the bond pays only a single cash flow at maturity. The result is the annualized return from the discount.
Why do bonds trade at a premium or discount?
Bonds trade at a premium when their coupon rate is higher than current market rates, making their income stream more valuable than new bonds. They trade at a discount when their coupon rate is below market rates. The price adjusts so that every bond offers the same competitive yield regardless of when it was issued.
What is the price-yield relationship?
Bond price and yield move in opposite directions: when yield rises, price falls, and when yield falls, price rises. The relationship is not linear but convex, meaning bond prices fall less for a given rise in yield than they rise for the same fall. This convexity is always positive for standard bonds and benefits investors.
Related Calculators
Bond Price Calculator
Calculate the fair market price of a bond from face value, coupon rate, yield to maturity, and years to maturity.
Bond Yield Calculator
Calculate the current yield and approximate yield to maturity (YTM) of a bond from face value, coupon rate, and current market price.
Basis Point Calculator
Convert basis points to percentages, calculate rate changes in basis points, and understand the financial impact of basis point movements on loans and bonds.
Present Value Calculator
Calculate the present value of future cash flows using any discount rate, with annuity support, inflation adjustment, and investment valuation modes.
PVIFA Calculator
Calculate the Present Value Interest Factor of Annuity (PVIFA) for any periodic rate and number of periods.
IRR Calculator
Calculate Internal Rate of Return (IRR) from a series of cash flows. Includes NPV profile chart and MIRR calculation.