YieldGreeksLab
Fixed income

Semiannual bond trading at par

Price a five-year, 5% coupon bond at a 5% yield exactly on a coupon date.

Educational quantitative reference. Outputs are deterministic mathematical calculations. They do not constitute personalized financial, tax, or investment advice.

Clean price
$1,000.00
Yield to maturity
5%
Accrued interest
$0.00

Price versus yield

Full-price convexity with the selected yield marked.

  • Dirty price
Price versus yieldFull-price convexity with the selected yield marked.Dirty price (USD)8009001k1.1k1.2k2345678Yield to maturity (%)
Yield to maturity (%) 5Dirty price $1,000.00

Tap, hover or use the arrow keys on the chart to read values.

Calculation details

Dirty price
$1,000.00
Current yield
5%
Remaining payments
10
Elapsed / period days
0 / 181
Next coupon date
2026-07-15

Coupon period 2026-01-15 to 2026-07-15 · Actual/Actual (ICMA, regular)

Remaining bond cash flows
Remaining bond cash flows
Coupon periods from settlementCash flowPresent value
1$25.00$24.39
2$25.00$23.80
3$25.00$23.21
4$25.00$22.65
5$25.00$22.10
6$25.00$21.56
7$25.00$21.03
8$25.00$20.52
9$25.00$20.02
10$1,025.00$800.73

Worked calculation

  1. Set up the scenario

    Price a five-year, 5% coupon bond at a 5% yield exactly on a coupon date.

  2. Apply the formula

    Each half-year pays 25 per 1,000 face. Discount ten payments at 2.5% per period, with principal repaid in the final payment.

  3. Read the starting result

    Equal coupon and yield rates give a clean price of 1,000 on the coupon date. Accrued interest is zero.

Clean price
$1,000.00
Yield to maturity
5%
Accrued interest
$0.00

Formulas and conventions

Regular coupon schedule

C = F × c / m · a = A / E · kᵢ = i − a

F is face value, c is the annual coupon rate and m is payments per year. Generate regular coupon dates backward from maturity, holding the maturity day or month-end pattern. Count payments from the first coupon after settlement as i = 1, 2, … .

Accrued interest

AI = C × a

A counts elapsed days since the previous coupon. Actual/Actual (ICMA, regular period) uses calendar days for A and for E, the coupon-period length. US 30/360 counts A in 30-day months with the US 31st and February month-end coupon adjustments. Its regular coupon denominator E is 360 divided by payments per year. Accrual resets to zero on a coupon date.

Clean, dirty and current yield

Pdirty = Σ CFᵢ / (1 + y/m)^(kᵢ) · Pclean = Pdirty − AI · CY = F × c / Pclean

Cash flow CFᵢ is the coupon, with face value added at maturity. The nominal annual YTM y compounds at the coupon frequency. Clean price excludes accrued interest. The trade’s full mathematical price includes it. Current yield divides annual coupon income by a positive clean price.

Solve yield to maturity

x = ln(1 + y/m) · H(x) = Σ CFᵢ exp(−kᵢx) − (Pclean + AI)

The solver brackets the root in x. It uses Newton–Raphson steps inside the bracket, where H′(x) = −Σ kᵢ CFᵢ exp(−kᵢx), and bisects when a Newton step is unsafe. It returns y = m × (exp(x) − 1). A negative yield is valid while the discount base remains positive.

Model assumptions

The model uses fixed coupons, par redemption and regular intervals. Cash flows exclude calls, defaults, taxes, settlement fees and odd first or last coupons. YTM is the constant discount rate for the stated cash flows.

More worked examples

Frequently asked questions

What does the example “Semiannual bond trading at par” show?

Equal coupon and yield rates give a clean price of 1,000 on the coupon date. Accrued interest is zero.