Home›Money›Compound Interest Guide

The compound interest formula, fully worked (with a frequency table)

Most pages state the compound interest formula and stop, as if the stating were the understanding. I do the opposite: one problem — $8,000 at 6% for eight years — solved five times, once for each compounding frequency, with every substitution and every intermediate number shown.

7 min readUpdated October 2026Compound Interest Calculator

Most pages state the compound interest formula and stop, as if the stating were the understanding. I am going to do the opposite: take one problem — $8,000 at 6% for eight years — and solve it five times, once for each compounding frequency, showing every substitution and every intermediate number. By the end you will be able to check any compound formula calculator against figures you produced yourself, and the formula will have stopped being notation and started being a machine you own.

Key takeaways
  • Five frequencies, one problem, and the whole spread is $177.81 on $8,000 — frequency is the smallest lever in the formula.
  • P, r and t do the heavy lifting: what I start with, the rate I secure, and the years I give it.
  • Adding deposits grows the formula a second term, so my contributions compound alongside the original balance.

The compounding formula, term by term

A = P(1 + r/n)nt

  • A — the final amount, the answer.
  • P — the principal you start with: $8,000 in our problem.
  • r — the annual rate as a decimal: 6% becomes 0.06.
  • n — how many times a year interest is credited: 1, 4, 12 or 365.
  • t — the years: 8.

Two ideas do all the work inside that line. The rate per period is r/n — interest is credited in slices, never all at once. And the exponent nt is simply the total count of those slices. Interest alone is A − P. Whenever you meet the compounding formula wearing other clothes — a bank’s worked example, a textbook’s — it is this line, with n doing the only interesting decision.

The problem, solved five ways

Annually (n = 1). Rate per period 6%, 8 periods. A = 8000 × (1.06)8 = 8000 × 1.593848 = $12,750.78. Interest: $4,750.78.

Quarterly (n = 4). Rate per period 1.5%, 32 periods. A = 8000 × (1.015)32 = 8000 × 1.610324 = $12,882.59. Interest: $4,882.59.

Monthly (n = 12). The monthly compound interest formula is the same line with n = 12: rate per period 0.5%, 96 periods. A = 8000 × (1.005)96 = 8000 × 1.614143 = $12,913.14. Interest: $4,913.14. If you want to feel it working, trace the first months: after month 1 the balance is $8,040.00 (interest $40.00), after month 2 $8,080.20, after month 3 $8,120.60 — and by month 12, when the balance reaches $8,493.42, that month’s interest alone is $42.26, because eleven months of interest are now earning interest too.

Daily (n = 365). Rate per period 0.06/365 ≈ 0.0164%, 2,920 periods. A = 8000 × (1 + 0.06/365)2920 = 8000 × 1.616011 = $12,928.09. Interest: $4,928.09.

Continuously (n → ∞). Compound ever more often and the formula converges on A = Pert: A = 8000 × e0.48 = 8000 × 1.616074 = $12,928.60. Interest: $4,928.60 — the ceiling the other four are climbing toward. Euler’s number is doing real work in that line: ert is the limit of (1 + r/n)nt as n grows without bound, which is why continuous compounding is not a fifth method but the destination the other four are travelling toward.

FrequencynRate / periodPeriodsGrowth factorFinal amountInterest
Annually16.0000%81.593848$12,750.78$4,750.78
Quarterly41.5000%321.610324$12,882.59$4,882.59
Monthly120.5000%961.614143$12,913.14$4,913.14
Daily3650.0164%29201.616011$12,928.09$4,928.09
Continuously∞——1.616074$12,928.60$4,928.60

One problem — $8,000, 6%, eight years — at every standard frequency. The full spread from annual to continuous is $177.81.

Adding deposits: the formula grows a second term

Real savers and investors rarely deposit once. Add a level monthly deposit and the compounding formula grows a twin term — the deposit stream, compounded the same way:

FV = P(1 + i)N + PMT × [((1 + i)N − 1) / i], with i the monthly rate and N the months.

