Worked example · Compound interest

Stress-testing five years of falling markets

See the effects of a constant negative return, monthly deposits and positive inflation on a $35,000 portfolio.

A negative contribution-to-balance difference means modeled investment loss. Keep deposits fixed while changing the return to separate savings behavior from the market assumption.

Assumptions

Changes the unit shown throughout the model.
Starting balance and deposits
Applies at the start of each new model year.
Rates and time

Projection

Constant-rate model
Final nominal balance
$44,792.23
In end-of-horizon currency.
Real balance
$36,815.95
In today’s purchasing power.
Total contributions
$53,000.00
Includes the starting balance.
Total compound interest
−$8,207.77
Nominal balance less contributions.
Effective APY
-4.00%
Annual growth before deposits and inflation.

What built the balance

Deposited principal and accumulated growth. Losses extend down from contributed principal.

What built the balanceDeposited principal and accumulated growth. Losses extend down from contributed principal.$0$20K$40K$60K01345Contributions · 0: $35,000.00Contributions · 1: $38,600.00Contributions · 2: $42,200.00Contributions · 3: $45,800.00Contributions · 4: $49,400.00Contributions · 5: $53,000.00Growth or loss · 1: −$1,478.49Growth or loss · 2: −$3,041.83Growth or loss · 3: −$4,686.65Growth or loss · 4: −$6,409.67Growth or loss · 5: −$8,207.77Year
  • Contributions
  • Growth or loss
Nominal balance vs. purchasing power

Both lines start at your starting balance. The real line expresses each value in today’s money.

Nominal balance vs. purchasing powerBoth lines start at your starting balance. The real line expresses each value in today’s money.$0$20K$40K$60K01345Nominal balanceNominal balance: $44,792.23Real balanceReal balance: $36,815.95Year
  • Nominal balance
  • Real balance
Year-by-year growth ledger
Year-by-year growth ledger
YearNominal balanceReal balanceContributionsInterest
0$35,000.00$35,000.00$35,000.00$0.00
1$37,121.51$35,693.76$38,600.00−$1,478.49
2$39,158.17$36,203.93$42,200.00−$3,041.83
3$41,113.35$36,549.62$45,800.00−$4,686.65
4$42,990.33$36,748.32$49,400.00−$6,409.67
5$44,792.23$36,815.95$53,000.00−$8,207.77

How the model works

Nominal annual return is converted to effective growth using the chosen compounding period. Fractional periods use the equivalent exponential growth factor so deposits can fall between credit dates.

Contributions step up at the start of each model year. Real balance divides nominal balance by the cumulative inflation factor.

Read the formula

Frequently asked questions

Can total compounding be negative while the balance rises?

Yes. New deposits can exceed investment losses. Compare the ending balance with total contributions to identify the investment result.

Why does inflation amplify the real loss in this scenario?

The nominal value falls relative to deposits while prices rise at 4%. Both effects lower the real value of the ending balance.