Bond Price Yield Converter

Convert between bond price and yield to maturity for plain-vanilla fixed-rate bonds. See cash flows, discount factors, and a full present value schedule to understand how the market values your bond.

Tip: Use the price mode to sanity-check quoted yields, and the yield mode to infer implied returns from market prices.
Important: This converter uses standard fixed-rate bond pricing formulas and a deterministic numerical search for yield. It does not model embedded options, credit events, or day-count conventions. Use it for education and planning, and confirm pricing details with your broker or advisor.

Bond price and yield formulas

Bond pricing is built on a simple idea: the value of a bond is the present value of its future cash flows. Those cash flows are the coupon payments and the principal repayment at maturity. Yield to maturity is the discount rate that makes the present value of those cash flows equal to the market price. This converter makes those relationships explicit.

1. Coupon payment per period

Face value (FV) = Par amount of the bond
Coupon rate (c) = Annual coupon rate (in decimal form)
Payment frequency (f) = Number of coupon payments per year

Coupon per period (C) = FV × c ÷ f
        

If a bond has a face value of $1,000, a 5% coupon rate, and pays semiannually, the coupon per period is $1,000 × 0.05 ÷ 2 = $25.

2. Number of periods

Years to maturity (T) = Time until principal is repaid

Number of periods (N) = T × f
        

A 10-year bond with semiannual payments has N = 10 × 2 = 20 coupon periods.

3. Price given yield to maturity

Yield to maturity (y) = Annual yield (in decimal form)
Per-period discount rate (r) = y ÷ f

Price = Σ (t = 1 to N) [ C ÷ (1 + r)^t ] + FV ÷ (1 + r)^N
        

The first term is the present value of all coupon payments. The second term is the present value of the principal repayment at maturity. If the yield is lower than the coupon rate, the bond will typically trade at a premium; if the yield is higher, it will trade at a discount.

4. Yield given price (numerical search)

Given a market price P, we seek y such that:

P ≈ Σ (t = 1 to N) [ C ÷ (1 + y/f)^t ] + FV ÷ (1 + y/f)^N

The converter uses a bisection search:
  1. Choose a low and high yield bracket (e.g., 0% to 30%).
  2. Compute the price at the midpoint yield.
  3. Adjust the bracket based on whether the computed price is above or below P.
  4. Repeat until the difference is within a small tolerance.
        

This deterministic search converges to a yield that makes the present value of cash flows match the observed price within a tight tolerance. It is transparent and easy to replicate in a spreadsheet.

5. Present value schedule

For each period t:
  Cash flow(t) = C for t = 1..N−1, and C + FV for t = N
  Discount factor(t) = 1 ÷ (1 + r)^t
  Present value(t) = Cash flow(t) × Discount factor(t)

Total price = Σ Present value(t)
        

The schedule shown in the table is built from these per-period calculations. It lets you see how much of the bond’s value comes from coupons versus principal and how sensitive the price is to changes in yield.

These formulas are the backbone of fixed-income pricing. By making them explicit and pairing them with a numerical yield search, the converter helps you move beyond rules of thumb and into a clear, auditable view of how your bond is valued.

Understanding bond price and yield to maturity

Bond markets can feel opaque. Quotes often show a price, a yield, and a handful of other metrics, but the link between them is not always obvious. At its core, though, a fixed-rate bond is a stream of cash flows: periodic coupons and a principal repayment at maturity. The price you see in the market is simply what investors are willing to pay today for that stream, given their required return. Yield to maturity is a way of summarizing that required return as a single annual percentage.

Price as present value

When you buy a bond, you are exchanging cash today for a series of future payments. If you require a 4% annual return, you can discount each future payment back to today at that rate. The sum of those discounted cash flows is the price you would be willing to pay. If the market price is lower than your present value, the bond offers a higher yield than you require; if it is higher, the yield is lower.

This is why bond prices move inversely with yields. When yields rise, investors demand higher returns, so they are only willing to pay lower prices for the same cash flows. When yields fall, prices rise.

Yield as an implied return

Yield to maturity is the discount rate that makes the present value of the bond’s cash flows equal to its market price. If you know the price, you can solve for the yield numerically. That yield is an implied return: if you hold the bond to maturity, receive all coupons and principal as scheduled, and reinvest coupons at the same rate, your annualized return will be close to the yield.

In practice, reinvestment rates and credit events can differ from assumptions, but yield is still a useful summary of the bond’s pricing.

Worked example

Consider a 10-year bond with a face value of $1,000 and a 5% annual coupon, paid semiannually. That means:

  • Face value: $1,000.
  • Coupon rate: 5%.
  • Payment frequency: 2 (semiannual).
  • Coupon per period: $1,000 × 0.05 ÷ 2 = $25.
  • Number of periods: 10 × 2 = 20.

If the market requires a 4% annual yield, the per-period discount rate is 4% ÷ 2 = 2%. The converter will compute the present value of each $25 coupon and the $1,000 principal at maturity using that 2% rate. The sum of those present values is the bond’s price. Because the coupon rate (5%) is higher than the yield (4%), the bond will trade at a premium above $1,000.

If instead you observe a market price of $1,080 and want to know the implied yield, you can switch the converter to yield mode. It will search for the discount rate that makes the present value of the cash flows equal to $1,080. The resulting yield will be lower than 5%, reflecting the premium price.

Using the schedule to build intuition

The cash flow schedule is more than a table of numbers. It shows how much of the bond’s value is tied to coupons versus principal, and how far into the future those values lie. Longer maturities and lower coupons tend to be more sensitive to changes in yield because more of their value is in distant cash flows. Shorter maturities and higher coupons are less sensitive.

By scanning the present value column, you can see which periods contribute most to the price. If you adjust the yield and rerun the converter, you can see how those contributions shift. This is a practical way to build intuition about interest rate risk without diving into more advanced measures like duration and convexity.

Practical tips

  • Use the price mode to check whether quoted yields make sense for the bond’s cash flows.
  • Use the yield mode to infer implied returns from market prices when comparing bonds.
  • Experiment with different payment frequencies to see how semiannual versus annual coupons affect pricing.
  • Remember that credit risk, call features, and taxes are not modeled here; they can materially affect real-world pricing.
  • Export the schedule and annotate it with your own notes about scenarios, spreads, and risk.

Bond math does not have to be mysterious. Once you see price and yield as two sides of the same present value equation, you can approach fixed-income decisions with more clarity and confidence.

Frequently Asked Questions

Does the converter handle zero-coupon bonds?

Yes. If you set the coupon rate to 0%, the tool will treat the bond as a zero-coupon instrument and price it as the present value of a single principal repayment at maturity.

What yield range does the search use?

The yield search uses a broad bracket (for example, 0% to 30%) and narrows it using a bisection method. This covers most practical fixed-income scenarios while remaining deterministic and stable.

Are day-count conventions and accruals modeled?

No. The converter assumes simple period-based compounding and does not adjust for specific day-count conventions or accrued interest. It is best suited for clean, textbook-style pricing.

Can I use this for callable or floating-rate bonds?

The tool is not designed for bonds with embedded options or floating coupons. Those instruments require scenario-based modeling and more complex assumptions than a single yield to maturity.

Why might my broker’s quoted yield differ?

Broker quotes may use specific day-count conventions, settlement dates, and accrued interest calculations that this tool does not model. They may also incorporate call features or other adjustments.

Is this financial advice?

No. The converter is an educational tool. It can help you understand how price and yield relate, but it does not account for your full financial situation or provide personalized recommendations.

Related tools

Bond Duration & Convexity Calculator Stock vs Bond Yield Comparison Loan Amortization Calculator