Treasury Bond Calculator
Price long-term 20-year and 30-year US Treasury Bonds with semiannual coupon payouts and duration sensitivity.
Analyze long-dated US Treasury Bonds (T-Bonds). Model 20-year and 30-year government debt securities, evaluate semiannual cash flow streams, and examine interest rate sensitivity on long-term fixed income holdings.
How this calculator works
P = Sum_{t=1}^{60} (Coupon/2 / (1 + YTM/2)^t) + Face / (1 + YTM/2)^60. Duration = Weighted average time to receipt of discounted cash flows.
Key benefits
- Dedicated modeling for 20-year and 30-year US Treasury issues
- Shows the immense price volatility and modified duration inherent in long-term bonds
- Calculates total lifetime coupon cash flow across 20 to 30 years
- State and local income tax exemption benefits factored into after-tax comparisons
Assumptions & exclusions
- Assumes standard $1,000 par increment purchases without early call provisions.
Frequently asked questions
Why are 30-year Treasury bonds so volatile when interest rates change?
Because of high duration. Because cash flows are received many years into the future, their present value is extremely sensitive to changes in the discount rate. A 30-year bond with a 20-year duration can drop 20% in price from just a 1% rate increase.
How often do Treasury bonds pay interest?
Treasury bonds pay a fixed coupon every six months, on the same schedule as Treasury notes. Over a 30-year term that means sixty payments, and the combined total of those coupons can exceed the bond's face value itself.
Are Treasury bonds exempt from state taxes?
The interest is exempt from state and local income taxes, though it remains fully subject to federal income tax. For investors in high-tax states, that exemption can close much of the gap between a Treasury yield and a higher fully taxable yield.
What is the minimum purchase for a Treasury bond?
Through TreasuryDirect, marketable Treasury securities can generally be bought in $100 increments. Brokers may set their own minimums for secondary-market trades, and the price you pay there will include any spread or markup the broker applies.
Can I sell a Treasury bond before its 30-year maturity?
Yes, bonds trade on the secondary market throughout their lives. Be aware that long maturities carry high duration: after a rise in market yields, the sale price can be well below face value even though every payment remains backed by the Treasury.
What is duration and why does it matter more for long bonds?
Duration estimates how much a bond's price changes when yields move. Because a 30-year bond's cash flows arrive far in the future, its duration is high, so a one-point rise in yields can cut its price by roughly fifteen percent.
Formula-Based Calculator · By QalcTools Editorial Team. Formulas tested against independent reference values · Content reviewed November 2026 by the QalcTools Editorial Team.
Methodology note: Bureau of the Fiscal Service and US Treasury fixed income pricing standards.
Related calculators
Category: Investments & Retirement Calculators
About this calculator
A Treasury bond is a long promise: the government pays a fixed coupon every six months for twenty or thirty years, then returns the face value. That distance is what makes this calculator worth using before you buy. Small gaps between the coupon rate and the market yield turn into large gaps between price and face value over three decades, and the duration figure exposes how sharply the price would react if yields moved. Enter the face amount, coupon, market yield, and maturity, and the page returns the price, the lifetime coupon cash, the current yield, and the sensitivity measures that define long-bond risk.
How it works
The mechanics mirror any coupon bond, stretched over a long horizon. Each semiannual coupon and the final face payment are discounted back to today at half the market yield per period, and the price is the sum of those discounted pieces. With sixty periods on a 30-year bond, distant cash flows shrink heavily under discounting, which is why the price reacts so strongly to the yield you enter. The tool also totals every coupon across the full term — a figure that often surprises first-time buyers — and computes duration from the timing of the same discounted cash flows.
The formula, explained
Price = Σ (C ÷ 2) ÷ (1 + Y ÷ 2)^t + F ÷ (1 + Y ÷ 2)^(2 × Years); Modified duration = Macaulay duration ÷ (1 + Y ÷ 2)
- F — Face (par) value repaid at maturity, decades after purchase ($)
- C — Annual coupon rate fixed at issuance (% per year)
- Y — Market yield to maturity for long-term government debt today (% per year)
- t — Each semiannual period, up to 60 on a 30-year bond (periods)
The engine converts the maturity into semiannual periods — years times two, rounded — halves the coupon and the yield, and discounts every coupon in a loop from the first period to the last, then adds the discounted face value. Duration comes from that same loop: each discounted cash flow is weighted by its year of arrival, summed, and divided by the price for the Macaulay figure, with modified duration dividing once more by one plus the periodic yield. A price more than fifty cents above face is labelled premium, more than fifty cents below is discount. Lifetime interest is simply the periodic coupon multiplied by the period count, and results are rounded to cents or two decimal places.
Inputs and variables
| Variable | Meaning | Example |
|---|---|---|
| Face (Par) Value | The amount repaid at maturity and the base for the coupon. Over thirty years this repayment is worth far less than face in today’s dollars, which the discounting makes visible. | $10,000 |
| Coupon Rate (% per year) | The fixed annual rate set at issuance, paid in two equal halves each year. It is locked for the entire twenty or thirty years, whatever market rates do. | 4.75% per year |
| Market Yield to Maturity (YTM %) | The yield buyers currently demand on long government bonds. Even a half-point gap from the coupon rate moves a 30-year price by thousands of dollars per $10,000 of face. | 5.25% per year |
| Years to Maturity | The remaining life of the bond — 20 or 30 years for Treasury bonds at issuance. This is the single largest driver of price sensitivity on the page. | 30 years |
| Coupon Frequency | Payments per year, fixed at semiannual on this page. Sixty coupon payments arrive over a 30-year term, and their total is reported with the price. | Semiannual (2 per year) |
Worked example
An investor prices a 30-year Treasury bond with a $10,000 face value and a 4.75 percent coupon while long-term market yields stand at 5.25 percent.
- Face value: $10,000
- Coupon rate: 4.75% per year
- Market yield (YTM): 5.25% per year
- Years to maturity: 30 years, semiannual payments
- Semiannual coupon: $10,000 × 4.75% ÷ 2 = $237.50 every six months, across 60 payment periods.
- Discounting those coupons and the $10,000 face value at 2.625% per period gives a price of $9,248.82 — 92.49% of par, a discount, because the coupon sits below the market yield.
- Current yield: $475 of annual coupon income divided by the $9,248.82 price is 5.14% — above the coupon rate, because the buyer paid less than face.
- Lifetime coupon cash: $237.50 × 60 = $14,250 — more than the face value itself — plus the $10,000 repaid at maturity, for $24,250 of total cash returned.
- Duration check: Macaulay duration is 15.74 years and modified duration 15.33, so a one-point rise in yields would cut the price by roughly 15%.
A price of $9,248.82 (92.49% of par, discount), $237.50 semiannual coupons, a 5.14% current yield, $14,250 of lifetime coupon income, and modified duration of 15.33.
The discount is not a bargain signal by itself: the buyer earns exactly the 5.25% market yield once the below-face purchase price and the pull back to par at maturity are counted. What deserves attention is the exchange being made — $14,250 of coupon income spread over thirty years, paired with a price that swings about 15% for every point yields move. Held to maturity, those swings are noise; sold midway, they can dominate the entire return, which is why long bonds suit money with a genuinely long horizon.
Understanding your results
The lifetime coupon total reframes what a long bond is. In the example the coupons, not the face repayment, supply most of the cash — $14,250 against $10,000 — yet each payment arrives fixed in nominal dollars, so inflation steadily thins what the later coupons buy. Yield to maturity remains the fair comparison figure against other long-term options, because it folds price, coupons, and repayment into one annual rate.
Duration deserves the closest reading on this page. A modified duration above fifteen means the market value behaves more like a stock in a rate shock than like the safe asset the Treasury label suggests — safety here means the payments are certain if you wait, not that the price is stable if you sell. Match that profile to your horizon: money needed in five years does not belong in an instrument whose value can fall fifteen percent on a one-point yield rise.
Assumptions and limitations
This valuation discounts every period at one flat yield, while real markets price each maturity off a yield curve, and it settles on a coupon date with no accrued interest, spread, or markup that an actual secondary-market trade includes. It assumes every coupon arrives and the bond is repaid as scheduled, and it does not reinvest coupons, model inflation’s erosion of fixed payments, or compute any tax — federal tax applies to the interest, while the state and local exemption is not priced here. A thirty-year projection of price sensitivity is also only an approximation, since duration itself changes as yields move.
Common mistakes to avoid
- Calling a 30-year bond the safe option for near-term money. The payments are dependable; the price is not. Modified duration above 15 means a modest yield rise can erase years of coupon income if you must sell.
- Reading a discount price as a bargain. A bond priced at 92.49% of par with a below-market coupon yields the same market rate as a par bond. The discount compensates for the weaker coupon — it is not extra return.
- Counting nominal coupons as real income. A $237.50 coupon in year twenty-nine buys far less than the same coupon today if inflation averages even 3%. Long fixed payments are quietly inflation-exposed.
- Ignoring reinvestment risk. Yield to maturity assumes coupons are reinvested at that same yield. If future rates are lower, the realized return on a coupon-spending or reinvesting holder falls short of the headline yield.
- Comparing a long bond with a savings rate directly. A deposit rate can reset and the principal stays at par; a long bond locks its coupon and floats its price. The honest comparison is yield to maturity plus the duration risk you accept for it.