How Compound Interest Actually Works
By WorkCalc Team · August 10, 2026
Compound interest gets called the eighth wonder of the world often enough that the phrase has lost some of its meaning, but the underlying mechanic really is simple once you see it laid out. Money earns interest, that interest gets added to the balance, and the next round of interest is calculated on the new, larger balance. Do that enough times and growth stops being a straight line and starts curving upward.
Interest earning interest
With simple interest, you only ever earn a return on your original principal. Compound interest is different because each period’s interest gets folded back into the balance before the next period’s interest is calculated. That folding-in is the entire trick. A $10,000 balance earning 5% doesn’t earn $500 every single year forever; year two earns 5% on $10,500, year three earns 5% on the new, slightly bigger number, and so on. Over a short window the difference from simple interest looks small. Over a decade or two, it compounds into something noticeably larger.
How often that folding-in happens is called the compounding frequency, and it matters more than most people assume at first glance, then less than they assume once they run the numbers. Annual compounding folds interest in once a year. Monthly compounding does it twelve times a year, daily compounding 365 times. The more frequent the compounding, the sooner interest starts earning its own interest, so a higher frequency produces a slightly larger ending balance for the same nominal annual rate. The catch, covered below, is that “slightly” is the operative word.
The formula
The calculator’s math boils down to one formula:
r = Annual Rate ÷ 100 ÷ Periods Per Year
n = Years × Periods Per Year
Ending Balance = Principal × (1 + r)^n + Contribution × [((1 + r)^n - 1) ÷ r]
The first term grows your starting principal on its own. The second term handles any recurring contribution, treated as happening once per compounding period, so a contribution paired with monthly compounding is a monthly deposit, and a contribution paired with annual compounding is a yearly one. Both terms use the same per-period rate r and the same total number of periods n, which is just the number of years multiplied by how many times a year the balance compounds.
Worked example: principal only
Start with $10,000, a 5% annual rate, monthly compounding, and 10 years, with no added contributions. The per-period rate is 5% divided by 12, and the number of periods is 10 years times 12, or 120 months.
- Ending balance: $16,470.09
- Total contributed (just the original principal): $10,000.00
- Interest earned: $6,470.09
No new money went in after the initial deposit, yet the balance grew by nearly two-thirds. That’s compounding doing its job on a single lump sum over a decade.
Worked example: principal plus contributions
Now change the setup: $5,000 to start, a 6% annual rate, annual compounding this time, over 20 years, with an additional $1,000 contributed every year. Because compounding is annual here, the contribution lines up as a once-a-year deposit, and the number of periods is just 20.
- Ending balance: $52,821.27
- Total contributed (principal plus 20 years of deposits): $25,000.00
- Interest earned: $27,821.27
Notice that more than half the ending balance in this example came from interest, not from money you actually put in. That’s the part of compounding that’s easy to underestimate: given enough time, the interest can outgrow the contributions that generated it.
What actually moves the number
It’s tempting to treat compounding frequency as the lever to obsess over, since it’s the setting with the most exotic-sounding name. In practice it’s usually the smallest lever in the formula. Switching the same balance and rate from annual to monthly compounding typically adds a fraction of a percentage point to your effective annual yield, not a dramatic jump. Daily compounding nudges it further, but again by a sliver.
The variables that actually move the ending balance are the ones with more ordinary names: the rate, the time horizon, and the size and frequency of contributions. A rate that’s a point or two higher compounds into a materially different outcome over 20 or 30 years. So does starting five years earlier, since every extra year gives your existing balance one more round of compounding to work with, on top of whatever new money you add. If you’re choosing between an account that compounds monthly at a slightly lower rate and one that compounds annually at a slightly higher rate, run both through the formula before assuming the more frequent compounding wins.
It’s also worth remembering that this formula assumes a constant rate for the entire period, which real accounts and investments rarely deliver exactly. Savings account rates move with the market, and investment returns vary year to year even when the long-run average looks smooth. Treat the output as a projection under a fixed assumption, not a guarantee, and revisit it if your actual rate changes.
FAQ
Does compounding frequency matter as much as the interest rate? No, not usually. Moving from annual to monthly or daily compounding on the same nominal rate typically changes the effective yield by a small fraction of a percent. A higher rate, a longer time horizon, or larger contributions will move your ending balance far more than the compounding frequency will.
Why does the contribution amount depend on the compounding frequency I pick? Because the formula treats a contribution as happening once per compounding period, to keep contributions and compounding on the same clock. If you select monthly compounding, the contribution field means a monthly deposit; if you select annual compounding, it means a yearly one. Set the frequency to match how often you actually plan to add money for an accurate projection.
Is compound interest only relevant to savings accounts? No. The same math applies to investment accounts, retirement accounts, and even debt that compounds, like some credit cards and loans. The formula doesn’t care what the underlying account is called, only that a rate is being applied repeatedly to a growing balance.
Use the Compound Interest Calculator to run your own numbers.