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.
Result
Summary
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.
How this was calculated
Step by step, with the figures above.
- Accrued interestthe coupon of one period × days since the last coupon ÷ days in the period. coupon of one period: $2.69 · days since the last coupon: 1 day · days in the period: 181 days. Rounded to 6 decimal places, halves away from zero.
- Price with accrued interestnext coupon + later coupons + redemption, each discounted to the next coupon date, ÷ (1 + days to the next coupon ÷ days in the period × yield per period). coupons to come: 60 · yield per period: 2.72% · days to the next coupon: 180 days. Rounded to 6 decimal places, halves away from zero.
- Clean pricethe price with accrued interest minus the accrued interest. price with accrued interest: $99.04 · accrued interest: $0.01
- Current yieldthe yearly coupon ÷ the clean price. yearly coupon: $5.38 · clean price: $99.03. Rounded to 2 decimal places, halves away from zero.
- Coupons still to comeface amount × coupon rate ÷ coupons a year × coupons to come. face amount: $10,000.00 · coupons to come: 60. Rounded to 2 decimal places, halves away from zero.
- Amount to pay for the face amountthe clean price and the accrued interest, each on the face amount and rounded to the cent, added. face amount: $10,000.00 · price with accrued interest: $99.04. Rounded to 2 decimal places, halves away from zero.
Appendix B to Part 356, Formulas and Tables (Electronic Code of Federal Regulations). The Treasury price, yield and accrued interest formulas and their worked examples; text current to 2026-11-18, read on 2026-11-25.
31 CFR part 356, Sale and Issue of Marketable Book-Entry Treasury Bills, Notes, and Bonds (Electronic Code of Federal Regulations). Sections 356.12 (yield bids with three decimals) and 356.20(d) (prices rounded to six places); read on 2026-11-25.
Securities auction data, notes and bonds (TreasuryDirect). Auction results: coupon, high yield, price and accrued interest of each issue, read on 2026-11-25.
Rule G-33, Calculations (Municipal Securities Rulemaking Board). Accrued interest, price, yield, accuracy and the 30/360 day count; the formulas are images on the page. Read on 2026-11-25.
Formulae for Calculating Gilt Prices from Yields, 4th edition (UK Debt Management Office). Dated 18 December 2024; price and yield formulae, accrued interest, ex-dividend period. Read on 2026-11-25.
Price/yield and Accrued Interest Calculation Examples (UK Debt Management Office). The worked gilt examples the page’s tests reproduce. Read on 2026-11-25.
Understanding Bond Yield and Return (FINRA). Current yield is the coupon yield divided by the current market price; dated 11 August 2022, read on 2026-11-25.
Überblick Bundeswertpapiere (Deutsche Finanzagentur). Annual coupons and the actual/actual (ICMA) interest count of the German federal securities; read on 2026-11-25.
Table T.V, Market conventions (Economic and Financial Committee of the European Union). Day count and coupon frequency of government bonds by country, from a 2019 survey; read on 2026-11-25.
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
- Appendix B to Part 356, Formulas and Tables (Electronic Code of Federal Regulations). The Treasury price, yield and accrued interest formulas and their worked examples; text current to 2026-11-18, read on 2026-11-25.
- 31 CFR part 356, Sale and Issue of Marketable Book-Entry Treasury Bills, Notes, and Bonds (Electronic Code of Federal Regulations). Sections 356.12 (yield bids with three decimals) and 356.20(d) (prices rounded to six places); read on 2026-11-25.
- Securities auction data, notes and bonds (TreasuryDirect). Auction results: coupon, high yield, price and accrued interest of each issue, read on 2026-11-25.
- Rule G-33, Calculations (Municipal Securities Rulemaking Board). Accrued interest, price, yield, accuracy and the 30/360 day count; the formulas are images on the page. Read on 2026-11-25.
- Formulae for Calculating Gilt Prices from Yields, 4th edition (UK Debt Management Office). Dated 18 December 2024; price and yield formulae, accrued interest, ex-dividend period. Read on 2026-11-25.
- Price/yield and Accrued Interest Calculation Examples (UK Debt Management Office). The worked gilt examples the page’s tests reproduce. Read on 2026-11-25.
- Understanding Bond Yield and Return (FINRA). Current yield is the coupon yield divided by the current market price; dated 11 August 2022, read on 2026-11-25.
- Überblick Bundeswertpapiere (Deutsche Finanzagentur). Annual coupons and the actual/actual (ICMA) interest count of the German federal securities; read on 2026-11-25.
- Table T.V, Market conventions (Economic and Financial Committee of the European Union). Day count and coupon frequency of government bonds by country, from a 2019 survey; read on 2026-11-25.
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.
Related calculators
- Discount calculator: stacked percent off and price before
- Tip and bill split calculator with round-up shares
- Unit price comparison: cost per kilo, litre, pound or piece
- Net worth calculator: assets, debts and home equity
- Price per square foot and square meter: compare two homes
- Basis points to percent: new rate and yearly interest
- Return on investment calculator: ROI and annualized return
- CAGR calculator: compound annual growth rate
- Stock profit calculator with fees and dividends
- Average share cost calculator for several purchases
- Return on equity calculator with DuPont breakdown
- Loan to value calculator: LTV, CLTV and HCLTV
- Net effective rent calculator with free months and credits
- Prorated rent calculator by day for a partial month
- Loan payment calculator with amortization schedule
- Loan payoff calculator: extra payments and interest saved
- Credit card payoff calculator: minimum or fixed payment
- Time value of money calculator: PV, FV, payment and rate
- Annuity payout calculator: income from savings
- Compound interest calculator with monthly deposits
- Effective annual rate calculator (APR to APY)
- CD calculator: interest, APY and a ladder for term deposits
- Simple interest calculator by days, months or years
- Rule of 72 calculator: years to double or the rate needed
- Net present value calculator: NPV and discounted cash flow
- IRR calculator: internal rate of return on yearly flows
- Payback period calculator: simple and discounted
- WACC calculator: weighted average cost of capital
- Price elasticity calculator: demand, supply, cross-price
- Rent affordability calculator: what rent a standard allows
- Debt to income ratio calculator: your DTI against a limit
- Real estate commission calculator: fee, VAT and split
- Sales tax calculator: add tax or find the price before it
- Loan APR calculator: the true yearly cost with fees
- Student loan repayment calculator for US federal loans
- Depreciation calculator: MACRS, straight line, declining
- Rental property depreciation calculator by country
- Adjusted gross income (AGI) and MAGI calculator
- Cash rounding calculator: the cash total by country
- Coin counter: the value and weight of your coins
- PTO accrual calculator: leave earned per pay period
- PayPal fee calculator: what you keep from a payment
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.