Skip to content
Finance Lessons

Fixed-Income Analytics

Bond Pricing Math

Price a bond as the present value of its coupons plus face value, define yield to maturity precisely, and see exactly why price and yield move in opposite directions along a convex curve.

13 min Updated Jun 10, 2026

A bond is a contract that says: “Lend me money today, and I’ll pay you fixed amounts on a fixed schedule, then hand back the principal at the end.” Because every cash flow is known in advance, pricing a bond isn’t guesswork — it’s arithmetic. You discount each promised payment back to today and add them up. That’s the entire engine of a multi-trillion-dollar market, and once you can run it by hand, everything else in fixed income — duration, convexity, the yield curve, credit spreads — is just an elaboration on this one idea.

Before you read — take a guess

What is the price of a bond, fundamentally?

A bond is a stream of cash flows

Analogy. Think of a bond as a vending machine that drops a small coin (the coupon) into your hand at regular intervals, then — on its last day — tips out the whole jar (the face value). Pricing the machine means asking: what is that future stream of coins worth to me right now?

The anatomy. Every plain-vanilla bond has four parameters:

  • Face value (par, FF) — the principal repaid at maturity, conventionally $1,000 or $100.
  • Coupon rate (cc) — an annual percentage of face that sets each coupon. A 5% coupon on $1,000 pays $50 a year.
  • Maturity (TT) — when the face value comes back.
  • Frequency (mm) — payments per year. Most bonds pay semiannually (m=2m = 2), so a 5% coupon means $25 every six months.
A bond's cash flows: coupons, then the jar tips outFace value: $1,000
CouponFace value
05
Payments per year
Coupon per payment
$50
Number of payments
5
Total interest received
$250
Final payment at maturity
$1,050

Small coupons drip along the way; the final bar is one last coupon stacked on top of the face value coming home. Drag the sliders — that last tall bar is what makes a bond a bond.

Info:

The periodic coupon, precisely

Each coupon is the annual coupon divided by the frequency: coupon=c×Fm\text{coupon} = \dfrac{c \times F}{m}. A 6% bond on $1,000 face paying semiannually pays 0.06×10002=30\dfrac{0.06 \times 1000}{2} = 30, i.e. $30 every six months. Get this right and the rest of the math falls into place; get it wrong and every later number — yield, duration, the lot — inherits the error.

Discounting: a future dollar is worth less today

Analogy. A dollar promised in five years is like a friend who swears they’ll pay you back. Even if you fully trust them, you’d rather have the cash now — you could invest it, and inflation nibbles the rest. Discounting is the exchange rate between future dollars and today’s dollars.

The mechanic. A cash flow CFCF arriving nn periods from now, discounted at a periodic rate rr, is worth

PV=CF(1+r)n.PV = \frac{CF}{(1+r)^n}.

The further out the cash flow (nn larger) or the steeper the rate (rr larger), the more the present value shrinks. This decay is the heartbeat of all fixed-income math.

The present value of a future dollar decaysFuture payment: $1,000
Present valueFace value
Worth today
$215
Cents on the dollar
21¢

A dollar far in the future, discounted, is worth pennies today — and a higher discount rate accelerates the decay. Every bond cash flow rides one of these curves.

Think first

A bond pays you $1,000 in exactly 10 years. At a 5% annual discount rate, is its present value closer to $600 or $950?

Hint: Use 1000 / (1.05)^10. Note 1.05^10 ≈ 1.629.

The bond pricing formula

The idea. Price the whole bond by present-valuing every cash flow at the market yield and adding them up. With N=m×TN = m \times T total periods, periodic coupon C=cF/mC = cF/m, and periodic yield y=YTM/my = \text{YTM}/m:

P=n=1NC(1+y)n+F(1+y)N.P = \sum_{n=1}^{N} \frac{C}{(1+y)^n} + \frac{F}{(1+y)^N}.

The first chunk is an annuity (the coupons); the second is a single discounted lump (the face value). The annuity has a closed form, which spares you summing NN terms by hand:

P=C1(1+y)Ny+F(1+y)N.P = C \cdot \frac{1 - (1+y)^{-N}}{y} + \frac{F}{(1+y)^N}.

