Bond Calculator

Calculate bond price, yield to maturity, current yield, Macaulay & modified duration, convexity, and accrued interest — all in one place.

Bond Calculator

Price · Yield · Duration · Convexity · Accrued Interest

$
Bond's redemption value at maturity
%
Annual interest rate on face value (0 for zero-coupon)
How often coupon payments are made
yr
Remaining time until maturity
%
Required annual yield (used to compute price)
d
Days elapsed since last coupon (for accrued interest)

Quick Summary

  • A bond calculator computes the fair price of a bond given its yield, or finds the yield given its market price — along with duration, convexity, and accrued interest.
  • Use it when buying or selling bonds, comparing fixed-income investments, or assessing interest-rate risk in a portfolio.
  • The price is the present value of all future coupon payments plus the par value, each discounted at the yield to maturity.
  • Duration measures interest-rate sensitivity: a bond with duration of 7 years loses roughly 7% in price for every 1% rise in yield.
  • Results assume a fixed coupon rate and regular payment schedule; callable or floating-rate bonds require additional adjustments.
  • Consult a licensed bond broker or financial advisor before executing any fixed-income trade.

How to Use the Bond Calculator

Start by choosing your calculation mode. Price from Yield computes the fair market price of a bond when you know the required yield — useful when you want to know what to pay for a bond that meets your return target. Yield from Price works in reverse: enter the market price and the calculator solves for yield to maturity, which tells you the actual return on a bond you can buy right now.

Enter the bond's face value (usually $1,000), its annual coupon rate, how frequently coupons are paid, and the years remaining to maturity. If you are buying the bond between coupon dates, enter the number of days since the last coupon payment — the calculator will add accrued interest to give you the true purchase cost.

Hit Calculate and twelve metrics appear instantly: clean price, dirty price, both yield measures, annual coupon, accrued interest, Macaulay and modified duration, convexity, DV01, total coupon income, number of periods, and the bond's premium/discount status.

What Is a Bond?

A bond is a loan made by an investor to a borrower — typically a government, municipality, or corporation. The borrower promises to pay a fixed rate of interest (the coupon) at regular intervals and to return the full principal (the par or face value) on a specified maturity date. Bonds were formally standardised in the US market through the Securities Act of 1933, though sovereign debt instruments date back centuries before that.

The coupon is set at issuance based on prevailing interest rates and the issuer's credit quality. Once issued, the coupon never changes — but the bond's market price adjusts constantly as yields shift, making every bond a moving target in a portfolio.

Why Bond Valuation Matters

Most retail investors make the mistake of treating bonds as simple savings accounts that pay a stated rate. They are not. The price you pay versus the par value determines your actual return entirely. Buy a 5% coupon bond at a premium of $1,080 and your effective yield is considerably lower than 5%. Buy the same bond at $920 and your effective yield is higher — the market discount compensates for whatever risk the market has priced in.

Portfolio managers at pension funds, insurance companies, and sovereign wealth funds use bond duration every single trading day. A fund with $500 million in bonds and a modified duration of 8 stands to lose approximately $40 million if interest rates rise 1% overnight. Understanding these mechanics protects capital and enables better allocation decisions at any scale.

The Formula Explained

The bond price is the present value of all future cash flows — each coupon payment and the final par repayment — discounted at the yield to maturity. The discounting reflects a fundamental truth: a dollar received in the future is worth less than a dollar today, and by how much depends on the prevailing interest rate.

P = Σ [ C / (1 + r)ᵗ ] + [ F / (1 + r)ⁿ ]

Where P is the bond price, C is the periodic coupon payment (annual coupon ÷ payment frequency), r is the periodic yield (annual YTM ÷ frequency), n is the total number of periods, F is the face value, and t runs from 1 to n. For a semi-annual bond, both C and r are halved, and n is doubled.

The calculator simplifies the summation using the closed-form annuity formula to avoid rounding errors from many small additions:

P = C × [ 1 − (1 + r)⁻ⁿ ] / r + F × (1 + r)⁻ⁿ

When solving for YTM from a given price, there is no algebraic closed form — the equation must be solved iteratively. This calculator uses the Newton–Raphson method, which converges to nine decimal places of accuracy in fewer than 50 iterations for all realistic bond inputs.

Step-by-Step Example

Sarah is considering buying a corporate bond with a face value of $1,000, a 4.5% annual coupon paid semi-annually, and 7 years to maturity. Current market yields for comparable bonds are 5.2%. What should she expect to pay?

The periodic coupon is $1,000 × 4.5% / 2 = $22.50. The periodic yield is 5.2% / 2 = 2.6%. The number of periods is 7 × 2 = 14. Plugging in:

P = 22.50 × [1 − (1.026)⁻¹⁴] / 0.026 + 1000 × (1.026)⁻¹⁴

This gives a clean price of approximately $952.77 — a discount to par because the bond's coupon (4.5%) is below the market yield (5.2%). Sarah pays less than face value, and that discount makes up the return shortfall. Her Macaulay duration is approximately 6.09 years, meaning the bond has moderate interest-rate sensitivity.

If Sarah has held this bond for 45 days since the last coupon payment, her accrued interest is: $45 / (365/2) × $22.50 ≈ $5.55. The dirty price she actually pays to the seller is $952.77 + $5.55 = $958.32.

