A bond is a promise to pay a fixed coupon at regular dates and to repay its face value at maturity. Its fair price today is simply the present value of those promised payments, discounted at the yield the market currently demands for that kind of risk. This bond price calculator does that discounting for you, period by period, and shows where the price comes from.
Enter the face value, the annual coupon rate, how often the coupon is paid, the market yield and the time left to maturity — either as a number of years or as a settlement date and a maturity date. You get the clean price (the price quoted on screens), the accrued interest the buyer owes the seller when a trade settles between two coupon dates, and the full or “dirty” price actually paid.
The calculator also measures interest-rate risk: Macaulay duration, modified duration and convexity, plus an estimate of how much the price would fall if yields rose by one percentage point. A cash-flow table lists every remaining payment with its present value. If you already know the price and want the yield instead, use the yield to maturity calculator.
How to use this calculator
- Enter the face value (1,000 is typical for corporate bonds; type 100 to read the price as a percentage of par).
- Enter the annual coupon rate and choose the coupon frequency — semiannual for US Treasuries and most US corporates, annual for most euro bonds.
- Enter the market yield, the annual yield to maturity investors require, compounded at the coupon frequency.
- Give the maturity in years, or switch to dates and enter the settlement and maturity dates plus the day-count convention.
- Read the clean price, accrued interest, premium or discount, and the risk measures. Open the table for every cash flow, or use Solve for → yield to find the yield that matches a target price.
The formula
With face value , annual coupon rate , coupons a year, annual yield , a coupon per period and a periodic yield , a bond with coupons left, the next one periods away (), is worth
The quoted clean price removes the coupon already earned by the seller: accrued interest and . On a coupon date and the formula becomes the familiar annuity plus a zero-coupon payment:
Macaulay duration is the present-value-weighted average time of the cash flows, with ; modified duration is $D^* = D / (1+i)$; convexity is . For a yield change , the price moves by about $\Delta P / P \approx -D^*,\Delta y + \tfrac{1}{2},\text{Convexity},(\Delta y)^2$.
Worked example
A discount bond. A 10-year bond with a 1,000 face value pays a 5% coupon twice a year (25 per period). If the market demands 6%, each payment is discounted at 3% per half-year over 20 periods: the price is 925.61, a discount of 74.39 because the coupon is below the market rate. Its Macaulay duration is 7.895 years, its modified duration 7.665 and its convexity 71.79. A one-point rise in yields would cut the price by about 7.67% on duration alone, or 7.31% once convexity is added.
A premium bond. The same bond at a 4% market yield is worth 1,081.76: investors pay more than face value to lock in a coupon above the market rate.
Textbook check. A 20-year bond with a 10% semiannual coupon priced at an 11% yield is worth 919.77, the classic textbook result. Between coupon dates, the Microsoft PRICE example (5.75% coupon, settled 15 February 2008, maturing 15 November 2017, 6.5% yield, 30/360) gives a clean price of 94.6344 per 100 here, with 1.4375 of accrued interest.
Why bond prices move opposite to yields
A bond’s coupons are fixed when it is issued. When market rates rise, new bonds pay more, so an existing bond is only attractive if its price drops until its yield matches the market. When rates fall, the opposite happens and the price climbs above face value.
| Coupon vs market yield | Price | Called |
|---|---|---|
| Coupon below yield | Below face | Discount bond |
| Coupon equal to yield | Equal to face (on a coupon date) | At par |
| Coupon above yield | Above face | Premium bond |
As maturity approaches, the price of any bond that does not default drifts toward its face value — a premium shrinks, a discount closes. This “pull to par” is why the effect of a rate change is largest on long bonds and on low-coupon bonds, which have the highest duration.
Clean price, dirty price and day counts
Bond markets quote the clean price so that quotes do not jump every time a coupon is paid. The buyer pays the dirty price, which adds the interest accrued since the last coupon. How the accrual is measured depends on the market: actual/actual (used for government bonds such as US Treasuries and French OATs) counts calendar days, while 30/360 (common for US corporate and municipal bonds) assumes 30-day months. Choose the right convention in date mode to match a broker’s statement to the cent; in years mode the calculator assumes an even split of the period.
Frequently asked questions
How do you calculate the price of a bond?
Discount each future coupon and the face value at the market yield per period, then add them up. That sum is the full price; subtract the accrued interest to get the quoted clean price.
What is the difference between clean and dirty price?
The clean price excludes accrued interest; the dirty (full) price includes it. Between two coupon dates the buyer compensates the seller for the part of the next coupon already earned, so the cash paid is the dirty price.
What does modified duration tell me?
It is the approximate percentage change in price for a one-point change in yield. A modified duration of 7.4 means the price falls about 7.4% if yields rise from 6% to 7%, before the small convexity correction.
Why does a bond trade at a premium?
Because its coupon is higher than the yield the market currently requires. Buyers pay more than face value, and that extra is gradually lost as the price is pulled back to par at maturity.
Is the yield entered here the same as the coupon rate?
No. The coupon rate is fixed in the bond contract and sets the payment amounts. The yield is the market’s required return today; it changes daily and determines the price.
Sources
- OpenStax, Principles of Finance — 10.2 Bond Valuation
- F. J. Fabozzi & F. A. Fabozzi, Bond Markets, Analysis, and Strategies, 10th ed., MIT Press (2021) — pricing, accrued interest, duration and convexity
- Microsoft Support — PRICE function (worked example with 30/360 basis)
- Microsoft Support — DURATION function (Macaulay duration example)
Last updated: