Compound growth
With compounding, each year's return is earned on the whole balance, including past returns. The balance grows by the same factor each year, so it curves upward instead of rising in a straight line.
01The formula
- the future value after n years
- the amount you start with
- the return per year as a decimal
- the number of years
02See it move
03Where it is used
- Portfolio managerProjects what a portfolio could be worth after a number of years at an assumed annual return.
- Retail traderCompares a strategy's yearly returns by compounding them, not by adding them up.
- Quant researcherAnnualises results: a monthly return compounds to over a year.
04Why traders use it
Over long horizons, compounding dominates everything else in investing. Small differences in annual return or fees become large differences in final wealth.
05Worked example
$10,000 growing at 7.0% a year for 20 years becomes $38,697, a multiple of 3.87×. Simple interest would give only $24,000: the extra $14,697 is interest earned on interest.
06How it is built
- After one year the balance is .
- The second year's return is earned on that whole balance: .
- Repeat for years: .
- Simple interest pays each year on the original amount only, giving ; the gap between the two grows with .
07The common mistake
Averaging returns instead of compounding them. +50% followed by −50% has an average of 0%, but $100 becomes $150 and then $75: you lost a quarter.
08In Python and LaTeX
P, r, n = 10000, 0.07, 20 fv = P * (1 + r) ** n print(round(fv), round(P * (1 + r * n))) # 38697 24000
FV = P\,(1 + r)^n \qquad \text{versus simple interest: } P\,(1 + r\,n)09Where it fits
Rather not code the maths yourself? Describe your trading idea and let AI build the bot.
Build a bot with AgenKitThe worked example and the model run the same code, so every number matches. Models simplify markets on purpose. This is education, not financial advice.