How to Read Your Results

The bond status indicator immediately tells you whether you are looking at a discount bond (price below par), a par bond (price equals par), or a premium bond (price above par). This matters because discount bonds have higher YTM than coupon rate, while premium bonds have lower YTM than coupon rate — a distinction beginners often miss.

Current yield is quick and simple: annual coupon divided by current price. It ignores the capital gain or loss at maturity, so it always overstates the return on discount bonds and understates it on premium bonds. Use YTM for accurate comparisons.

DV01 (Dollar Value of a basis point, also called PVBP) tells you in dollar terms exactly how much the bond price changes when yield moves 0.01%. For a $1,000 bond with DV01 of $0.68, a 25-basis-point rate move changes the price by $17.00. Traders use DV01 to hedge bond positions with futures contracts with precision.

Duration and Convexity: The Risk Measures

Macaulay duration was developed by Frederick Macaulay in 1938 and remains the foundational measure of a bond's interest-rate risk. It is the weighted average of the times at which you receive each cash flow, where each weight is the present value of that cash flow as a proportion of the bond's total price. A Macaulay duration of 6.5 years means the bond behaves as if all its cash flows were received in a single lump sum 6.5 years from now.

Modified duration converts Macaulay duration into a direct percentage price sensitivity. Divide Macaulay duration by (1 + periodic yield) to get modified duration. A modified duration of 6.2 means a 1% increase in yield reduces the bond's price by approximately 6.2%.

Convexity refines that approximation. Because the price–yield relationship is curved rather than linear, the modified duration estimate overstates losses on yield increases and understates gains on yield decreases. Convexity captures the degree of that curvature. A bond with higher convexity is better to own: it loses less when rates rise and gains more when rates fall, all else equal. This is why long-dated zero-coupon bonds — which have maximum duration and convexity — are so responsive to rate moves.

Together, modified duration and convexity give a second-order price approximation:

ΔP / P ≈ −(ModDur × Δy) + ½ × (Convexity × Δy²)

Factors That Affect Bond Pricing

Credit risk is the most variable factor the formula does not capture directly. Two bonds with identical coupons and maturities can have wildly different prices if one is issued by the US Treasury and the other by a speculative-grade corporation. The difference in their yields is called the credit spread, and it reflects the market's assessment of default probability and recovery in default.

Liquidity also affects price. A thinly traded bond may show a quoted yield 20–50 basis points higher than a liquid equivalent simply because buyers demand a premium for the difficulty of selling quickly. This liquidity premium is invisible in any formula but very real in practice.

Tax treatment distorts comparable yields significantly. Municipal bonds in the US pay interest that is exempt from federal income tax. A 3.5% municipal yield is equivalent to a 5.4% taxable yield for an investor in the 35% bracket — the taxable-equivalent yield formula makes these comparisons possible.

Embedded options change duration and convexity completely. Call provisions, put provisions, and sinking funds alter the bond's cash-flow schedule in ways that standard pricing cannot model. Callable bonds exhibit negative convexity near the call price, meaning price gains are capped even as yields fall.

Common Mistakes to Avoid

The most frequent error is confusing coupon rate with yield. A bond yielding 7% does not necessarily pay a 7% coupon — it may pay 4% but trade at such a discount that the total return including price appreciation equals 7%. Always compare yields, never coupon rates, when evaluating competing bond investments.

Ignoring accrued interest when budgeting for a purchase is another costly mistake. If you see a bond quoted at $985 but it has $12 of accrued interest, you will actually write a check for $997 — and failing to account for this can create a cash shortfall on settlement day.

Treating YTM as a guaranteed return is the third common trap. YTM assumes you reinvest every coupon at the same rate — a condition that almost never holds in reality. Over a 10-year period in which rates decline, your realised return will fall short of the original YTM. This is not a flaw in the formula; it is a property of fixed-income investing that every buyer should understand before committing capital.

When to Talk to a Professional

If you are building a bond ladder to fund a specific liability — a child's university fees, a retirement income floor, a business capital project — consult a Chartered Financial Analyst (CFA) or fixed-income portfolio manager. Liability-driven investing requires matching duration precisely to your liability stream, and small mismatches can compound into large funding gaps.

For corporate or municipal bonds with credit risk, a licensed bond broker with access to TRACE (FINRA's Trade Reporting and Compliance Engine) data can show you recent actual transaction prices, which are often significantly different from dealer quotes. Retail investors frequently overpay for individual bonds without this transparency.

Any bond representing more than 5% of your net worth deserves professional review of the bond indenture — the legal document that governs call provisions, covenants, and default remedies. This is where the risk details live, and they rarely appear in the headline figures.

Frequently Asked Questions

Conclusion

Bond valuation sits at the intersection of mathematics, market psychology, and credit judgment. Mastering the mechanics — price, yield, duration, convexity, and accrued interest — puts you on equal footing with professional fixed-income analysts when evaluating any debt security.

Use this calculator whenever you are comparing bond offers, stress-testing your portfolio against rate moves, or simply trying to understand what you actually own. Bookmark it, share it, and return to it every time you encounter a new fixed-income opportunity.

Explore More Financial Calculators →