GONDAL AI / BLOG

How to Calculate Compound Interest

Knowing how to calculate compound interest comes down to one formula: A = P × (1 + r ÷ n)n × t — the starting amount, grown at the yearly rate for the number of years, with the interest itself earning interest along the way. Our free Compound Interest Calculator runs exactly that formula and splits the answer into the final balance, the total you put in and the interest earned — and this post works its own loaded example ($10,000 at 6%) by hand first, then runs a clean 5% case through every part of the tool: all five frequencies, $200 a month added on top, and the simple-interest comparison over 30 years.

How to calculate compound interest — $10,000 at 5% compounded monthly for 10 years grows to $16,470.09
One formula — the frequency, the additions and the years are where the money moves.

How to calculate compound interest, step by step

  1. Open the free Compound Interest Calculator and type the starting amount. Starting from nothing is fine: type 0 and let the monthly additions carry the plan.
  2. Set the interest rate (% per year) and the years — part-years work too (see the last section).
  3. Choose how often interest compounds in the Compounded dropdown: monthly, quarterly, twice a year, annually or daily — daily is the ceiling; there is no continuous option.
  4. If you save regularly, type it in Added each month (optional; 0 is allowed). Additions are counted at the end of each month.
  5. Read the three answers, which update as you type: the final balance, the total you put in and the interest earned.

The formula on the calculator's own page is A = P × (1 + r ÷ n)n × t, where P is the principal, r is the yearly rate as a decimal, n is how many times a year interest compounds and t is the years; the interest earned is the final balance minus everything you put in. Inside the code, the calculator converts your frequency into an effective monthly rate, m = (1 + r ÷ n)n ÷ 12 − 1, then steps month by month. Check it against the example the tool loads with — $10,000 at 6% compounded monthly for 10 years: r ÷ n = 0.005, n × t = 120, and 1.005120 = 1.819397, so A = 10,000 × 1.819397 = $18,193.97, of which $8,193.97 is interest — the calculator's own figure, to the cent.

Five frequencies, one deposit: $10,000 at 5% for 10 years

Hold everything still — $10,000, 5%, 10 years, nothing added — and change only the Compounded dropdown:

  • Annually (n = 1): 10,000 × 1.0510 = $16,288.95 (interest $6,288.95).
  • Twice a year (n = 2): $16,386.16 (interest $6,386.16).
  • Quarterly (n = 4): $16,436.19 (interest $6,436.19).
  • Monthly (n = 12): 10,000 × (1 + 0.05 ÷ 12)120 = $16,470.09 (interest $6,470.09).
  • Daily (n = 365): $16,486.65 (interest $6,486.65).

The whole ladder spans $197.70, and the last step, monthly to daily, is worth just $16.56 — which is why the calculator's own FAQ calls frequency a rounding detail. What monthly compounding really gives you is an effective yearly rate of (1 + 0.05 ÷ 12)12 − 1 = 5.116%. The choice that actually matters is the rate, and above all the years.

Adding $200 a month: where the $47,526.55 comes from

Now keep $10,000 at 5% compounded monthly for 10 years and type 200 into Added each month. The calculator answers: final balance $47,526.55, total you put in $34,000, interest earned $13,526.55. The split underneath is the part worth seeing, because the two kinds of money grow separately in the code:

  • The lump sum: $10,000 × 1.647009 = $16,470.09 — the monthly row above, earning $6,470.09 of interest.
  • The additions: 120 deposits of $200, each compounding at 0.05 ÷ 12 for the months it sits in the account, build to $31,056.46 — on $24,000 paid in, so the additions earn $7,056.46 by themselves.
  • The check: $16,470.09 + $31,056.46 = $47,526.55, and $6,470.09 + $7,056.46 = $13,526.55 — the calculator's totals, rebuilt piece by piece.

So the $200-a-month habit earns more interest than the $10,000 lump sum does. If the lump sum does not exist yet, set the starting amount to 0 — the additions part is the whole answer, $31,056.46 from $24,000 of deposits.

Monthly additions into an account that compounds yearly

Real plans rarely line up monthly-with-monthly: your account may compound quarterly, or only once a year, while deposits land every month. Most formula pages assume the two rhythms match; this calculator does not. It converts the rate into the effective monthly rate first — at 5% compounded annually, m = 1.051 ÷ 12 − 1 = 0.4074% a month, just below the 0.4167% monthly compounding gives — then steps every deposit through it. The same plan, only the dropdown changed:

  • Annually: $47,161.58 (interest $13,161.58).
  • Quarterly: $47,458.30 (interest $13,458.30).
  • Monthly: $47,526.55 (interest $13,526.55).

With deposits in the mix the gap widens — annually trails monthly by $364.97 instead of $181.14 — because every deposit waits longer to start earning. Still the smallest lever on the page: a different rate, or more years, moves the answer by thousands.

Simple vs compound interest over 10, 20 and 30 years

Simple interest never compounds: it pays P × r × t on the original amount only — on $10,000 at 5%, exactly $500 a year, every year. The compound column is the same deposit in this calculator, compounded monthly:

  • 10 years: simple $15,000 vs compound $16,470.09 — ahead by $1,470.09.
  • 20 years: simple $20,000 vs compound $27,126.40 — ahead by $7,126.40.
  • 30 years: simple $25,000 vs compound $44,677.44 — ahead by $19,677.44, and the interest alone ($34,677.44) is over three times the original deposit.

The gap more than quadruples from the first decade to the second, then nearly triples again, because each decade's interest is calculated on a balance swollen by the decades before it. For the short, fixed periods where simple interest is the right model, the simple interest calculator runs that formula on its own; for a deposit-by-deposit savings goal, the savings calculator is built around the monthly habit.

Timing, part-years and the 0% case

Three details in the code change real answers, and none shows in the headline formula. Timing: additions are counted at the end of each month — the conservative assumption, as the tool's FAQ puts it. Had the $200 landed at the start of each month, the additions part would be $31,056.46 × 1.004167 = $31,185.86: the end-of-month rule costs exactly $129.40 over this plan. Part-years: the years become whole months (months = years × 12, rounded), so 2.5 years is 30 steps and $10,000 at 5% monthly comes to $11,328.54. A 0% rate: the code branches around the formula and the balance is just what you put in — $10,000 plus $200 a month for 10 years is $34,000, interest $0. And the tool's own caveat stands: this is a projection at a fixed rate, before tax and inflation, not a prediction. Turning the monthly figure into a household plan is where our step-by-step monthly budget guide picks up.