Bond Yield to Maturity Calculator
Solve for a bond’s yield to maturity from its price, coupon and years remaining, with the current yield, duration and the price sensitivity they imply.
Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.
What the Bond Yield to Maturity Calculator does
Use this bond yield to maturity calculator to solve for a bond’s yield to maturity from its price, coupon and years remaining, with the current yield, duration and the price sensitivity they imply. Fill in all 6 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for finding the yield to maturity of a bond from its market price. Companion tools to this one live on FreeToolStation.org.
How to use it
- Enter the price per 100 of face value, the coupon rate and the years remaining.
- Pick the coupon frequency — most government and corporate bonds pay semiannually.
- Read the yield to maturity, and check the row below it reproduces the price you entered.
- Set a yield shift to see the approximate price move that duration implies.
How it works
Yield to maturity is the discount rate that makes the present value of every remaining cash flow equal the price. There is no algebraic solution for it, so it has to be found numerically — this one uses bisection, which works because price falls steadily as yield rises. A 4.5% seven-year bond priced at 94.50 has a yield to maturity of 5.4666%, and the check row confirms it: discounting the seven coupons and the redemption at 5.4666% gives back exactly 94.50.
Current yield is a different and much weaker number. It is just the annual coupon over the price — 4.50 ÷ 94.50 = 4.76% — and it ignores the 5.50 of capital gain you collect at redemption. For a bond trading at a discount, current yield always understates the return; at a premium it overstates it. The textbook approximation does better by spreading the gain evenly over the years and dividing by the average of price and face: 5.4352% here, which is about 3 basis points from the exact answer on a seven-year bond and drifts further on longer ones.
Duration is the number that tells you about risk, and it is not the same as years to maturity. Macaulay duration is the weighted average time to receive the cash flows, 6.13 years for this bond against 7 years to maturity — shorter because the coupons arrive before the redemption. Modified duration, 5.81 years, is the price sensitivity: a one percentage point rise in yields moves the price down by roughly 5.81%. That is a first-order estimate and the price-yield relationship is convex, so it slightly overstates the fall and understates the rise. For large yield moves the error matters, which is why bond desks track convexity as well.
Compounding frequency produces two legitimate yields and bond markets quote the one that is not directly comparable to anything else. A semiannual bond yielding 4.684% nominal has an effective annual yield of 4.739%, because the half-yearly coupons compound. The nominal figure — the per-period rate times the number of periods — is the market convention, so comparing a semiannual bond yield directly against an annually compounded deposit rate understates the bond by the compounding difference.
Two assumptions are buried in yield to maturity and both are usually false. The first is that you hold to maturity: sell early and your return depends on the price then, not on this yield. The second is the reinvestment assumption — YTM implicitly assumes every coupon is reinvested at the same rate until maturity, which will not happen unless rates stay exactly where they are. A zero-coupon bond has no reinvestment assumption, which is why its YTM is the only one that is also a guaranteed holding-period return.
When to use it
- Finding the yield to maturity of a bond from its market price.
- Comparing bonds with different coupons and maturities on the same yield basis.
- Estimating how far a bond price would move if yields shifted by a point.
- Converting a nominal semiannual yield to an effective annual one.
- Checking a broker’s or platform’s quoted yield figure.
Common mistakes to avoid
- Quoting current yield as the yield. It ignores the capital gain or loss at redemption entirely.
- Comparing a nominal semiannual bond yield against an annually compounded rate without converting.
- Treating years to maturity as duration. Duration is shorter whenever there are coupons.
- Using modified duration for a large yield move. Convexity makes the straight-line estimate wrong.
- Forgetting that YTM assumes coupons are reinvested at the same yield, which rarely happens.
Frequently asked questions
What is yield to maturity?
The single discount rate at which the present value of all a bond’s remaining cash flows equals its price. It is the total return you would earn by holding to maturity, assuming every coupon is reinvested at that same rate.
Why is current yield different from yield to maturity?
Current yield is only the coupon divided by the price. It leaves out the gain or loss at redemption. A bond bought at 94.50 and redeemed at 100 earns 5.50 of capital on top of its coupons, which is why its YTM of 5.47% exceeds its 4.76% current yield.
What is the difference between Macaulay and modified duration?
Macaulay duration is the weighted average time until the cash flows arrive, measured in years. Modified duration is that divided by one plus the periodic yield, and it estimates the percentage price change for a one-point move in yields.
How accurate is duration for predicting price moves?
Good for small moves, progressively worse for large ones. The price-yield curve is convex, so duration overstates the price fall when yields rise and understates the gain when they fall. For moves beyond about a point, a full repricing or a convexity adjustment is needed.
Does yield to maturity assume I reinvest the coupons?
Yes, at the same yield until maturity. If rates fall you will reinvest at less and realise below the YTM; if they rise you will do better. Only a zero-coupon bond escapes the assumption, because it has no coupons to reinvest.