Semiannual bonds
For a bond that pays twice a year, work in half-year periods: use the coupon and yield per period, find duration in periods, then divide by 2 to state it in years. Modified duration in years is that annual Macaulay duration divided by (1 + y/2). Mixing period and year units is a common slip. An annual-pay bond and a semiannual-pay bond with the same coupon rate, maturity and yield have slightly different durations, because the semiannual bond receives half of each coupon six months sooner. Duration also shortens as time passes, though not exactly one year per year.