Bond Price Calculator: Semiannual Valuation Formula, Duration & Tax Rules
P = C × [1 − (1 + y/2)−2n] ÷ (y/2) + F ÷ (1 + y/2)2n. A $1,000 par bond paying a 4.00% coupon ($20 semiannually) with 10 years left at a 5.00% market YTM trades at a clean price of $922.05 per SEC / Investor.gov pricing rules—and triggers ordinary income tax recapture on its $77.95 discount under the IRS 0.25%-per-year de minimis threshold.Interactive Bond Price, Clean/Dirty Settlement & Duration Calculator
Calculator Overview: Generic bond value calculators output a single theoretical price while omitting accrued settlement interest (dirty price), Macaulay/Modified Duration rate shocks, and the IRS IRC § 1278 market-discount tax cliff. Enter par value, coupon rate, market YTM, years to maturity, coupon frequency, and days accrued below.
Dirty Settlement & IRC § 1278 Rule: Cash invoice equals Clean Price + Accrued Interest. If (Par − Clean Price) >= 0.25% × Par × Complete Years, principal gain is taxed as ordinary interest.
The Semiannual Bond Price Equation & Step-by-Step Valuation Formula
Whether using a calculator for bond price or solving the bond valuation equation manually, price equals the present value of fixed coupon payments plus par value returned at maturity. Because U.S. Treasury bonds, municipal issues, and corporate notes pay semiannually, desks use the semiannual bond price formula: P = C × [1 − (1 + y/2)−2n] ÷ (y/2) + F ÷ (1 + y/2)2n, where F is face value ($1,000 corporate or $100 Treasury quote), C = (c × F) ÷ 2 is the semiannual coupon, y is annual YTM, and 2n is semiannual periods remaining.
Per SEC corporate bond valuation rules, when market YTM exceeds the coupon rate, the price of a bond falls below par. To calculate bond price on a 10-year $1,000 bond with a 4.00% coupon ($20 semiannually, 20 periods) at 5.00% YTM (2.50% per period): PV of coupons is $20 × [1 − 1.025−20] ÷ 0.025 = $311.78, and PV of par is $1,000 ÷ 1.02520 = $610.27, summing to $922.05 clean (plus $4.93 accrued interest at day 45 = $926.98 dirty).
| Market YTM | 2-Year (4 Pds) | 5-Year (10 Pds) | 10-Year (20 Pds) | 30-Year (60 Pds) |
|---|---|---|---|---|
| 2.50% YTM (Premium) | $1,028.72 | $1,069.80 | $1,131.97 | $1,313.62 |
| 4.00% YTM (At Par) | $1,000.00 | $1,000.00 | $1,000.00 | $1,000.00 |
| 5.00% YTM (Discount) | $981.41 | $956.24 | $922.05 | $845.46 |
| 6.00% YTM (Deep Disc.) | $963.21 | $914.70 | $851.23 | $723.24 |
| Zero-Coupon @ 5.00% | $905.95 | $781.20 | $610.27 | $227.28 |
Notice how long maturities magnify rate moves: at 5.00% YTM, a 2-year 4% bond dips to $981.41 (-1.86%), whereas a 30-year 4% bond drops to $845.46 (-15.45%).
Notice the critical distinction between Current Yield and Yield to Maturity (YTM) when running a bond value calculator. Current yield simply divides annual dollar coupons by clean market price ($40 ÷ $922.05 = 4.34%), completely ignoring the guaranteed $77.95 pull-to-par principal gain over the remaining 10 years. Yield to Maturity incorporates both the 4.34% ongoing cash coupon stream and the compounded $77.95 capital accretion (assuming coupons reinvest at y/2), lifting true annualized total return to 5.00%. Conversely, on a premium bond bought at $1,069.80 (5-year 4% coupon at 2.50% YTM), current yield looks deceptively high at 3.74% while true YTM is only 2.50% due to the $69.80 capital amortization down to $1,000 par.
The 2026–2027 Domino Effect: Modified Duration Shocks & IRS IRC § 1276 Market-Discount Tax Recapture
Using a price of bond calculator without modeling duration and secondary-market tax cliffs exposes taxable portfolios to two cascading hits:
Step 1 — Modified Duration & Convexity Price Shocks: Under Investor.gov duration principles, %ΔPrice ≈ −Modified Duration × Δy + 0.5 × Convexity × (Δy)2. A 10-year 4% par bond (Modified Duration 8.07 years) loses ~7.8% (-$77.95) on a +100 bps rate jump, while a 30-year bond loses 15.45% (-$154.54).
Step 2 — The IRS IRC § 1278 De Minimis Market-Discount Cliff: When rate hikes push secondary bonds below par inside a taxable brokerage account, IRS Publication 550 enforces IRC § 1276–1278. The de minimis safe harbor equals 0.25% of par × complete years to maturity ($25.00 on a 10-year $1,000 bond, or clean prices of $975.01–$999.99). Stay above $975.00 and maturity appreciation is taxed at 15% long-term capital gains; buy at $922.05 ($77.95 discount) and 100% of that $77.95 gain is taxed as ordinary interest income (up to 37% + 3.8% NIIT)!
Step 3 — The Discount Municipal Bond Trap: Buying a tax-exempt 3.00% municipal bond at $873.47 ($126.53 discount) leaves the stated 3% coupon tax-free, but subjects the entire $126.53 market discount to federal ordinary income tax at maturity—slashing net yield below a par 4.60% muni!
| Secondary Bond Case | Clean Price | Maturity Gain | IRC § 1278 Tax Rule | Net Principal Kept |
|---|---|---|---|---|
| 4% Corp @ 4.25% YTM (Safe) | $979.96 | +$20.04 (<$25) | 15% Cap Gain (-$3.01) | $996.99 |
| 4% Corp @ 4.35% YTM (Breach) | $971.97 | +$28.03 (≥$25) | 24% Ordinary (-$6.73) | $993.27 |
| 4% Corp @ 5.00% YTM (Disc.) | $922.05 | +$77.95 (≥$25) | 24% Ordinary (-$18.71) | $981.29 |
| 3% Muni @ 4.60% YTM (Trap!) | $873.47 | +$126.53 (≥$25) | 24% Fed Tax (-$30.37) | $969.63 |
| 4.6% Par Muni @ 4.60% YTM | $1,000.00 | $0.00 | 0% Federal Tax (IRC § 103) | $1,000.00 |
U.S. Pricing Conventions: Treasuries, Corporates, Munis & Zero-Coupon STRIPS
Verify market conventions before running any bond price calculator: U.S. Treasuries quote per $100 par using Actual/Actual day-count and enjoy 100% state/local tax exemption (31 U.S.C. § 3124), whereas corporate and municipal bonds use 30/360 day-count. Callable bonds must be evaluated at Yield to Worst (YTW) substituting call date and call price whenever trading at a premium.
| Bond Type | Par & Quote Basis | Day-Count | 2026–2027 Tax Treatment |
|---|---|---|---|
| U.S. Treasury Notes/Bonds | $100 par (% of par) | Actual/Actual | Federal Ordinary; 0% State/Local |
| Corporate Debentures | $1,000 par (decimal %) | 30 / 360 | Federal + State + Local Ordinary |
| Tax-Exempt Municipals | $5,000 par (quoted YTW) | 30 / 360 | 0% Fed Coupon (Mkt Disc. Taxed) |
| Zero-Coupon / STRIPS | $100/$1k par (PV only) | None | Annual Phantom OID (Form 1099-OID) |
Hold Treasury STRIPS inside retirement accounts so annual imputed Form 1099-OID phantom interest does not drain taxable cash flow prior to maturity.
For step-by-step verification on a financial calculator (such as TI BA II Plus or HP 12C) or spreadsheet when solving the bond valuation equation: set N = 20 (10 years × 2), I/Y = 2.5 (5.00% annual YTM ÷ 2), PMT = 20 ($40 annual coupon ÷ 2), and FV = 1000, then compute PV = −922.05. In Excel or Google Sheets, =PV(0.05/2, 10*2, 40/2, 1000) returns the identical clean price on exact coupon dates, while =PRICE(settlement, maturity, rate, yld, 100, 2, basis) handles intra-period Actual/Actual (basis=1 for Treasuries) and 30/360 (basis=0 for corporates) settlement dates automatically.
Frequently Asked Questions
What is the formula for bond price on semiannual U.S. bonds?
Use P = C × [1 − (1 + y/2)−2n] ÷ (y/2) + F ÷ (1 + y/2)2n, where C is the semiannual coupon, F is face value, y is annual YTM, and 2n is semiannual periods remaining.
How do I calculate the price of a Treasury bond vs. a corporate bond?
Both discount semiannually, but Treasury bonds use Actual/Actual accrued day-count per $100 par, while corporate bonds use 30/360 day-count on $1,000 par increments.
How much is a $1,000 bond worth after 30 years or if yields rise 1%?
At maturity (year 30), any non-defaulted $1,000 bond redeems at exactly $1,000 par. Mid-term, if yields jump +1.00% from 4% to 5%, a 30-year 4% bond drops to $845.46 (-15.45%).
What is clean vs. dirty bond price and the IRS market-discount rule?
Dirty price equals screen-quoted clean price plus accrued interest. Under IRC § 1278, discounts of at least 0.25% × par × years to maturity convert maturity gains into ordinary income.
How do you price a zero-coupon bond using the bond valuation equation?
Set coupon payment C = 0 in the semiannual bond price formula so only the par lump sum remains: P = F ÷ (1 + y/2)2n. For a 10-year $1,000 zero-coupon Treasury STRIP yielding 5.00%, $1,000 ÷ (1.025)20 = $610.27.
Official Statutory & Agency Sources
- SEC / Investor.gov — Interest Rate Risk & Bond Price Mechanics
- U.S. Securities and Exchange Commission — Corporate Bond Valuation & YTM
- IRS Publication 550 — IRC § 1276–1278 Market Discount Bonds
- TreasuryDirect — Marketable U.S. Treasury Bond Conventions
Last verified against primary federal and state statutory schedules on .