Compounding

Compounding is the earning of interest on interest: the interest of each period is added to the balance and earns interest itself from then on. How often that happens, the compounding frequency, decides what a quoted rate is worth, so a rate means little until its compounding is known.

A rate of 5% compounded once a year turns 100 into 105 after a year. Compounded twice a year it pays 2.5% per half year and gives 105.06, and compounded continuously, the limit of ever shorter periods, 105.13. The three quotes describe different returns, and two rates are only comparable once they are restated on the same basis.

The formula for the growth of one unit at a rate r is as follows:

\[\text{Growth with}\; m \;\text{Periods per Year} = \left(1 + \frac{r}{m}\right)^{m \cdot t}\] \[\text{Growth with Continuous Compounding} = e^{r \cdot t}\] \[\text{Continuous Rate} = m \cdot \ln\left(1 + \frac{r}{m}\right)\]

Where r is the yearly rate, m the number of compounding periods per year and t the time in years. The last line restates a rate compounded m times a year as the continuously compounded rate that grows the same.

Markets quote rates on their own conventions. US Treasury notes and bonds, and the yields to maturity of US corporate bonds, are bond-equivalent yields compounded twice a year. Treasury bills are quoted as a discount yield, simple interest on face value over a 360-day year. US mortgage rates are compounded monthly, and option models discount continuously.

The Finance Toolkit states the compounding of every rate it returns. The Treasury par yields and the Toolkit’s risk-free rate are semi-annual bond-equivalent yields, as published. The zero-coupon curves, the forward rates, the Federal Reserve’s fitted curve and EIOPA’s risk-free curves are annually compounded, with continuously compounded sources converted. The option models convert the risk-free rate and the dividend yield to continuous compounding, the term premium models and the roll yield of a futures curve are continuously compounded, and the bond-equivalent yield restates bill discount yields on the basis of notes and bonds.

Example · 2026

Install the Finance Toolkit with pip install financetoolkit -U, then:

from financetoolkit import FixedIncome

fixedincome = FixedIncome(start_date="2026-11-01", end_date="2026-11-05")

fixedincome.get_bond_equivalent_yield(date="2026-11-05").iloc[::4, :-1]

Which returns:

Item Maturity Days to Maturity Price Discount Yield Bond-Equivalent Yield
912797VW4 2026-11-10 5 99.9576 0.0306 0.031
912797VY0 2026-11-24 19 99.8075 0.0365 0.0371
912797WE3 2026-12-08 33 99.6551 0.0376 0.0383
912797WG8 2026-12-22 47 99.4978 0.0385 0.0392
912797WN3 2027-01-05 61 99.3367 0.0391 0.04
912797WQ6 2027-01-19 75 99.1819 0.0393 0.0401
912797WS2 2027-02-02 89 99.0271 0.0394 0.0403
912797WZ6 2027-02-16 103 98.8582 0.0399 0.0409
912797XB8 2027-03-02 117 98.6982 0.0401 0.0411
912797WL7 2027-03-25 140 98.4401 0.0401 0.0413
912797WV5 2027-04-22 168 98.1073 0.0406 0.0419
912797VF1 2027-06-10 217 97.57 0.0403 0.0418
912797WJ2 2027-09-30 329 96.2827 0.0407 0.0424

References

  • Paper Fisher, I. (1930). “The Theory of Interest.” Macmillan.
  • Paper Hull, J.C. (2022). “Options, Futures, and Other Derivatives.” Pearson, 11th edition, chapter 4.
  • Paper U.S. Department of the Treasury, 31 CFR Part 356, Appendix B, “Formulas and Tables.”

Updated:

Share