Bond Yield to Maturity Calculator:
YTM Formula, Bond Pricing, Duration, and Premium vs Discount Bond Analysis
Yield to maturity is the single most important number in bond analysis. It converts the bond’s price, coupon, and remaining life into a single annualized return figure that is directly comparable across all bonds regardless of coupon rate or maturity — making it the universal language of fixed income investing. A bond’s YTM is the internal rate of return of all its future cash flows: it accounts not just for the coupon income but for the capital gain or loss as the price converges to par at maturity. Understanding exactly how YTM is calculated, how bond prices respond to yield changes, and how duration quantifies that sensitivity is the foundation of all fixed income portfolio management.
A bond is a loan from an investor to a borrower — a government, municipality, or corporation — that promises to pay a fixed periodic coupon and return the face value at maturity. The bond’s yield to maturity (YTM) is the annualized discount rate that makes the present value of all future coupon payments plus the face value exactly equal to the bond’s current market price. It is the complete return the investor earns on the investment if: the bond is held to maturity, all coupons are received on schedule, and each coupon payment is reinvested at the same YTM rate.
YTM is simultaneously the most useful and most misunderstood measure in bond analysis. Its utility comes from its comprehensiveness: it captures coupon income, capital gain or loss, and the timing of all cash flows in a single annualized figure comparable across any bond. Its limitation is the reinvestment assumption: the stated YTM is only realized if all coupon payments are reinvested at exactly the same YTM rate — a rarely achievable condition in practice. For short-maturity bonds with low coupons, the reinvestment assumption is nearly irrelevant. For long-maturity, high-coupon bonds, reinvestment income can represent 30 to 40% of the total return, making the actual return significantly sensitive to reinvestment rates.
Bond Pricing Equation and YTM Formula
The bond pricing equation and the YTM formula are two sides of the same relationship. The bond pricing equation calculates the fair price given a known yield; the YTM calculation runs the equation in reverse to find the yield given a known price. Because the bond pricing equation is a polynomial in (1+r), there is no algebraic solution for r — it requires numerical iteration. The approximate YTM formula provides an estimate accurate to within about 10 to 20 basis points for most typical bonds.
1. BOND PRICE GIVEN YTM (exact)
2. APPROXIMATE YTM (close estimate, no iteration needed)
The two terms in the bond pricing equation represent the present value of two separate cash flow streams. The first term — C x [1-(1+r)^-n]/r — is the present value of all coupon payments, which form an ordinary annuity: n equal payments of C, each discounted at the periodic yield r. The annuity factor [1-(1+r)^-n]/r is the same present value annuity factor used in mortgage and lease calculations. The second term — F/(1+r)^n — is the present value of the single face value payment at maturity, discounted over n periods. Adding the present value of the coupon annuity to the present value of the face value produces the bond’s theoretical fair price at any given yield.
The approximate YTM formula’s numerator has two components: the annual coupon C provides the ongoing income return, and (F-P)/n provides the annual amortization of the discount (positive, adding to return) or premium (negative, reducing return). The denominator is the average of the face value and market price, representing the approximate average investment over the bond’s life. This averaging approximation is why the formula is not exact — it treats the price as linearly converging to par over n years when the actual convergence is geometric.
YTM Step-by-Step: Corporate Bond Trade Walkthrough
The following data block traces the complete YTM calculation for a 10-year corporate bond currently trading at a discount to par. The step-by-step breakdown shows how the approximate YTM is computed, how the exact YTM is verified by plugging it back into the pricing equation, and what each component of the return represents economically.
The data block illustrates the discount bond’s return hierarchy: the YTM of 6.71% exceeds the current yield of 6.32% which exceeds the coupon rate of 6.0%. This ordering is the algebraic consequence of buying the bond below par: the investor earns the $60 coupon income (6% on par) plus an additional $5 per year from the discount amortization as the price converges to $1,000 at maturity. The total annualized income — $65 per year on the average investment of $975 — produces the 6.67% approximate YTM. The exact YTM of 6.71% accounts for the time value of the discount amortization, which is received as a lump sum at maturity rather than spread evenly over the years as the approximation assumes.
Calculate Bond Yield to Maturity for Any Coupon Bond
Enter the bond’s current price, face value, coupon rate, and years to maturity to calculate the exact YTM, current yield, price at any yield, and the full cash flow present value breakdown.
Open the Bond YTM CalculatorPremium, Par, and Discount Bonds: The Three Yield Relationships
Every bond falls into one of three categories based on its market price relative to face value, and each category has a characteristic ordering of the three yield measures: coupon rate, current yield, and YTM. Understanding this three-way hierarchy immediately reveals what type of bond you are evaluating and whether its market price is above, at, or below par — without needing to look at the face value directly.
All three bonds in the comparison above have the same YTM of 6.0% — they are economically equivalent investments at current prices, offering the same total annualized return to maturity. Yet their coupon rates range from 4% to 8%, and their prices range from $851 to $1,134. The YTM equalizes them: the premium bond’s above-market coupon is offset by a capital loss as it converges from $1,134 to $1,000 at maturity; the discount bond’s below-market coupon is enhanced by a capital gain as it converges from $851 to $1,000 at maturity. The YTM measure strips away these differences to reveal the single underlying truth: all three bonds offer the same return at current prices.
The Price-Yield Relationship: Bond Prices Across Different YTM Levels
The inverse relationship between bond prices and yields is one of the most fundamental principles in fixed income: when yields rise, bond prices fall, and when yields fall, bond prices rise. This is not a market convention but a mathematical necessity: if the coupon payment is fixed and the yield the market demands increases, the present value of those fixed payments must decrease, which requires a lower price. The following table quantifies this relationship for a standard 6% coupon, 10-year, $1,000 face value bond.
| YTM | PV of Coupons | PV of Face Value | Bond Price | vs Par | Bond Type |
|---|---|---|---|---|---|
| 4% | $486.65 | $675.56 | $1,162.22 | +$162.22 premium | Premium |
| 5% | $463.30 | $613.91 | $1,077.22 | +$77.22 premium | Premium |
| 6% (par) | $441.60 | $558.39 | $1,000.00 | par | Par |
| 7% | $421.41 | $508.35 | $929.76 | -$70.24 discount | Discount |
| 8% | $402.60 | $463.19 | $865.80 | -$134.20 discount | Discount |
| 10% | $368.68 | $385.54 | $754.22 | -$245.78 discount | Discount |
| 6% coupon, $1,000 face, 10-year bond. Price = $60 x [1-(1+r)^-10]/r + $1,000/(1+r)^10. When YTM doubles from 5% to 10%, price falls 30% from $1,077 to $754. Price-yield relationship is convex (not linear): a rate rise from 6% to 7% reduces price by $70.24; a rise from 9% to 10% reduces price by only $62 despite same 1% move. | |||||
The price-yield table reveals two critical properties of bond pricing. First, the relationship is convex rather than linear: equal increases in yield produce progressively smaller price decreases (the bond price falls less per basis point as yields rise). This convexity is favorable to bond holders: when yields rise, prices fall by less than duration predicts; when yields fall, prices rise by more than duration predicts. Second, the same 1-percentage-point yield change produces very different price impacts at different yield levels: a move from 4% to 5% reduces the price by $85.00, while a move from 9% to 10% reduces it by only $63.70. Lower-yield environments create higher price sensitivity to rate changes, making long-duration bonds in low-yield environments particularly vulnerable to rate normalization.
Bond Price vs YTM: Visual Representation of the Inverse Relationship
The growth bars below map the same 6% coupon bond’s price at six different yield levels, displaying the non-linear price erosion as yields rise from 4% to 10%. The $1,162 price at 4% YTM represents a 16.2% premium to par; the $754 price at 10% represents a 24.6% discount.
The visual shows the asymmetric convexity of bond pricing: the jump from $1,162 at 4% to $1,077 at 5% is $85, while the jump from $866 at 8% to $754 at 10% is $112 despite only a 2-percentage-point change. This convexity accelerates at lower prices because the percentage changes are larger. From a portfolio management perspective, the price at 10% YTM — $754 for a bond that will pay $1,000 at maturity in 10 years — represents a substantial nominal return waiting to be captured as the bond converges to par, making deep-discount bonds attractive when rates are expected to decline from elevated levels.
Duration: Quantifying Bond Price Sensitivity to Yield Changes
Duration is the primary risk measure for bonds, quantifying how much a bond’s price will change in response to a 1-percentage-point change in yield. There are two related duration measures: Macaulay Duration measures the weighted average time in years to receive all cash flows, while Modified Duration converts that to a direct price sensitivity measure. Modified Duration is the market standard for expressing bond interest rate risk.
Macaulay Duration is computed as the sum of (time to each cash flow x present value of that cash flow) divided by the total bond price. For a zero-coupon bond that pays only at maturity, all cash flows occur at a single point, so Duration = years to maturity. For a coupon bond, intermediate coupon payments are received before maturity, pulling the weighted average time earlier than the maturity date. A 10-year, 6% coupon bond at 6% YTM has a Macaulay Duration of approximately 7.80 years — shorter than the 10-year maturity because roughly 44% of the bond’s value is delivered via coupons before maturity.
Modified Duration: The Price Sensitivity Formula
Modified Duration = Macaulay Duration / (1 + YTM). For a 10-year 6% coupon bond at 6% YTM: Modified Duration = 7.80 / 1.06 = 7.36. This means a 1 percentage point (100 basis point) rise in yield reduces the bond’s price by approximately 7.36%. On a $1,000 par bond priced at $1,000, a 1% yield rise produces a price decline of approximately $73.60. For a 1-year bond, Modified Duration is approximately 0.94, so the same yield rise produces only about $9.40 in price decline. Duration is the single most important number for comparing interest rate risk across bonds of different maturities and coupon rates.
The practical application of Modified Duration is the quick estimation of portfolio price changes from yield shifts. A bond portfolio with an average Modified Duration of 6 years will lose approximately 6% of market value for every 1-percentage-point rise in interest rates. During the Federal Reserve’s 2022 tightening cycle, when the Federal Funds Rate rose approximately 4.25 percentage points over 12 months, a 7-year duration bond portfolio would have experienced approximately 29.75% in market value erosion — the severity that many fixed income funds reported. Investors with 20-year duration Treasury bond positions experienced losses exceeding 40% over the same period.
YTM vs Yield to Call: Evaluating Callable Corporate Bonds
Many corporate bonds are callable — the issuer has the right to redeem them before maturity at a specified call price (the call premium). Callable bonds introduce a new yield measure: yield to call (YTC), the return assuming the bond is called on the first call date at the call price. For callable bonds trading at a premium to par, issuers are incentivized to call the bond when rates decline, replacing high-coupon debt with cheaper new issuance. This creates call risk for investors who lose a high-income bond precisely when they most want to keep it.
| Bond | Coupon | Current Price | Call Date | Call Price | YTM | YTC | Yield to Worst |
|---|---|---|---|---|---|---|---|
| Corp A (callable) | 7.0% | $1,050 | 5yr | $1,020 | 6.34% | 6.18% | 6.18% (YTC) |
| Corp B (callable) | 5.0% | $960 | 3yr | $1,010 | 5.61% | 6.42% | 5.61% (YTM) |
| Corp C (non-callable) | 6.0% | $980 | N/A | N/A | 6.22% | N/A | 6.22% (YTM) |
| Treasury 10yr | 4.5% | $946 | N/A | N/A | 5.12% | N/A | 5.12% (no call risk) |
| Yield to worst (YTW) is the minimum of YTM and all YTC dates — the floor return in the worst-case scenario for the issuer. Corp A: YTC 6.18% is less than YTM 6.34%, so the issuer prefers to call (high coupon, premium price). Corp B: YTC 6.42% is greater than YTM 5.61%, so the issuer will not call early. Always evaluate callable bonds on YTW, not YTM alone. | |||||||
The comparison table shows how the YTM vs YTC analysis determines the yield to worst for each bond. Corp A has a YTC of 6.18% lower than its YTM of 6.34%, meaning the issuer would benefit from calling the bond early: they are paying a 7% coupon on a bond the market values at 6.34% YTM, and calling it at $1,020 (below the $1,050 market price) would save money by refinancing at current rates. The investor facing this call risk should price Corp A at its YTC of 6.18%, not its YTM of 6.34%. Corp B has the opposite situation: its YTC exceeds YTM, so the issuer has no incentive to call (calling would accelerate payment of the discount and raise their effective rate). Corp B’s yield to worst equals its YTM of 5.61%.
Call Risk: Why Premium Callable Bonds Are Priced at YTC, Not YTM
When a callable bond trades significantly above its call price, the YTM calculation overstates the investor’s actual return. If the issuer calls the bond at $1,020 when you paid $1,050, you lose $30 per bond in addition to losing the high-coupon income stream. Quoting the YTM of 6.34% on Corp A misrepresents the expected return; the 6.18% YTC is the honest yield. The bond market convention for callable bonds is to quote them at yield to worst (YTW), which is always the most conservative and most relevant yield measure. Never evaluate a callable bond using YTM alone when it is trading at a significant premium to its call price.
Bond Investment Analysis Checklist
Frequently Asked Questions: Bond Yield to Maturity
What is yield to maturity (YTM)?+
Yield to maturity (YTM) is the total annualized return earned on a bond if it is purchased at its current market price and held to maturity, with all coupon payments received on schedule and reinvested at the same YTM rate. YTM is the internal rate of return (IRR) of all future bond cash flows — coupons plus face value repayment — relative to the current price. It accounts for the coupon income, the capital gain (for discount bonds) or loss (for premium bonds) as price converges to par at maturity, and the compounded reinvestment of intermediate coupon payments. YTM is the single most useful measure for comparing bonds of different coupon rates, prices, and maturities.
What is the YTM formula?+
The exact YTM is the rate r that solves: P = C x [1-(1+r)^-n]/r + F/(1+r)^n, where P is current price, C is annual coupon, n is years to maturity, and F is face value. This cannot be solved algebraically; it requires numerical iteration (financial calculator or Excel). The approximate YTM formula provides a close estimate: YTM approximately equals [C + (F-P)/n] / [(F+P)/2]. For a bond at $950 with a 6% coupon ($60), $1,000 face, 10-year maturity: approximate YTM = [60 + 50/10] / [(1000+950)/2] = 65/975 = 6.67%. The exact YTM is 6.71%, showing the approximation is accurate to within a few basis points for typical bonds.
What is the bond pricing equation?+
The bond pricing equation is: Price = C x [1-(1+r)^-n]/r + F/(1+r)^n. The first term is the present value of coupon payments (annuity factor x coupon); the second is the present value of the face value repayment. For a 6% coupon, $1,000 face, 10-year bond at 7% YTM: PV of coupons = $60 x [1-(1.07)^-10]/0.07 = $60 x 7.024 = $421.41. PV of face = $1,000/1.07^10 = $1,000/1.967 = $508.35. Price = $421.41 + $508.35 = $929.76. In Excel: =PV(7%, 10, -60, -1000) returns $929.76. The pricing equation shows directly that as the discount rate (YTM) increases, both PV terms decrease, lowering the price.
What is the relationship between YTM, current yield, and coupon rate?+
The three yield measures follow a predictable ordering based on bond type. Premium bond (price above par): Coupon Rate greater than Current Yield greater than YTM. The YTM is lowest because the investor takes a capital loss as the premium price converges down to par. Par bond (price equals par): Coupon Rate equals Current Yield equals YTM. No capital gain or loss, so all three measures agree. Discount bond (price below par): Coupon Rate less than Current Yield less than YTM. The YTM is highest because the investor receives a capital gain as the discounted price rises to par at maturity. Current yield = Annual Coupon / Current Price and ignores the capital gain or loss component entirely.
Why do bond prices fall when interest rates rise?+
Bond prices fall when rates rise because a bond’s fixed coupon becomes less valuable relative to newly issued bonds paying higher rates. The market price must adjust until the existing bond’s YTM matches the market rate for similar credit risk. If you own a 6% coupon bond and new bonds issue at 8%, your bond must fall in price until a buyer earns 8% YTM despite receiving only 6% coupon payments — the capital gain from buying below par compensates for the below-market coupon. This adjustment is mechanical and automatic: Price = C x [1-(1+r)^-n]/r + F/(1+r)^n shows that increasing r (the required yield) directly reduces the present value of all future cash flows, lowering the bond price.
What is duration and how does it measure interest rate risk?+
Macaulay Duration is the weighted average time in years to receive all bond cash flows (coupons plus face value), with weights equal to each cash flow’s present value as a share of total price. Modified Duration = Macaulay Duration / (1 + YTM). The Modified Duration directly measures price sensitivity: a bond with Modified Duration of 7.36 will lose approximately 7.36% of its price for every 1-percentage-point rise in yield, and gain approximately 7.36% for every 1-percentage-point decline. A 10-year zero-coupon bond has Duration = 10 years (all cash flows at maturity). A 10-year 6% coupon bond has Duration approximately 7.80 years because intermediate coupons reduce the weighted average time of cash receipt.
What is yield to call (YTC) and yield to worst (YTW)?+
Yield to call (YTC) is the return assuming the bond is called (redeemed early) on the first call date at the call price. It is calculated using the same bond pricing equation but with the call date substituted for maturity and call price substituted for face value. Yield to worst (YTW) is the minimum of YTM and all YTC calculations across all possible call dates — the lowest return the investor would receive under any issuer action. For premium callable bonds, YTC is typically lower than YTM because the issuer calls early when it benefits them (when rates have fallen). The market convention is to quote and analyze callable bonds using YTW rather than YTM to present an honest picture of the minimum expected return.
What is the difference between nominal yield and real yield?+
Nominal yield (YTM) is the stated annualized return without adjusting for inflation. Real yield adjusts for inflation: Real Yield approximately equals Nominal Yield minus Expected Inflation, or exactly: Real Yield = (1 + Nominal) / (1 + Inflation) – 1. For a Treasury bond yielding 4.80% with 3.0% expected inflation: Real Yield = (1.048/1.030) – 1 = 1.75%. Treasury Inflation-Protected Securities (TIPS) pay a guaranteed real yield plus CPI adjustment to the principal. The difference between a 10-year nominal Treasury yield and a 10-year TIPS yield is the market-implied 10-year breakeven inflation rate — the inflation expectation embedded in nominal bond prices.
How do I calculate YTM in Excel?+
In Excel, use the YIELD function: =YIELD(settlement, maturity, rate, pr, redemption, frequency). Example: for a 6% coupon bond purchased today at $95 per $100 face ($950 per $1,000), maturing in 10 years, with annual coupons: =YIELD(TODAY(), DATE(YEAR(TODAY())+10, MONTH(TODAY()), DAY(TODAY())), 0.06, 95, 100, 1) returns 6.71%. For semiannual coupons, set frequency to 2. Alternatively, use the RATE function: =RATE(n, -coupon, -price, face) where n is periods, coupon is the period payment, price is negative current price, and face is positive face value. For the same bond: =RATE(10, -60, -950, 1000) = 6.71%. XIRR works for irregular payment dates: =XIRR(cash flows array, dates array).
Key Takeaways
Yield to maturity is the complete measure of bond return: it incorporates coupon income, capital gain or loss from price-to-par convergence, and the time value of all cash flows into a single annualized figure directly comparable across bonds. The bond pricing equation — Price = C x [1-(1+r)^-n]/r + F/(1+r)^n — is the foundational formula from which both bond prices (given yield) and YTM (given price) are derived. The approximate YTM formula [C + (F-P)/n] / [(F+P)/2] provides close estimates for most practical calculations without requiring iteration.
The three-way hierarchy of coupon rate, current yield, and YTM immediately identifies whether a bond is at a premium, par, or discount: premium bonds have Coupon greater than Current Yield greater than YTM; discount bonds have Coupon less than Current Yield less than YTM. Duration measures the price sensitivity to rate changes, and modified duration directly predicts the percentage price change per basis point yield movement. For callable bonds, yield to worst replaces YTM as the analytical standard, ensuring the investor accounts for the issuer’s call decision rather than assuming the bond survives to final maturity.
Calculate Exact Bond YTM, Duration, and Price Sensitivity
Our Bond YTM Calculator solves the exact pricing equation iteratively, shows PV of coupons vs face value, calculates Macaulay and Modified Duration, and generates the full price-yield table for any bond across the yield curve.
Launch the Bond YTM Calculator