CalcWisp

Bond Calculator

Enter the face value, coupon rate, years to maturity and either the market yield or the price to get the bond's price or its yield to maturity.

Free, no sign-upRuns in your browserHow we calculate

$

Most corporate and Treasury bonds: $1,000 (Treasuries trade in $100 units).

%
yrs
%

The return buyers demand today on similar bonds.

Bond price
$925.61
92.561% of face: trades at a discount
Yield to maturity
6%
Current yield
5.402%
Annual coupon income
$50.00
Coupon per payment (20 left)
$25.00
Total return held to maturity
$574.39
Macaulay duration
7.89 yrs
Modified duration
7.67
Price change if yield +1%
≈ -$70.95
Cash flows discounted at the YTM
PaymentYearCash flowPresent value
10.5$25.00$24.27
21$25.00$23.56
31.5$25.00$22.88
42$25.00$22.21
52.5$25.00$21.57
63$25.00$20.94
73.5$25.00$20.33
84$25.00$19.74
94.5$25.00$19.16
105$25.00$18.60
115.5$25.00$18.06
126$25.00$17.53
136.5$25.00$17.02
147$25.00$16.53
157.5$25.00$16.05
168$25.00$15.58
178.5$25.00$15.13
189$25.00$14.68
199.5$25.00$14.26
2010$1,025.00$567.52
How this was calculated
  1. Coupon per payment: $1,000.00 × 5% ÷ 2 = $25.00; 20 payments left.
  2. Yield per period: 6% ÷ 2 = 3%.
  3. Price = coupon × (1 − (1 + y)^−n) ÷ y + face × (1 + y)^−n = $925.61.
  4. Current yield: $50.00 ÷ $925.61 = 5.402%.

Prices on a coupon date with no accrued interest, default or call. Not financial advice.

Bond Calculator · free on CalcWisp

How this bond calculator works

A plain bond pays a fixed coupon on its face value and returns the face value at maturity. Its price today is the present value of those payments, discounted at the yield the market demands. This bond calculator works in both directions: enter a market yield to get the price, or enter the price you would pay to get the yield to maturity (YTM). With a coupon c per period, yield y per period, n periods left and face value F:

Price = c × (1 − (1 + y)−n) ÷ y + F × (1 + y)−n

There is no closed formula for YTM, so the calculator finds the yield that makes the formula equal the price by trial (bisection). The annual YTM is quoted as the per-period yield times the number of payments per year, the bond-equivalent convention used for US Treasury and corporate bonds.

Worked example

A $1,000 bond pays a 5% coupon semiannually ($25 every six months) and matures in 10 years (20 payments). If similar bonds now yield 6%, the price is $25 × (1 − 1.03−20) ÷ 0.03 + $1,000 × 1.03−20 = $925.61. The bond trades at a discount because its coupon is below the market yield. If market yields fall to 4%, the same bond is worth $1,081.76, a premium.

The other way round: pay $950 for that bond and the YTM is 5.662%, while the current yield (annual coupon ÷ price) is $50 ÷ $950 = 5.263%. YTM is higher because it also counts the $50 gain from $950 back to $1,000 at maturity.

Duration: how much the price moves

Macaulay duration is the average time, in years, until you receive the bond's cash flows, weighted by their present value. Modified duration turns it into price sensitivity: a modified duration of 7.67 means the price falls roughly 7.67% if yields rise one percentage point. For the 6% example that estimate is $854.66, close to the exact $857.88 (the gap is convexity). Longer maturities and lower coupons mean more interest rate risk.

When the result is misleading

The price shown is the clean price on a coupon date. Between coupon dates, buyers also pay accrued interest to the seller. YTM assumes you hold to maturity, every coupon is paid on time and each coupon is reinvested at the same yield. Callable bonds may be redeemed early (look at yield to call), and a credit downgrade or default changes everything. Taxes differ too: Treasury interest is exempt from state tax, municipal bond interest is often exempt from federal tax, and a bond bought at a discount or premium has its own tax rules (IRS Publication 550). Sources: SEC Investor.gov, “Bonds”; FINRA, “Bond Yield and Return”; TreasuryDirect, “Understanding Pricing and Interest Rates”; IRS Publication 550.

Frequently asked questions

How do you calculate the price of a bond?

Discount every coupon and the face value at the market yield: Price = c × (1 − (1 + y)^−n) ÷ y + F × (1 + y)^−n, with c the coupon and y the yield per period. A $1,000, 5% semiannual 10-year bond at a 6% yield is worth $925.61.

What is yield to maturity?

The annual return you earn if you buy at today's price, receive every coupon and hold until the face value is repaid. A $1,000, 5% 10-year bond bought for $950 has a YTM of 5.662%.

What is the difference between current yield and yield to maturity?

Current yield is only the annual coupon divided by the price ($50 ÷ $950 = 5.263%). YTM also counts the gain or loss from the price back to face value at maturity.

Why do bond prices fall when interest rates rise?

A bond's coupon is fixed, so when new bonds pay more, the old bond must sell for less to offer the same yield. A 5% bond is worth $925.61 at a 6% market yield and $1,081.76 at 4%.

What does modified duration tell me?

The approximate percentage price change for a one-point change in yield. A modified duration of 7.67 means the price falls about 7.67% if yields rise from 6% to 7%.

Related tools