What is Treasury Bond Yield Calculator (YTM)?
A Treasury Bond Yield Calculator (YTM) computes treasury bond yield calculator (ytm) from the inputs you provide. It applies the standard formula to the values you enter and returns the result instantly, without sending any data to a server. Includes current yield, total return, and state-tax-free after-tax YTM (Treasuries are exempt from state income tax).
Treasury Bond Yield Calculator (YTM)
Compute Yield to Maturity, current yield, and after-tax YTM for US Treasury notes and bonds.
TLDR
Yield to Maturity is the annualized return if you hold a bond to maturity, accounting for both coupon income and any premium / discount to face value. Treasuries are exempt from state income tax, so the after-tax YTM beats a corporate bond at the same yield for high-state-tax investors.
How to use this calculator
- Enter your inputs. Each field is labeled with its unit (dollars, percent, age, etc.).
- Read the result instantly. Numbers update as you type - no submit button.
- Adjust to test sensitivity. Change one input at a time to see what moves the result most.
- Cross-check the formula in the section below. Calculator math should match the published formula.
- Copy or screenshot the result for later. The site does not save anything; close the tab and inputs are gone.
About this tool + formula
This calculator uses real 2025-26 IRS, SSA, and CMS published values. The math runs entirely in your browser - nothing is sent to a server. The underlying formula is:
YTM ~= (annual_coupon + (face - price) / years) / ((face + price) / 2) current_yield = annual_coupon / current_price after_tax_YTM = YTM * (1 - federal_marginal)
Sources: IRS contribution limits, SSA reduction factors, CMS Medicare premium tables, US Treasury auction yields, HHS Federal Poverty Guidelines. Numbers are refreshed annually as new figures publish.
Real-world scenarios where this calculator helps
Decision: T-Bill vs T-Note vs T-Bond
Compare YTM at 1-mo, 1-yr, 5-yr, 10-yr, and 30-yr maturities. Often the curve is inverted (short > long), suggesting recession risk.
After-tax compare to munis
Treasuries: federal taxable, state exempt. Munis: federal exempt (often state too if in-state). High-bracket investors in high-tax states should run after-tax math.
Bond ladder construction
Build a ladder of 1-yr, 2-yr, 3-yr, 4-yr, 5-yr Treasuries. As each rung matures, reinvest at the new 5-yr rate. Locks in average yield while keeping liquidity.
Discount / premium check
Bond trading at $980 vs $1,000 face is at discount, total return > coupon. At $1,030 it is at premium, total return < coupon. YTM tells you the truth.
What this tool does
- Estimates yield to maturity using the standard approximation formula.
- Computes current yield (coupon / price).
- Reports total nominal return over the life of the bond.
- Calculates after-tax YTM at your federal marginal rate (state-exempt is built in).
- Reports state tax savings per $1,000 face.
What it does NOT handle
- Doesn't compute exact YTM (which requires iterative solver - the approximation is within ~5 bps).
- Doesn't model reinvestment risk on coupons.
- Doesn't price callable or putable bonds.
- Doesn't compute duration or convexity.
- Doesn't apply NIIT (3.8%) or AMT to municipal interest.
Common mistakes and pitfalls
- Confusing YTM with current yield. YTM accounts for capital gain / loss to face; current yield is just coupon / price.
- Forgetting Treasuries are state-exempt. A 4.5% Treasury beats a 4.5% corporate bond if your state tax is meaningful.
- Comparing nominal yields between Treasuries and munis without after-tax math. A 3% muni can beat a 5% Treasury in the 37% bracket.
- Buying long bonds during inflation panic. 30-yr T-Bonds lost 30%+ in 2022 when rates spiked. Long duration = high interest-rate risk.
- Ignoring the difference between purchasing at auction (clean price) vs secondary market (clean + accrued interest).
Frequently asked questions
What is yield to maturity?
The annualized return earned if you hold the bond from purchase to maturity, assuming all coupons are reinvested at the same rate. The standard yield metric for bonds.
Why is YTM different from coupon rate?
Coupon is the fixed annual interest. YTM also accounts for any capital gain (if bought below face) or loss (if bought above face) when the bond matures at face value.
Are Treasuries really state-tax-free?
Yes. Federal law exempts US Treasury interest from state and local income tax. This makes them especially attractive in CA, NY, NJ, OR, and other high-tax states.
What is the difference between T-Bill, T-Note, T-Bond?
T-Bills: maturity 1 year or less, sold at discount, no coupon. T-Notes: 2-10 years, semi-annual coupons. T-Bonds: 20-30 years, semi-annual coupons. All are state-tax-exempt.
How do I buy Treasuries?
Direct from TreasuryDirect.gov (no fees, $100 minimum) or via a broker (Fidelity, Schwab, Vanguard - usually $0 commission on new auctions, small markup on secondary).
What is current yield?
Annual coupon divided by current price. Useful as a quick income check but ignores the gain or loss to face at maturity.
Are TIPS treated the same?
TIPS (Treasury Inflation-Protected Securities) are also state-exempt federally. Their inflation accrual is federally taxable each year (phantom income) - usually held in tax-deferred accounts.
Should I buy bonds in tax-advantaged accounts?
Generally yes for taxable bonds (Treasuries, corporates, TIPS). Munis belong in taxable accounts (their tax exemption is wasted in IRA / 401(k)).
