Sub topic 4
Compounding, Time Value of Money, and Inflation
This chapter covers how money changes value over time. It builds on the goals you set earlier and feeds into investing and funding major goals. It assumes you can work with percentages and exponents on a calculator, and that you can read short Python programs. By the end you should be able to project a balance, convert a future amount into today's money, and explain why the numbers in a plan are assumptions rather than predictions.
Compounding: growth on growth
Compounding means earning returns on earlier returns as well as on the original amount. With simple interest, 1,000 at 5% earns 50 a year, every year. With compounding, year two earns 5% on 1,050, which is 52.50, and the gap widens each year.
The core formula for a single lump sum is:
- Future value: FV = PV × (1 + r)^n
- PV is the amount today, r is the rate per period, and n is the number of periods.
Two details cause frequent errors.
- The rate and the period must match. A monthly model needs a monthly rate (annual rate ÷ 12) and a count of months (years × 12).
- Stated rates are not always effective rates. A card quoting 12% APR (annual percentage rate) compounded monthly charges 1% a month. Over a year that is 1.01^12 − 1, or about 12.68%. This effective figure is the APY (annual percentage yield). Compare products on APY, not on the headline rate.
The rule of 72 gives a quick estimate of doubling time: divide 72 by the percentage rate. At 5%, money doubles in roughly 14.4 years. The exact figure is 14.2 years. The rule works well between about 4% and 12%.
Time value of money
A dollar today is worth more than a dollar later, because today's dollar can earn a return and inflation erodes later dollars. Planners move amounts across time with two operations.
- Compounding (forward): FV = PV × (1 + r)^n
- Discounting (backward): PV = FV ÷ (1 + r)^n
For example, a 10,000 tuition bill due in 10 years, with 4% assumed growth, has a present value of 10,000 ÷ 1.04^10, which is about 6,756. Setting aside roughly 6,756 today covers it if the 4% holds.
Most real plans involve regular contributions, not one lump sum. A level stream of equal payments is an annuity. For end-of-month contributions, the future value is:
- FV = C × ((1 + r)^n − 1) ÷ r
- C is the monthly contribution.
def future_value(monthly_contribution, annual_rate, years):
r = annual_rate / 12
n = years * 12
if r == 0:
return monthly_contribution * n
return monthly_contribution * (((1 + r) ** n - 1) / r)
nominal = future_value(500, 0.05, 30)
inflation = 0.025
real_value = nominal / (1 + inflation) ** 30
print(round(nominal), round(real_value))This prints roughly 416,000 and 198,000. The first number is nominal, meaning it is stated in future dollars. The second is real, meaning it is stated in today's purchasing power. The contributions total 180,000 (500 × 360), so growth supplies most of the nominal total. Inflation then cuts the result by more than half in real terms.
The formula assumes payments at the end of each month. Payments at the start of each month (an annuity due) produce slightly more, by a factor of (1 + r).
Why time beats amount
Because growth compounds, early contributions do more work than later ones. The next script compares two savers at an assumed 6% annual return, both retiring at 65. Saver A contributes 300 a month from age 25 to 35, then stops. Saver B waits and contributes 300 a month from 35 to 65.
def future_value(monthly_contribution, annual_rate, years):
r = annual_rate / 12
n = years * 12
if r == 0:
return monthly_contribution * n
return monthly_contribution * (((1 + r) ** n - 1) / r)
rate = 0.06
a_at_35 = future_value(300, rate, 10)
a_at_65 = a_at_35 * (1 + rate / 12) ** (30 * 12)
b_at_65 = future_value(300, rate, 30)
print("A paid in", 300 * 120, "ends with", round(a_at_65))
print("B paid in", 300 * 360, "ends with", round(b_at_65))Saver A pays in about 36,000 and ends with about 296,000. Saver B pays in about 108,000 and ends with about 301,000. Ten early years nearly match thirty later ones.
This does not mean you should stop saving at 35. It shows that delay has a cost, and that a plan should start contributing before it is perfectly optimized.
Inflation: the quiet discount
Inflation is a general rise in prices, which lowers what each unit of money buys. At 2.5% a year, 100 of purchasing power today falls to about 48 in 30 years. At 3%, purchasing power halves in about 24 years (72 ÷ 3).
Plan in real terms whenever the goal is a standard of living, such as retirement income. Two approaches work, and they must not be mixed.
- Nominal approach: project nominal growth, then discount the result by inflation, as the first script does.
- Real-return approach: use a real return, calculated as (1 + nominal) ÷ (1 + inflation) − 1. For 5% nominal and 2.5% inflation, this is 1.05 ÷ 1.025 − 1, or about 2.44%. Subtracting 2.5 from 5 gives 2.5%, which is close but not exact.
If you use the real-return approach, contributions are in today's dollars, so they should rise with inflation each year. Raising them with your income is the usual way to do this.
Debt compounds against you
Compounding also applies to what you owe. A balance of 6,000 at 22% APR grows by about 110 in interest in the first month. If your payment barely exceeds that, the balance falls slowly. The next chapters cover payoff strategy, but note the mechanism here. A fixed payment pays interest first, and only the remainder reduces principal. That is why raising the payment shortens the payoff time by more than proportionally. Paying 250 a month clears this balance in 32 months, and paying 400 clears it in 18.
When a debt's interest rate exceeds what you can reasonably expect from investing, paying it off is a guaranteed return equal to that rate.
Choosing assumptions
Every projection depends on three inputs: return, inflation, and time. Treat them as ranges.
| Input | Typical planning practice | Common error |
|---|---|---|
| Return | Use a conservative figure and test a lower one | Using a past best-case average for a portfolio that holds cash and bonds |
| Inflation | Use a long-run figure such as 2% to 3% and test a higher one | Ignoring it, or applying it to some inputs but not others |
| Fees and taxes | Subtract them from the return | Projecting gross returns |
| Contributions | Use what your budget actually supports | Assuming a raise you do not yet have |
Realized returns are not smooth. A projection using 5% a year shows a straight path, but actual returns vary, and the order of good and bad years matters when you are withdrawing money. Sections on asset allocation and review later in this tutorial address this. For now, run your calculation at two or three rates and plan around the lower results.
A fee of 1% a year looks small, but it compounds too. Over 30 years, a 1% drag on a 5% return reduces the final balance by roughly a quarter. Check this yourself by changing the rate from 0.05 to 0.04 in the first script.
Applying it to your plan
- For each goal in your goals list, write the amount in today's dollars, the date, and the assumed inflation rate.
- Convert the amount to a future nominal amount with FV = PV × (1 + inflation)^n.
- Choose a conservative assumed return for the account that will hold the money.
- Solve for the monthly contribution, or test the contribution your budget allows and check whether the result reaches the target.
- Record the assumptions in the plan document so you can compare them with reality at each review.
Exercise
You plan to have 20,000 for a home down payment in 8 years, stated in today's dollars. You assume 3% annual inflation and a 4% annual return, and you make level end-of-month contributions. First, what is the nominal amount you need in 8 years? Second, which function and inputs would you use to estimate what a 200 monthly contribution reaches, and how do you judge whether it is enough?
Show answer
The nominal target is 20,000 × 1.03^8, which is about 25,335. For the second part, call future_value(200, 0.04, 8). This gives about 19,200 (contributions total 19,200, and growth adds about 2,000 more, so the result is roughly 22,300 when computed exactly). Compare the result to 25,335. If it falls short, raise the contribution, extend the date, lower the target, or accept a more aggressive but riskier return, and recheck the plan with a lower return as well. Because the horizon is only 8 years, test a 2% return too.