Bond price and yield to maturity calculator

Enter the coupon, the coupons still to be paid and either the yield or the quoted price. The page returns the other one, with the accrued interest, the amount to pay and the current yield, worked the way the convention you pick works them.

The page types one of the two and finds the other: the yield for a price, or the price for a yield.
Each convention has its own day count and rounding; the part of the page on conventions says which authority writes each. The general method fits a bond whose own terms you know.
%
The yearly interest the bond pays on its face amount, as a percent. 0 for a zero-coupon bond.
How many coupons the buyer will still receive, the next one and the one paid at maturity included.
%
The yearly yield, as a percent, compounded as often as the bond pays. Read when the page finds the price.
$
The quoted price for 100 of face amount, without accrued interest. 100 is par. Read when the page finds the yield.

Result

Summary

Show result per

Clean price per 100

$99.03

Yield to maturity
5.44%
Price per 100 with accrued interest
$99.04
Accrued interest per 100
$0.01
Current yield
5.43%
Coupons still to come on the face amount
$16,125.00

One bond with a fixed coupon and a regular schedule, held to maturity: no call or put, no inflation index, no odd first or last coupon, and no tax or dealer fee. The days are typed, not counted from dates.

Two Treasury issues, a municipal bond and a gilt

The 30-year Treasury bond issued on 16 November 2026 pays 5.375% twice a year, with 60 coupons to come and the settlement day 1 day into a 181-day period. At its auction yield of 5.441% its clean price is 99.028979 per 100, which is $0.014848 of accrued interest short of the 99.043827 the buyer pays. For $10,000 of face that is $9,904.38, and the coupons still to come add up to $16,125.00. Because the price is below par, the current yield of 5.43% sits slightly over the coupon rate.

The other way round: the 2-year note issued on 2 November 2026 pays 4.625%, has 4 coupons left and sold at 99.843155. Its yield to maturity is 4.708%, the high yield Treasury printed.

A municipal bond follows the 30/360 day count of MSRB Rule G-33. A 5% bond with 20 coupons to come, 169 days into its half-year, bought at 4%, has a clean price of 107.858, cut to three places as the rule says, and 2.347 of accrued interest; $100,000 of it costs $110,205.22.

The Debt Management Office works an 8% gilt on 24 May 1999 at a yield of 4.445%: 145.012268 per 100 with accrued interest. Three days later, once the gilt is ex-dividend, the same yield gives 141.070132, because the buyer no longer gets the coupon; the accrued interest is then negative, -0.241758.

How the price and the yield are worked

A bond is a row of cash flows: the coupon on each coupon date and the face amount with the last one. Its price is what those flows are worth at the yield. The yield per period is the yearly yield over the coupons a year, and each flow is divided by one plus that yield, once for every period before it. The part of the first period between the settlement day and the next coupon is the days to the next coupon over the days in the period.

The conventions differ in how they discount that first part. Treasury uses simple interest, dividing by one plus that fraction times the yield per period, as Appendix B of 31 CFR part 356 writes it. Municipal bonds compound it; with one coupon left the page uses simple interest again, following our reading of Rule G-33, which no readable source confirmed, since the rule’s formulas are images on msrb.org; gilts and the general method always compound it, as the Debt Management Office does. The accrued interest is the coupon of one period times the days since the last coupon over the days in the period.

The clean price is the price with accrued interest minus the accrued interest. Treasury rounds both to 6 decimal places and subtracts. Rule G-33 works to 10 places and then cuts: prices to 3 places, accrued interest to 3, a yield to 4 and then rounds it to 3. A gilt and the general method show 6 places for a price and 7 for a yield, the precision of the Debt Management Office’s examples. The current yield is the yearly coupon over the clean price, rounded to two places.

There is no formula for the yield. The page looks for the yield at which the discounted flows equal the price with accrued interest, halving a bracket from -50% to 100% until it is far narrower than any rounding the page applies, which works because the price falls as the yield rises. A price that no yield in that bracket gives is refused.

Which convention to pick

US Treasury notes and bonds are priced as Appendix B of 31 CFR part 356 says and pay twice a year. Municipal bonds follow Rule G-33, and the form takes a coupon once or twice a year. A UK gilt follows the Debt Management Office’s formulae and pays twice a year; in the 7 business days before a coupon it is ex-dividend, and the form has a switch for it.

On the same bond the Treasury and the general method differ: at 5.441% the general method gives 99.029173 instead of 99.028979, 0.000194 apart, so a Treasury issue should be priced with the Treasury choice.

The general method is the page’s own. It is the Debt Management Office’s formula with the coupons a year you choose and no ex-dividend period, the one a bond with no authority listed here can start from. Corporate bonds, other countries’ government bonds and the euro-area issuers are not offered as conventions: no authority’s yield formula for them was read for this page, so take the terms from your bond’s prospectus or your broker. Germany’s federal bonds pay one coupon a year, counted actual/actual under ICMA’s rule, according to the Finanzagentur, and the euro-area table of the Economic and Financial Committee lists actual/actual and mostly annual coupons; neither publishes a yield formula, which is why the general method carries no country’s name.

What the figures leave out

A call or put, a floating rate, an inflation index, an odd first or last coupon, a zero-coupon bill (Treasury prices bills with a discount rate, which this page does not), yield to call and yield to worst are not worked here. Taxes, dealer mark-ups and fees are not counted, and settlement dates are not read: you type the days. A par bond, with a coupon equal to the yield on a coupon date, comes out at 100 as it should. The page works out figures only; whether to buy a bond is not something it can tell you.

Sources

Questions

Why is the price I pay higher than the quoted price?

The quoted price is the clean price. The buyer also pays the interest the bond has earned since its last coupon, which the seller is owed. On the default bond that is $0.014848 per 100, so 99.028979 becomes 99.043827.

What is the difference between current yield and yield to maturity?

The current yield only divides the yearly coupon by the clean price: 5.43% for the default bond. The yield to maturity, 5.441%, also counts the gain from the price reaching 100 at maturity, and the coupons’ timing. The current yield is not a return.

Why can a Treasury price differ from the general method’s?

Treasury discounts the fraction of the first period with simple interest, the Debt Management Office and the general method compound it. On the default bond that moves the clean price by 0.000194 per 100. On a bond settling on a coupon date the two agree.

What does a negative accrued interest mean?

It happens for a gilt in its ex-dividend period: the seller keeps the coming coupon, so the buyer is credited the part of the period left. In the Debt Management Office’s example above, -0.241758 per 100.

How do I count the days for the form?

For a Treasury note or a gilt, count the real days from the last coupon date to the settlement day, and the real days of the coupon period. For a municipal bond, Rule G-33 counts 30 days to every month and 360 to the year, and the first day counts while the settlement day does not.

Reviewed by the DirectCalculators team. The formula is tested against its source’s worked examples, where the source gives any, and cases worked by hand; see how we calculate.