The compound interest formula
Compound interest is interest paid on the original amount and on the interest already added. The SEC's Investor.gov glossary defines it as interest paid on principal and on accumulated interest. The standard formula for a single deposit is:
A = P × (1 + r/n)n×t
Here P is the starting amount, r is the yearly rate written as a decimal (5% is 0.05), n is the number of times a year the interest is added, t is the number of years, and A is the balance at the end. For $1,000.00 at an example rate of 5% compounded once a year for 10 years, A = 1,000 × 1.0510 = $1,628.89, which is $628.89 of interest. Compounded monthly, the same deposit reaches $1,647.01.
The Investor.gov classroom page on compound interest works a smaller case: $100 earning 5% a year is $105 after the first year, $110.25 after the second, and more than $162 in 10 years. The calculator gives $105.00, $110.25 and $162.89. Investor.gov does not print the formula, so it is shown here as standard algebra.
How the monthly contribution is added
A regular contribution is a series of deposits, and each one earns interest for the months that remain. The calculator adds them as the future value of a monthly series. Assumption: each contribution is made at the end of the month, so the first one earns nothing for its own month. The interest rate per month is the equivalent monthly rate, which keeps the compounding frequency you picked:
i = (1 + r/n)n/12 − 1
Contributions = C × ((1 + i)12t − 1) ÷ i
Balance = P × (1 + r/n)n×t + Contributions
When n is 12, the equivalent monthly rate is simply r/12. For $100 a month at 6% compounded monthly, i = 0.005 and 120 months give 100 × 163.879 = $16,387.93. You put in $12,000.00, so $4,387.93 is interest. If the rate is 0%, i is 0 and the series is just the deposits added up: $1,000.00 plus $50.00 a month for 5 years is $4,000.00.
The Investor.gov calculator takes the same kinds of inputs: an initial investment, a monthly contribution, a length of time, an estimated rate and a compounding frequency. Its page does not say when in the month the contribution is made, so results from different calculators can differ by a small amount.
Does compounding more often matter?
Adding interest more often gives slightly more, because each addition starts earning at once. The effect is smaller than most people expect.
| Compounding | Times a year | Final balance | Interest earned |
|---|---|---|---|
| Annually | 1 | $1,628.89 | $628.89 |
| Quarterly | 4 | $1,643.62 | $643.62 |
| Monthly | 12 | $1,647.01 | $647.01 |
| Daily | 365 | $1,648.66 | $648.66 |
Going from yearly to monthly compounding adds $18.12 over ten years on this deposit, and going from monthly to daily adds $1.65 more. The rate and the number of years matter far more than the compounding schedule.
A year-by-year example
With $10,000.00 to start, $250.00 a month, 5% a year compounded monthly and 10 years, the balance reaches $55,290.66. You deposit $40,000.00 in total, made up of the starting amount and $30,000.00 of monthly contributions, and the other $15,290.66 is interest. The rate is a number picked for the example.
| Year | Total deposited | Interest so far | Balance |
|---|---|---|---|
| 1 | $13,000.00 | $581.33 | $13,581.33 |
| 2 | $16,000.00 | $1,345.89 | $17,345.89 |
| 3 | $19,000.00 | $2,303.06 | $21,303.06 |
| 5 | $25,000.00 | $4,835.11 | $29,835.11 |
| 10 | $40,000.00 | $15,290.66 | $55,290.66 |
The calculator shows every year. Interest so far is the balance minus everything deposited.
What this calculator does not include
The result is arithmetic on the numbers you type. The rate stays the same for every year, and the page does not know what any real account pays, so the rates on this page and in the form are examples and not current rates. Taxes, account fees and inflation are not included, and a real balance can differ. The calculator does not recommend any product. For information only, not financial advice. For percent changes, try the percentage calculator.
Sources
- U.S. Securities and Exchange Commission, Investor.gov, "Compound Interest" glossary entry: interest paid on principal and on accumulated interest.
- Investor.gov, "What is compound interest?" classroom page: the $100 at 5% example ($105, $110.25 and more than $162 in 10 years).
- Investor.gov, "Compound Interest Calculator": the inputs of a compound interest calculator (initial investment, monthly contribution, time, rate and compounding frequency).
- The formulas are standard algebra and the end-of-month contribution is the assumption of this calculator.
Compound Interest Calculator FAQ
How is compound interest calculated?
Multiply the starting amount by (1 + r/n) raised to the power n times t, where r is the yearly rate as a decimal, n is the times interest is added a year and t is the years. $1,000 at 5% compounded yearly for 10 years is $1,628.89.
What is the difference between compound interest and simple interest?
Simple interest is paid on the original amount only, so $1,000 at 5% for 10 years earns $500.00. Compound interest is also paid on earlier interest, which gives $628.89 with yearly compounding.
How much will $1,000 grow in 10 years at 5% interest?
With no added deposits it grows to $1,628.89 compounded yearly or $1,647.01 compounded monthly. 5% is an example rate, not a prediction.
Does compounding daily instead of monthly make a big difference?
Not much. $1,000 at 5% for 10 years reaches $1,647.01 compounded monthly and $1,648.66 compounded daily, a difference of $1.65.
When does this calculator add my monthly contribution?
At the end of each month, using the monthly rate equivalent to your compounding choice, (1 + r/n)^(n/12) − 1. Investor.gov does not say when in the month its calculator adds contributions, so other calculators can differ slightly.