Fixed Income & Bonds

Bond Price & Yield to Maturity Calculator

Price a bond from its yield, or solve for the yield behind a price.

Enter face value, coupon rate, years to maturity, and payment frequency to price a bond at a given market yield, or enter the bond's price to solve for its yield to maturity numerically.

Direct Answer

The bond price and yield to maturity calculator computes a bond's price from its face value, coupon rate, years to maturity, and a given market yield, using the present-value-of-cash-flows formula. Entering a bond's price instead solves for the implied yield to maturity numerically, since that direction has no closed-form algebraic solution.

Educational tool only. All results are calculated from values you enter. The calculator does not connect to any broker, exchange, or live bond pricing feed, and it prices a standard option-free bond with no accrued interest. No real account numbers or personal identifiers should be entered.

Bond Price / YTM Calculator

Choose whether to solve for price (given a market yield) or for yield to maturity (given a market price).

Examples:
Bond Terms
Par value repaid at maturity Enter a face value greater than zero.
Annual coupon rate; 0 for a zero-coupon bond Enter a coupon rate between 0 and 100.
Time remaining until the bond matures Enter years to maturity between 0 and 100.
Coupon payments per year
Market Yield
Annual nominal market yield Enter a yield greater than -100%.

Results

Detailed bond price and yield breakdown
Metric Formula Value
Disclaimer: These results are scenario estimates based solely on your inputs, using a standard option-free bond pricing model with no accrued interest. They are not a live quote, not investment advice, and not a substitute for your broker's confirmed settlement amount.

What the Calculator Measures

A bond's price is the present value of all the cash it will pay you: every coupon between now and maturity, plus the face value repaid at maturity, each discounted back to today at the market's required yield. When market yields rise, the fixed payments of an existing bond become relatively less attractive, so its price falls. When market yields fall, that same fixed income stream becomes more attractive, so its price rises. This inverse relationship between price and yield is the central mechanic of fixed-income investing.

Metrics explained

Definitions of bond pricing metrics
Metric Definition Formula
Price Present value of all coupons plus the discounted face value C x [1 - (1+i)^-n] / i + F x (1+i)^-n
Periodic coupon The dollar coupon paid each period Face value x Coupon rate / Payments per year
Periodic yield The per-period discount rate used to present-value each cash flow Annual yield / Payments per year
Yield to maturity (YTM) The single annual discount rate that equates a bond's price to the present value of all its remaining cash flows Solved numerically from price (no closed form)
Current yield Annual coupon income as a percentage of the current price; ignores capital gain/loss to maturity Annual coupon / Price × 100
Price as % of par Price expressed as a percentage of face value, the convention used in bond quotes Price / Face value × 100

Premium, par, and discount

A bond's classification relative to face value follows directly from comparing its yield to maturity against its fixed coupon rate.

Premium, par, and discount classification
RelationshipPrice vs. face valueClassification
Yield to maturity < coupon ratePrice > face valuePremium bond
Yield to maturity = coupon ratePrice = face valuePar bond
Yield to maturity > coupon ratePrice < face valueDiscount bond

Frequently Asked Questions

How do you calculate a bond's price from its yield to maturity?

A bond's price is the present value of every cash flow it pays: each coupon payment plus the face value at maturity, each discounted back to today using the market yield to maturity. The formula is price = C x [1 - (1 + i)^-n] / i + F x (1 + i)^-n, where C is the periodic coupon payment, i is the periodic yield (annual yield divided by payments per year), n is the total number of coupon periods, and F is the face value. When the yield equals the coupon rate, the bond prices exactly at par (100% of face value).

How is yield to maturity calculated from a bond's price?

Unlike price from yield, yield from price has no closed-form algebraic solution, because yield appears inside the discounting exponent for every cash flow at once. It is solved numerically: a solver repeatedly guesses a yield, computes the resulting price, and narrows the guess until the computed price matches the actual price within a small tolerance. This calculator uses bisection, which repeatedly halves a bracketed search range because bond price is a strictly decreasing function of yield, guaranteeing the search converges to the one true answer.

Why does a bond trade at a premium or a discount to face value?

A bond's coupon rate is fixed at issuance, but market yields move with interest rates. When the market yield falls below the bond's coupon rate, investors will pay more than face value for that above-market income stream, so the bond trades at a premium. When the market yield rises above the coupon rate, the bond's fixed payments look less attractive than newly issued bonds, so it trades at a discount to compensate a buyer with a lower purchase price. A bond priced exactly at par has a yield to maturity equal to its coupon rate.

What is the difference between coupon rate, current yield, and yield to maturity?

The coupon rate is fixed at issuance: the annual coupon payment as a percentage of face value, and it never changes. Current yield is the annual coupon payment divided by the bond's current market price, a simple income-only snapshot that ignores any capital gain or loss at maturity. Yield to maturity is the most complete measure: the single discount rate that makes the present value of every remaining coupon plus the face value equal to the current price, capturing both the coupon income and the price gain or loss if held to maturity.

Does payment frequency (annual, semiannual, quarterly, monthly) affect a bond's price?

Yes. Most U.S. corporate and Treasury bonds pay semiannual coupons, splitting the annual coupon rate into two payments per year and dividing the annual yield by two for discounting each period. More frequent compounding at the same nominal annual yield slightly increases a bond's price, because coupon cash is received and (implicitly) reinvested sooner. Comparing two bonds' yields only makes sense when both use the same compounding frequency, mixing an annual-pay yield against a semiannual-pay yield understates the difference between them.

What does this calculator assume, and what does it leave out?

This calculator prices a standard, option-free, fixed-rate coupon bond on a coupon payment date. It does not account for accrued interest between coupon dates (the difference between a bond's clean price and its dirty, or full, price), odd first or last coupon periods, embedded call or put options, credit risk or default probability, or tax treatment. Real bond quotes in the secondary market typically add accrued interest to the clean price shown here to arrive at the amount actually settled.

Why is yield to maturity solved by iteration rather than a direct formula?

Price is a sum of cash flows each discounted by the same unknown yield raised to a different power. Going from yield to price is a direct calculation. Going the other way means solving a polynomial for its root, and for a bond with many coupon periods there is no closed-form algebraic solution. Calculators handle it by guessing a yield, pricing the bond, comparing the result to the actual price, and narrowing the guess until the two agree to within a tolerance. That is why a yield figure can differ slightly between tools with different convergence settings.

What is the difference between a bond's clean price and its dirty price?

The clean price excludes accrued interest and is what dealers quote. The dirty price, also called the full or invoice price, is the clean price plus accrued interest and is what actually settles. A clean price stays smooth through a coupon period, which is why it is the quoting convention: the dirty price sawtooths upward as interest accrues and drops on each payment date, which would make price comparisons across dates misleading. Calculators generally work in clean price unless they state otherwise.

Can yield to maturity be negative?

Yes, arithmetically. If a bond's price is high enough that the total of its remaining coupons and its par repayment is less than what a buyer pays today, the discount rate that equates the two is below zero. This has occurred in real government bond markets where investors accepted a negative yield in exchange for a safe place to hold principal. A calculator that constrains its search to positive yields will fail to converge on such a bond rather than returning the correct negative figure.

References