Compute the key risk metrics for any US Treasury bond: modified duration, Macaulay duration, DV01 (dollar value of a basis point), and convexity. All calculations use semiannual compounding per US Treasury convention.
Instructions
Results
The chart shows the modified duration profile across all standard US Treasury maturities at current par yields.
Use Cases
Formulas
For a bond with semiannual coupons, where $t$ indexes semiannual periods, $PV(CF_t)$ is the present value of each cash flow discounted at $y/2$, $P$ is the bond price, and $y$ is the yield to maturity as a decimal:
Macaulay Duration
$$D_{mac} = \frac{\sum_t t \cdot PV(CF_t)}{P}$$
$t$ is in semiannual periods; divide by 2 to convert to years.
Modified Duration
$$D_{mod} = \frac{D_{mac}}{1 + y/2}$$
DV01
$$DV01 = \frac{D_{mod} \cdot P}{10{,}000}$$
Convexity
$$C = \frac{\sum_t t(t+1) \cdot PV(CF_t)}{P \cdot (1 + y)^2}$$
Divide by 4 to convert from semiannual to annual units.
Price Approximation
$$\Delta P \approx -D_{mod} \cdot \Delta y \cdot P + \frac{1}{2} \cdot C \cdot (\Delta y)^2 \cdot P$$
Per-tenor pages (e.g. /duration/10-year) show live metrics at
current par yields for each standard Treasury maturity.
Further Reading