Keystroke Labs

Bond price and yield to maturity calculator, with the keys for your calculator

Works on: HP 12C, BA II Plus and HP 10bII+

Find the price from a yield, or the yield to maturity from a price. The answer updates as you type, with the current yield, whether the bond trades at a premium or a discount, and the keys for your calculator.

Find
Price951.5295.1517 per 100 of face value
Current yield4.7293%yearly coupons ÷ price
Coupon each period22.50
Trades ata discountyield above the coupon rate

Keys for these numbers on the BA II Plus

StepKeysDisplay showsWhat it does
12NDCLR TVMFV0.00CLR TVM: N, I/Y, PV, PMT and FV back to 0.
22NDP/YI/Y2ENTERP/Y= 2.00P/Y = 2 payments per year (C/Y follows).
32NDQUITCPT0.00QUIT.
42NDBGNPMTENDBGN worksheet: it should show END. If it shows BGN, press 2ND SET.
52NDQUITCPT0.00QUIT.
616NN= 16.00Number of payments: 16.
75.25I/YI/Y= 5.25The yearly rate in percent (the calculator divides by P/Y).
822.5PMTPMT= 22.50Payment, positive: you receive it.
91000FVFV= 1,000.00Future value, positive: you receive it at the end.
10CPTPVPV= -951.52The answer.

Your calculator shows something else?

Each of these comes from keying these same numbers with one thing wrong:

You seeWhy
PV= -680.58P/Y is 1, so the yearly rate was charged on every payment. Set P/Y to 2.
PV= -959.15BEGIN is still on from an earlier problem: the first payment is counted today. Switch back to END.
PV= -973.25N was entered in years. N counts payments: years × payments per year.

Price and yield move in opposite directions

A bond pays fixed coupons and the face value at maturity. Its price is those payments discounted at the market yield: when yields rise, the same payments are worth less today, so the price falls. A bond whose yield is above its coupon rate trades below face value (a discount); below the coupon rate, above face value (a premium).

Why the keys use TVM

On a coupon date a bond is a time-value problem: the price is PV, each coupon is PMT, the face value is FV, and the number of coupons is N. That works the same on all three calculators. Between coupon dates the price also carries accrued interest: the BA II Plus BOND worksheet handles that (see the BA II Plus bond guide).

Common questions

Semiannual coupons: why is the yield doubled?

With two coupons a year the calculation runs in half-years, and the yield quoted per year is the half-year rate × 2 (the bond-equivalent yield). The keys set the calculator to 2 payments a year so it does that for you; forgetting it is one of the wrong answers listed under the keys.

What is the current yield?

The year's coupons divided by the price. It ignores the gain or loss to face value at maturity, which the yield to maturity includes.

Related

How we checked this page: every display above comes from replaying the keys on a tested engine, and the final answer is compared with an independent formula. How we check every answer.