Home › Learn › Bond prices, yields and duration

University track · lesson 5 of 6

Bond prices, yields and duration

A bond is a list of promised cash flows. Its price is what those cash flows are worth today at the market's yield, which is why prices and yields always move in opposite directions.

About 15 minutes, with a calculator you can use on this page. Updated November 20, 2026.

Price is present value

A plain bond pays a fixed coupon on its face value (par) at regular intervals, then repays the face value at maturity. Its yield to maturity y is the single discount rate that makes the present value of those cash flows equal the price. With f coupon payments a year and n payments left:

Price = sum over k = 1..n of C / (1 + y/f)^k + F / (1 + y/f)^n F = face value [$], C = F x coupon rate / f [$ per period] y = annual yield (compounded f times a year)

Three consequences follow straight from the formula:

  • If the coupon rate equals the yield, the bond prices at par.
  • If the yield is above the coupon rate, the bond trades at a discount (below par); below the coupon rate, at a premium.
  • When yields rise, every cash flow is discounted more heavily, so the price falls.

Worked example

A 3-year bond, $1,000 face, 5% annual coupon (one $50 payment a year), when the market yield is 6%:

Price = 50 / 1.06 + 50 / 1.06^2 + 1,050 / 1.06^3 = 47.17 + 44.50 + 881.60 = $973.27

The yield (6%) is above the coupon (5%), so the bond is at a discount, as expected.

Duration: how sensitive is the price?

Macaulay duration is the present-value-weighted average time until you receive the cash flows, in years. Modified duration converts it into a price sensitivity:

Macaulay D = sum of t_k x PV(CF_k) / Price [years] Modified D = Macaulay D / (1 + y/f) Change in price is approximately -Modified D x change in y x Price

For the bond above, the weights give Macaulay duration = (1 x 47.17 + 2 x 44.50 + 3 x 881.60) / 973.27 = 2.857 years, and modified duration = 2.857 / 1.06 = 2.696. So a 1 percentage point rise in yield should cut the price by about 2.696 x 0.01 x $973.27 = $26.24. The true change is a little smaller, because the price-yield curve is convex: duration is a straight-line estimate of a curve.

Longer maturities and lower coupons mean longer duration and more interest-rate risk. A zero-coupon bond's Macaulay duration equals its maturity.

Try it: price, yield and duration

Price ($1,000 face)
Price (% of par)
Macaulay duration
Modified duration
Duration estimate if yield +1%
Actual change if yield +1%

Price across yields from 0.5% to 12%. The dot is the yield you entered. The curve bends (convexity), which is why the duration estimate and the actual change differ.

Try a 30-year bond at 4.5% coupon and compare its duration with the 3-year bond. Then set the coupon to 0.

Common student mistakes

  • Saying "yields went up, so my bond earns more." For a bond you already own, a higher yield means a lower price today.
  • Using the annual yield for each semiannual period. With semiannual coupons, discount at y/2 for 2n periods.
  • Confusing the coupon rate (fixed in the bond) with the yield (set by the market every moment).
  • Treating duration as exact for large moves. It is a first-order estimate; convexity matters more as the yield change grows.

Run it live in MockXMarket

MockXMarket sessions can include US Treasuries from a 3-month bill to a 30-year bond, each with $1,000 face value. Students trade bond prices, not yields: each price is the present value of the bond's cash flows, discounted either along a simulated interest-rate path or at historical US Treasury yields (the simulator uses continuous compounding). When rates rise during the session, every Treasury price falls, the long bond most of all.

A good live exercise: have students hold a 2-year note and a 30-year bond of similar dollar value, then compare the two P&Ls after rates move, against what each bond's duration predicts.

Students cannot use MockXMarket on their own. An instructor runs each live session, and students join it with a class code.

Check your understanding

Answer each question, then check. Explanations appear after you check.

1. A bond's coupon rate is 4% and its yield to maturity is 5%. Where does it trade?

When the yield exceeds the coupon rate, the price is below face value.

2. A bond has modified duration 7 and price $1,000. Yields rise 0.50 percentage points. What is the approximate price change?

-7 x 0.005 x $1,000 = -$35.

3. Which bond has the longest Macaulay duration?

A zero-coupon bond's duration equals its maturity, 5 years. Coupon bonds of the same maturity pay some cash earlier, so their duration is shorter.