Bond Calculator
Bond price from yield, or yield to maturity from price
Last updated: October 2026
Bond Details
Fractions are fine, for example 10.25 for 10 years and 3 months.
Price and Yield Detail
How Bond Pricing Works
The formula in words
A bond's price is every remaining coupon and the final face value, each discounted to today at the yield per coupon period. With the defaults, a $1,000 bond paying 5% in two $25 coupons a year for 10 years, priced to yield 4.5%, is worth $1,039.91. It trades at a premium because its coupon beats the market yield.
Buying between coupon dates
Most purchases settle between coupons. The calculator counts the time to the next coupon, prices the bond from that date, and splits the result into the clean price you see quoted and the accrued interest you pay the seller. Because of this, a maturity of 10.49 years and 10.5 years give nearly the same quoted price.
Solving for yield
Switch to "Price (find yield)" and enter the quoted price. The calculator searches for the yield that reproduces that price exactly. Current yield is shown alongside, but YTM is the better measure because it includes the gain or loss at maturity.
Simplifications
Periods are treated as equal length, so day-count conventions can move accrued interest by a few cents. Callable bonds, taxes and fees are not modeled.
Frequently Asked Questions
What is yield to maturity (YTM)?
YTM is the yearly return you earn if you buy at today's price, receive every coupon and hold until the bond repays its face value. A 10-year bond with a 4% coupon bought at $950 per $1,000 has a YTM of about 4.63%, above its coupon because you also gain $50 at maturity.
What are clean price, dirty price and accrued interest?
Bonds are quoted at a clean price. Between coupon dates the seller has earned part of the next coupon, called accrued interest, and the buyer pays it on top. Clean price plus accrued interest is the dirty (full) price. A 5% bond with 10 years and 3 months left, priced to yield 4.5%, has a clean price of about $1,040.63 and $12.50 of accrued interest.
What is the difference between current yield and YTM?
Current yield is the annual coupon divided by the price, so it ignores any gain or loss at maturity. For a 5% bond priced at $1,039.91 it is 4.81%, while the YTM is 4.50%.
What does it mean when a bond trades at par, a premium or a discount?
At par the price equals face value, which happens when the yield equals the coupon rate. A bond trades at a premium when its coupon is above market yields, and at a discount when its coupon is below them. At maturity every bond repays its face value regardless of what you paid.
How do interest rates affect bond prices?
They move in opposite directions. Duration measures how much: a bond with a modified duration of 7.9, like the 10-year example above, loses roughly 7.9% of its price if yields rise by one percentage point.
Are Treasury bonds safer than corporate bonds?
Treasuries are backed by the full faith and credit of the US government, and their interest is exempt from state and local income tax. Corporate bonds pay more because the company could default. Both lose value when rates rise if you sell before maturity.