Bond Yield Calculator
Compute current yield and exact yield to maturity (YTM) from a bond's face value, market price, coupon rate, and years to maturity.
Inputs
Results
YTM solves P = Σ (C/m)/(1+r/m)^t + F/(1+r/m)^N for r, where P = price, F = face value, C = annual coupon, m = payments/year, N = total periods. The approximation uses YTM ≈ (C + (F−P)/T) / ((F+P)/2).
The bond trades at a discount (price < face value). Yield to maturity exceeds the coupon rate because you also gain the difference between price and face value at maturity.
What is bond yield?
Bond yield is the annualized return an investor earns by purchasing a bond at its current market price and holding it to maturity. Because bonds trade at prices that differ from their face value — rising when rates fall and falling when rates rise — the stated coupon rate is rarely the actual return. This calculator computes three yield measures from a bond's face value, market price, coupon rate, maturity, and payment frequency: annual coupon, current yield, and yield to maturity (YTM).
The three yield measures
Bonds come with three distinct "yield" numbers that are frequently confused:
| Measure | Formula | What it answers |
|---|---|---|
| Coupon rate | Annual coupon ÷ Face value | What yield was promised at issuance |
| Current yield | Annual coupon ÷ Market price | What income you earn at today's price |
| Yield to maturity | Discount rate that equates PV of cash flows to price | Total annualized return if held to maturity |
The coupon rate is fixed — it is printed on the bond and never changes. The current yield and YTM change every time the market price moves.
Current yield
Current yield is the simplest calculation:
CY=Market priceAnnual couponFor a $1,000 bond with a 5 % coupon ($50/year) trading at $950, the current yield is $50 / $950 = 5.26 %. It measures the coupon income earned per dollar invested today — nothing more. It ignores the capital gain or loss realized when the bond matures and the issuer repays the face value.
Yield to maturity: the complete return measure
Yield to maturity (YTM) captures both the periodic coupon income and the price-to-face convergence at maturity. It is defined as the discount rate that satisfies the bond pricing equation:
P=t=1∑N(1+r/m)tC/m+(1+r/m)NFwhere = current price, = face value, = annual coupon, = coupon payments per year, and = total periods. There is no algebraic solution for — it must be solved numerically.
The textbook approximation
A widely taught closed-form approximation avoids the iterative solver:
YTMapprox=(F+P)/2C+(F−P)/Twhere = years to maturity. The denominator $(F + P)/2$ is the average of face and price — a simple stand-in for the average capital invested. This formula is accurate to within ±0.1–0.5 % for most bonds and is useful for quick estimates or mental math.
The exact solution (Newton-Raphson)
This calculator also provides the numerically exact YTM. Starting from the approximation above as an initial guess, one Newton-Raphson iteration refines the result:
r1=r0−f′(r0)f(r0)where is the pricing error and is the derivative of the bond price with respect to the periodic rate. One iteration from a good seed gives roughly eight decimal places of accuracy — well beyond the precision of any published yield table.
Worked example: a discounted semi-annual bond
Scenario: Face value $1,000, market price $950, 5 % annual coupon, 10 years to maturity, semi-annual payments.
Step 1 – Annual coupon:
Step 2 – Current yield:
Step 3 – YTM approximation:
Step 4 – Exact YTM (Newton-Raphson): approximately 5.66 % — the discount applied to 20 semi-annual $25 payments plus the $1,000 face value at maturity that produces a present value of $950.
Note that YTM (5.66 %) exceeds the coupon rate (5 %) because the bond was bought at a discount: the investor earns the coupon plus gains $50 ($1,000 − $950) at maturity.
The price-yield inverse relationship
Bond prices and yields always move in opposite directions. The mechanics are simple: a bond's coupon payments are fixed. When prevailing market rates rise, newly issued bonds offer higher coupons, making existing lower-coupon bonds less attractive. The only way to make an existing bond competitive is to lower its price. A lower price means a higher current yield and a higher YTM.
The reverse applies when rates fall: existing bonds with higher coupons become attractive, investors bid up prices, and yields compress.
This inverse relationship has a practical implication for bond investors: buying at a discount (price < face value) raises the return above the coupon rate; buying at a premium (price > face value) lowers it below the coupon rate.
Par, discount, and premium bonds
| Scenario | Price vs. face | YTM vs. coupon rate |
|---|---|---|
| Par bond | P = F | YTM = coupon rate |
| Discount bond | P < F | YTM > coupon rate |
| Premium bond | P > F | YTM < coupon rate |
These relationships are exact when coupon and YTM share the same compounding frequency, and approximately true in general.
Zero-coupon bonds
A zero-coupon bond pays no periodic coupons — the entire return comes from buying below face value and receiving face at maturity. The pricing equation simplifies to:
P=(1+r/m)NF⟹r/m=(PF)1/N−1Zero-coupon bonds have the highest interest-rate sensitivity (duration) of any bond class because all cash flow arrives at maturity. A 1 % rise in rates causes a larger price drop for a 20-year zero than for a 20-year coupon bond.
Assumptions and limitations
YTM assumes:
- Reinvestment at YTM. All coupon payments are reinvested at the same rate as the YTM. In reality, reinvestment rates vary over time, so the actual realized return may differ.
- Held to maturity. A sale before maturity makes the actual return depend on the sale price, not the face value.
- No default. YTM ignores credit risk. Compare YTM to the risk-free rate (U.S. Treasury yield) to gauge the credit spread.
- No call provisions. Callable bonds may be redeemed early, making yield to call (YTC) more relevant than YTM for premium-priced callable bonds.
Frequently Asked Questions (FAQ)
What is yield to maturity (YTM)?
Yield to maturity is the total annualized return an investor earns by buying a bond at the current price and holding it until maturity, assuming all coupon payments are reinvested at the same rate.
It is the single discount rate that makes the present value of all future cash flows — periodic coupon payments plus the face value repaid at maturity — equal to today's market price. YTM is the standard metric for comparing bonds with different prices, coupon rates, and maturities.
What is the difference between current yield and YTM?
Current yield (annual coupon ÷ market price) only measures the income component of a bond's return. It ignores the capital gain or loss an investor realizes if the bond was bought at a discount or premium to face value.
YTM captures both the coupon income and the price-to-face convergence at maturity, making it a more complete measure of return. For example, a bond priced at $950 with a 5 % coupon has a current yield of about 5.26 % — but its YTM is higher because the holder also gains $50 at maturity when the issuer repays the full $1,000 face value.
Why does bond price go up when yields go down?
A bond's coupon payments are fixed in dollar terms. When prevailing interest rates fall, newly issued bonds offer lower coupons, making existing bonds with higher coupons more attractive. Investors bid up the price of the existing bond until its YTM matches the market rate — at which point the price is above face value (a premium).
Conversely, when rates rise, existing bonds look less attractive and their prices fall below face value (a discount). This inverse relationship is a fundamental property of fixed-income instruments and explains why bond portfolios lose value when interest rates increase.
How is YTM calculated?
There is no closed-form algebraic solution for YTM — it must be solved numerically. This calculator uses a two-step approach: first it computes the standard textbook approximation YTM ≈ (C + (F−P)/T) / ((F+P)/2), then it refines that estimate with one Newton-Raphson iteration using the bond pricing equation P = Σ (C/m)/(1+r/m)^t + F/(1+r/m)^N.
One iteration starting from a good approximation gives accuracy to roughly eight decimal places, which exceeds the precision of any published bond yield table or financial calculator.
Disclaimer
This calculator assumes a constant reinvestment rate equal to YTM and that the bond is held to maturity with no default. Taxes, transaction costs, call provisions, and floating-rate features are not modeled. Results are for educational and informational purposes only and do not constitute investment advice. Consult a licensed financial advisor before making investment decisions.
Recommended Next
Annuity Payment Calculator
Calculate the fixed periodic withdrawal that draws a lump sum to zero over a chosen horizon — given principal, interest rate, payout period, and frequency.
Present Value Calculator
Find out what a future sum of money is worth today using a given discount rate and time horizon. Supports annual, quarterly, and monthly compounding.