Worked example. Price a 3-year, 6% annual-coupon, $1,000 bond when the market yield is 5%. Here the periodic coupon is $60 (C=60C = 60), the face value is $1,000 (F=1000F = 1000), N=3N = 3, and y=0.05y = 0.05.

YearCash flowDiscount factor 1/1.05n1/1.05^nPresent value
1$600.95238$57.14
2$600.90703$54.42
3$1,0600.86384$915.67
Total$1,027.23

So the bond is worth about $1,027.23. Notice the third-year cash flow ($1,060, because the face value rides along with the final coupon) dominates the price. Sanity check with the closed form: the annuity term is 60×11.0530.05=60×2.72325=163.4060 \times \frac{1 - 1.05^{-3}}{0.05} = 60 \times 2.72325 = 163.40, and the face term is 1000/1.053=863.841000 / 1.05^3 = 863.84; together 163.40+863.84=1027.23163.40 + 863.84 = 1027.23 — about $1,027.23. ✓

In the 3-year 6% bond above priced at a 5% yield, why is the price ABOVE par ($1,000)?

Yield to maturity: the bond’s internal rate of return

Analogy. Price and yield are two sides of the same coin, like temperature in Celsius vs. Fahrenheit — one number, two languages. Quote a price and you’ve implicitly quoted a yield; quote a yield and you’ve pinned the price. Yield to maturity (YTM) is the single discount rate that makes the present value of all cash flows equal the bond’s market price.

The precise definition. YTM is the yy that solves

P=n=1NC(1+y)n+F(1+y)N.P = \sum_{n=1}^{N} \frac{C}{(1+y)^n} + \frac{F}{(1+y)^N}.

It’s the bond’s internal rate of return if you buy at price PP, hold to maturity, and reinvest every coupon at that same rate yy. There’s no clean algebraic solution for yy (it’s buried inside NN powers), so in practice you solve it numerically — by trial-and-error, or a solver doing the searching for you.

Warning:

The YTM reinvestment assumption

YTM quietly assumes you can reinvest every coupon at the YTM itself. If reinvestment rates turn out lower (a falling-rate world), your realized return falls short of the quoted YTM; if higher, you beat it. This is reinvestment risk, and it’s why a quoted yield is a promise about a scenario, not a guarantee. A zero-coupon bond — no coupons to reinvest — is the only instrument whose held-to-maturity return exactly equals its YTM.

Fill in the relationships between coupon rate, yield, and price.

Pick the right option for each blank, then check.

When a bond's coupon rate is GREATER than its yield, the bond trades at a (above par). When the coupon rate is LESS than the yield, it trades at a . And when the coupon rate exactly equals the yield, it trades at .

Price and yield move in opposite directions

Analogy. Picture a seesaw: yield on one side, price on the other. Push yield up and price drops; push yield down and price climbs. They can never rise together — they’re rigidly anti-correlated. The reason is mechanical: a higher yield means a bigger divisor in every discount term, so every present value shrinks, so the price falls.

Why it’s not a straight line. The price–yield relationship isn’t just downward-sloping — it’s convex, bowing toward the origin. As yields rise, the price falls but at a decelerating rate; as yields fall, the price rises at an accelerating rate. That curvature is convexity, and it has real value to the holder (a whole later lesson is devoted to it). For now, just internalize the shape.

The price–yield seesaw (and its convex bow)Par
PricePar
Par · 100PremiumDiscount
Price
100.00%
$1,000.00
Market yield
5.0%
Current yield
5.00%

New bonds yield 5.0%, matching your 5% coupon — so your bond trades at par.

Drag the market yield. Price falls as yield rises — but along a curve that bows, not a straight ramp. Above par is a premium, below par a discount. The crossover sits exactly where the yield equals the coupon.

Worked example — feel the seesaw. Take a 10-year, 5% annual-coupon, $1,000 bond.

Market yieldApprox. priceStatus
3%$1,170.60Premium
5%$1,000.00Par
7%$859.53Discount

