How to calculate compound interest with monthly contributions and inflation
Short answer
To calculate compound interest with monthly contributions and inflation, convert the nominal annual rate to a monthly rate using (1 + r)^(1/12) − 1. Iterate the monthly balance recurrence, then deflate the nominal terminal sum by (1 + i)^years, or adjust the rate via the Fisher equation (1 + r)/(1 + i) − 1 if contributions increase with inflation.
Formula and recurrence relations
Monthly Rate: r_m = (1 + r_nom)^(1/12) − 1 Balance Recurrence: B_m = B_(m−1) · (1 + r_m) + C Fisher Real Rate: r_real = (1 + r_nom) / (1 + i) − 1 Deflated Real Balance (Method A): Real_B = B_nominal / (1 + i)^years
The Discrete Monthly Recurrence Relation
Compound interest with ongoing cash deposits cannot be calculated with a simple one-line multiplication because each monthly deposit has a different remaining duration to compound. Month 1 deposits compound for 360 months, while Month 359 deposits compound for only one month.
To model this correctly, convert the annual nominal return into an effective monthly compounding rate: r_m = (1 + r_annual)^(1/12) − 1. Do not simply divide by 12 (7% / 12 = 0.5833%), which overstates the monthly rate because it ignores monthly compounding. At 7.00% annual, the exact monthly rate is 0.5654%.
Starting with initial capital B_0, evaluate each subsequent month as B_m = B_(m-1) * (1 + r_m) + C, assuming cash contributions occur at month-end.
Inflation: The Fisher Relation versus the Subtraction Shortcut
A widespread mistake is subtracting inflation directly from nominal returns: 7% − 3% = 4%. This subtraction shortcut overlooks that inflation does not just erode principal—it also devalues the nominal returns generated during the investment period.
In financial engineering, exact purchasing power preservation is determined by the Fisher relation: (1 + r_real) = (1 + r_nominal) / (1 + i). For 7.00% nominal return and 3.00% inflation, the true real return is (1.07 / 1.03) − 1 = 3.8835%, creating a 12 basis point gap against the naive 4.00% subtraction.
Method A assumes contributions remain fixed at $500 in flat nominal dollars. Method B assumes contributions escalate annually with inflation, maintaining $500 of constant real purchasing power.
Two Methods for Modeling Inflation with Ongoing Contributions
When ongoing contributions are involved, inflation adjustments depend entirely on whether your contributions remain flat in nominal dollars or increase each year to match inflation.
Method A (Fixed Nominal Contributions): Run the standard recurrence at the nominal rate (7%), producing a terminal nominal balance. Then deflate that final sum by (1 + i)^years to measure its future purchasing power in today’s dollars.
Method B (Inflation-Indexed Contributions): If you raise your contribution each year to maintain constant real buying power, run the recurrence using the Fisher real monthly rate. Because your real cash inflow remains constant, the final balance directly represents purchasing power in today’s dollars.
30-Year Worked Example: $10,000 Start, $500/Month, 7% Nominal, 3% Inflation
We simulate an investor starting with $10,000, depositing $500 at the end of each month for 30 years (360 months), assuming a constant 7.00% nominal return and 3.00% annual inflation.
| Metric / Scenario | Nominal Dollars | Method A (Fixed $500) | Method B (Indexed $500) |
|---|---|---|---|
| Total Cash Contributed | $190,000 | $190,000 | Indexed to inflation |
| Effective Compounding Rate | 7.00% nominal | 3.88% Fisher real | 3.88% Fisher real |
| Terminal Wealth Balance | $660,849 | $272,261 | $367,230 |
| Inflation Purchasing Drag | 0.0% (Unadjusted) | 58.8% purchasing loss | Contributions raised annually |
Numbered Step-by-Step Procedure:
Convert 7% nominal annual to monthly: (1 + 0.07)^(1/12) − 1 = 0.00565415 (0.5654% per month).
Starting at $10,000 and depositing $500 at month-end over 360 months yields a nominal balance of $660,849.
Deflate nominal $660,849 by 30 years of 3% inflation: $660,849 / (1.03^30) = $660,849 / 2.42726 = $272,261.
Using the exact Fisher real monthly rate (0.3180%) with inflation-indexed deposits yields $367,230 in purchasing power.
Common mistakes
- ✕Subtracting inflation directly (7% − 3% = 4%) instead of using the Fisher relation (3.88%), introducing compounding errors over long horizons.
- ✕Dividing the annual rate by 12 (0.5833%) rather than taking the 12th root (0.5654%), artificially inflating compounding speed.
- ✕Ignoring contribution timing: adding $500 at month-start vs month-end compounds an extra month of interest on every deposit.
- ✕Conflating nominal dollar contributions with constant-purchasing-power contributions when forecasting long-term retirement budgets.
Compound Interest Guide & Simulator
Explore the full recurrence relation, exponential growth properties, and visual compounding models.
Related resources
Compound Interest Guide
First-principles systems guide deconstructing exponential capital feedback loops.
Compound Interest in the Systems Glossary
Formal definition, compounding frequencies, and mathematical properties of interest accumulation.
Book 01: Compounding Wealth Multiplier
Our foundational short book explaining exponential accumulation and recurrence relations.
Volatility Drag: Geometric vs Arithmetic Returns
Why multi-period compounding grows at the geometric mean rather than the arithmetic average.
How Loan Amortization Works Mathematically
See how the same periodic recurrence formula works in reverse for fixed-rate loans.