This two-term version is the investment growth formula behind every retirement projection you have ever been shown. Run our problem through it — the same $8,000 at 6% compounded monthly for eight years, now with $150 added each month: the principal term is the $12,913.14 we already own, and the deposit term adds $18,424.28, for a final $31,337.42. Of that, $14,400 is deposits out of your pocket and $8,937.42 is interest — more interest than the original lump sum earned, generated by money that arrived gradually. That is the whole secret of the second term.

Spreadsheet-ready versions

Every result above, as formulas you can paste into a spreadsheet cell:

  • Annual: =8000*(1+0.06)^8
  • Monthly: =8000*(1+0.06/12)^(12*8)
  • Daily: =8000*(1+0.06/365)^(365*8)
  • Continuous: =8000*EXP(0.06*8)
  • With a $150 monthly deposit: =FV(0.06/12, 96, -150, -8000) — the minus signs are the spreadsheet’s convention for money you pay in; the answer comes back positive: $31,337.42.

The Rule of 72, audited against the formula

You will hear that money at 6% doubles in 72 ÷ 6 = 12 years. The formula lets us grade that claim exactly: doubling time is ln 2 ÷ ln(1.06) = 11.90 years, and sure enough, 8000 × (1.06)11.90 = $16,000.00. The rule overshoots by about a month at this rate — close enough for conversation, too loose for a contract. My standing advice: estimate with the rule, decide with the formula.

Three mistakes I catch in every spreadsheet

  • A percent where a decimal belongs. Type 6 instead of 0.06 and the formula dutifully reports that $8,000 becomes more money than exists on Earth. The rate always enters as a decimal.
  • A mismatched n. Pairing the monthly rate with the annual exponent — (1.005)8 instead of (1.005)96 — turns eight years of monthly compounding into $8,325.66 and quietly deletes most of the interest. Rate per period and period count must always describe the same schedule.
  • Deposits on the wrong side. The FV function wants money you pay in entered as negatives; flip the signs and it returns a negative balance — the spreadsheet politely telling you the cash is flowing backwards.

One last habit is worth copying: whatever a calculator or a spreadsheet tells me, I re-run the annual case by hand — it is the only frequency I can verify on a pocket calculator in under a minute — and if that one matches, I trust the machinery on the other four.

Five frequencies, one problem, and the whole spread is $177.81 on $8,000. Frequency is the smallest lever in the formula. P, r and t — what you start with, the rate you secure, and the years you give it — do the heavy lifting.

Check your own problem

Enter any principal, rate and term and flip the compounding frequency — our compound interest calculator runs this exact formula, all five ways.

Open the Compound Interest Calculator

Frequently asked questions

What is the compound interest formula?

A = P(1 + r/n)^(nt). A is the final amount, P the starting principal, r the annual rate as a decimal, n the number of compounding periods per year and t the years. Subtract P from A to get the interest alone. Every figure in this article comes from that one line.

How do I use the monthly compound interest formula?

Set n to 12. The rate per period becomes r divided by 12 and the period count becomes 12 times t. On this article’s problem — $8,000 at 6% for eight years — that is 0.5% a month for 96 months, and (1.005)^96 = 1.614143, so the balance reaches $12,913.14.

What is the formula for continuous compounding?

A = Pe^(rt), where e is Euler’s number, about 2.71828. It is what the standard formula approaches as n grows without limit. On the worked problem it gives $12,928.60 — the ceiling that daily compounding, at $12,928.09, already comes within 51 cents of.

How accurate is the Rule of 72?

Accurate enough to estimate, never to settle. At 6% it predicts a doubling in 12 years; the exact figure is ln 2 divided by ln 1.06, which is 11.90 years. Use it in conversation; use the formula in a spreadsheet.

Sources: formula per standard college algebra references, with plain-language framing cross-checked against the SEC’s Investor.gov compound interest explainer. The 6% rate is illustrative; every figure was recomputed for this article.

Related guides
↑

Similar Posts