A 2-point yield drop (5%→3%) gains $170.60, but a 2-point yield rise (5%→7%) loses only $140.47. The gain beats the loss for an equal-and-opposite yield move — that asymmetry is convexity working in the holder’s favour.

Market yields fall sharply overnight. What happens to the price of an existing fixed-coupon bond?

Clean vs. dirty price and accrued interest

Analogy. Buy a bond halfway between coupon dates and you’ve been sitting in the seat while interest piled up — the seller earned part of the next coupon and deserves it. Accrued interest is that pro-rated slice you reimburse the seller.

The two prices.

  • Dirty price (invoice price) — what you actually pay: the full present value, including the interest accrued since the last coupon.
  • Clean price (quoted price) — what’s quoted on screens: the dirty price minus accrued interest, so the number doesn’t sawtooth up and down between coupons.
Dirty=Clean+Accrued interest,Accrued=C×days since last coupondays in period.\text{Dirty} = \text{Clean} + \text{Accrued interest}, \qquad \text{Accrued} = C \times \frac{\text{days since last coupon}}{\text{days in period}}.

Worked example. A bond pays a $30 semiannual coupon, and 60 of the 182 days in the current period have elapsed. Accrued interest is 30×60182=9.8930 \times \frac{60}{182} = 9.89, i.e. $9.89. If the clean (quoted) price is $980.00, you actually pay a dirty price of 980.00+9.89=989.89980.00 + 9.89 = 989.89 — $989.89.

Match each bond-pricing term to its precise meaning.

Pick a term, then click its definition.

When to reach for full pricing vs. a shortcut

Full present-value pricing is the ground truth — you use it whenever you need an exact number: settling a trade, marking a book to market, or computing the dirty price for an invoice. But for sensitivity questions — “how much does my price move if yields jump 10 basis points?” — discounting every cash flow afresh is overkill. That’s where duration and convexity (the next two lessons) come in: linear and quadratic approximations that answer rate-risk questions instantly without re-pricing the whole stream. Full pricing tells you where you are; duration and convexity tell you how fast you’ll move.

A zero-coupon bond has a face value of $1,000 and matures in 5 years. At a 4% annual yield, its price is closest to:

Putting it together

A bond’s price is nothing more — and nothing less — than the present value of its promised cash flows discounted at the market yield. Yield to maturity is the inverse view: the single rate that makes that present value equal the price, and the bond’s IRR under a reinvestment assumption. Coupon above yield buys a premium, below yield a discount, equal to yield exactly par. Price and yield ride a convex seesaw — opposite directions, with a curvature that quietly favours the holder. And the clean/dirty split keeps quotes tidy while the invoice tells the truth. Everything else in fixed income is built on this foundation.

Big picture

Bond pricing — the whole engine

  • Bond Pricing
    • Cash flows
      • Coupons: c·F/m each period
      • Face value F at maturity
      • N = m·T total periods
    • Pricing formula
      • P = Σ C/(1+y)ⁿ + F/(1+y)ᴺ
      • Annuity (coupons) + lump (face)
      • Closed form avoids summing by hand
    • Yield to maturity
      • The rate making PV = price
      • The bond’s IRR
      • Assumes coupons reinvested at YTM
      • Solved numerically
    • Price–yield link
      • Opposite directions (seesaw)
      • Convex, not straight
      • Coupon > yield → premium
      • Coupon < yield → discount
    • Clean vs dirty
      • Dirty = clean + accrued
      • Clean is quoted; dirty is paid
      • Accrued = C·(days/period)
Discount every cash flow at the yield, sum them for the price, invert for the YTM — and read the premium/discount/par status straight off the coupon-vs-yield comparison.

Recap: bond pricing math

Question 1 of 50 correct

A 2-year, 4% annual-coupon, $1,000 bond is priced at a 4% yield. Its price is:

Check your answer to continue.

Next — duration — we stop re-pricing the whole cash-flow stream and instead measure a bond’s rate sensitivity directly: Macaulay duration as the cash-flow balance point, modified duration as the percentage price move per yield wiggle, and DV01 as the dollar bleed per single basis point.

Mark lesson as complete