Compound Interest Formula: How to Calculate It

Compound interest is interest paid on your principal and on the interest already earned, so your balance grows faster every year. This guide works the formula by hand: $10,000 at 5% for 10 years grows to $16,288.95 yearly and $16,470.09 monthly. It also runs our Compound Interest Calculator’s defaults — $10,000 plus $500 a month at 7% for 20 years — and ends at $300,851.

Yearly · 10 years
$16,288.95
Monthly · 10 years
$16,470.09
Compound default · 20 years
$300,851
Doubles in · at 7%
10.3 yrs

The short answer: interest earns interest

Compound interest is interest paid on your principal and on the interest already earned, so your interest starts earning interest of its own. Simple interest pays only on the money you put in.

The lump-sum formula is A = P × (1 + r/n)^(n×t). A is the final balance, P is the starting amount, r is the annual rate as a decimal, n is how many times a year interest compounds, and t is the years. Monthly deposits add a second term, covered below.

A = P(1+r/n)^nt, explained

P is the money you start with, r is the annual rate as a decimal (5% is 0.05), and t is the time in years. The letter n is the compounding frequency: 1 yearly, 2 half-yearly, 4 quarterly, 12 monthly, 365 daily.

The bracket (1 + r/n) is one period’s growth, and the exponent n×t is the total number of periods. At 5% compounded monthly, each month multiplies your balance by 1.0041667, and 10 years means 120 multiplications. A higher n means more multiplications and a slightly higher balance.

Do not mix up the rate and the APY: the APY is what you actually earn in a year once compounding is included. A 7% rate compounded monthly is a 7.229% APY, and a 5% rate compounded monthly is a 5.116% APY. For contrast, the FDIC national average savings APY is 0.39% (November 16, 2026): $10,000 earns $39.07 in a year at the average rate with monthly compounding.

Worked example by hand: $10,000 at 5% for 10 years

Start with $10,000 at 5% for 10 years, compounded once a year. First, add 1 to the rate: 1 + 0.05 = 1.05. Second, raise it to the 10th power: 1.05^10 = 1.6288946. Third, multiply by the principal: $10,000 × 1.6288946 = $16,288.95, so the interest is $6,288.95.

Now compound the same money monthly: the monthly rate is 0.05 ÷ 12 = 0.0041667, so each month multiplies the balance by 1.0041667. Over 120 months, 1.0041667^120 = 1.6470095, and $10,000 × 1.6470095 = $16,470.09. The interest is $6,470.09, $181.15 more than yearly, because each month’s interest starts earning interest sooner.

CompoundingFinal balanceInterest earned
Yearly$16,288.95$6,288.95
Half-yearly$16,386.16$6,386.16
Quarterly$16,436.19$6,436.19
Monthly$16,470.09$6,470.09
Daily$16,486.65$6,486.65

More frequent compounding pays more, but the gains shrink fast: yearly to monthly adds $181.15 over 10 years, while monthly to daily adds only $16.55. The rate and the time matter far more than the frequency.

The formula with monthly contributions

Most savers add money every month, so the formula needs a second term for the deposits: FV = P(1+r/n)^nt + PMT × [((1+r/n)^nt − 1) ÷ (r/n)], where PMT is the monthly deposit. Our Compound Interest Calculator uses these defaults: $10,000 to start, $500 a month, a 7% annual return, 20 years, monthly compounding, with deposits at the end of each month.

The growth factor: the monthly rate is 0.07 ÷ 12 = 0.0058333, and (1.0058333)^240 = 4.0387388. The starting amount grows to $10,000 × 4.0387388 = $40,387.39, and the deposits to $500 × (4.0387388 − 1) ÷ 0.0058333 = $500 × 520.9267 = $260,463.33. Add them: $40,387.39 + $260,463.33 = $300,850.72, displayed as $300,851.

YearBalanceYou contributedInterest that yearTotal interest
Year 1$16,919.19$16,000$919.19$919.19
Year 5$49,972.70$40,000$3,147.55$9,972.70
Year 10$106,639.02$70,000$6,967.79$36,639.02
Year 20$300,850.72$130,000$20,060.87$170,850.72

You put in $130,000 — $10,000 at the start plus $500 × 240 months — and the interest is $170,850.72, or 56.8% of the final balance. Interest starts at $919.19 in year 1 and passes your contributions during year 17: at the end of year 16 it is $100,683.03 against $106,000 contributed, and by the end of year 17 it is $115,820.45 against $112,000 contributed.

Two honest notes. First, doubling the time does not double the deposits: 10 years takes $70,000 and 20 years takes $130,000, not quite double at 1.86 times, yet the balance nearly triples, from $106,639 to $300,851. Second, deposits at the start of each month would end at $302,370.09, because each deposit earns one extra month of interest.

At 5% instead of 7%, the same inputs end at $232,643.24, $68,207.48 less: the rate is the biggest lever after time. For the same maths on a plain savings account, see how to calculate savings account interest.

How often interest compounds

The same defaults at five frequencies show what frequency is worth: annual $292,465.03, half-yearly $296,917.76, quarterly $299,252.06, monthly $300,850.72, daily $301,636.37. Annual to monthly adds about $8,400, while monthly to daily adds only about $786.

CompoundingFinal balanceInterest earned
Annually$292,465$162,465
Semi-annually$296,918$166,918
Quarterly$299,252$169,252
Monthly$300,851$170,851
Daily$301,636$171,636

Frequency matters most on a large balance over a long term; on a small balance over a year or two, yearly and monthly differ by a few dollars. Pick the better rate first.

The Rule of 72 — and how far off it is

The Rule of 72 is a doubling-time shortcut: divide 72 by the annual rate. At 5%, 72 ÷ 5 = 14.4 years. The exact time comes from logarithms, t = ln(2) ÷ ln(1 + r): at 5% that is 0.6931 ÷ 0.04879 = 14.21 years, so the rule overshoots by 0.19 years (about 2.3 months).

The error is smallest near 8% and grows at the extremes: at 4% the rule says 18.00 years against an exact 17.67, at 7% it says 10.29 against 10.24, and at 10% it says 7.20 against 7.27, underestimating by 0.07 years. Use it for a quick estimate only.

Annual rateRule of 72Exact doubling timeError
4%18.00 years17.67 years+0.33 years
5%14.40 years14.21 years+0.19 years
7%10.29 years10.24 years+0.04 years
10%7.20 years7.27 years−0.07 years

The compound interest formula in Excel

Excel’s FV function runs the same formula in one cell: =FV(7%/12,20*12,-500,-10000) returns $300,850.72. The arguments are the monthly rate (7% divided by 12), the number of months (20 × 12 = 240), the monthly deposit, and the starting amount. The minus signs mark money paid in.

A fifth argument, type, sets when deposits land: 0 is the end of the month (the default), 1 is the start. With type 1 the formula returns $302,605.68, higher than the $302,370.09 annuity-due figure above, because Excel’s type 1 also adds a month of growth to the starting $10,000.

Compound vs simple interest

Simple interest pays only on the money you put in: $10,000 at 5% earns $500 a year, so after 10 years you have $15,000. Compound interest pays on the growing balance, so the same $10,000 reaches $16,288.95 yearly and $16,470.09 monthly, and over 30 years the monthly-compound interest is $34,677.44 against $15,000 simple. For the full table, see compound interest vs simple interest.

Frequently asked questions

What is the compound interest formula?

For a lump sum, the balance after t years is A = P x (1 + r/n)^(n x t): P is the starting amount, r is the annual rate as a decimal, n is how many times a year interest compounds, and t is the years. With monthly deposits, add PMT x [((1 + r/n)^(n x t) - 1) / (r/n)], where PMT is the monthly deposit.

How do I calculate compound interest by hand?

First, add 1 to the rate as a decimal. Second, raise it to the power of the number of compounding periods. Third, multiply by the starting amount. For example, $10,000 at 5% for 10 years is $10,000 x 1.05^10 = $16,288.95 yearly, and $10,000 x (1 + 0.05/12)^120 = $16,470.09 monthly.

What is the compound interest formula with monthly contributions?

Use FV = P(1 + r/n)^nt + PMT x [((1 + r/n)^nt - 1) / (r/n)], where PMT is the monthly deposit. With $10,000 to start, $500 a month, 7% a year, 20 years, monthly compounding, the starting amount grows to $40,387.39, the deposits to $260,463.33, and the total is $300,850.72.

How long does it take money to double at 5%?

The Rule of 72 says 72 divided by 5, or 14.4 years. The exact doubling time is ln(2) divided by ln(1.05), or 14.21 years, so the rule overshoots by 0.19 years (about 2.3 months).

What is the Rule of 72?

The Rule of 72 estimates doubling time by dividing 72 by the annual rate as a whole number. At 7% it gives 10.3 years, and the exact figure is 10.24 years. It is a quick estimate, not an exact answer, most accurate for rates near 8%.

How do I calculate compound interest in Excel?

Use the FV function: =FV(7%/12,20*12,-500,-10000) returns $300,850.72. The first argument is the monthly rate, the second is the number of months, the third is the monthly deposit, and the fourth is the starting amount. The minus signs mark money paid in.

What does A = P(1+r/n)^nt mean?

A is the final balance, P is the starting amount, r is the annual rate as a decimal, n is how many times a year interest compounds, and t is the years. The bracket (1 + r/n) is one period's growth, and the exponent n x t is the total number of periods.

How much is $10,000 at 5% after 10 years?

$16,288.95 yearly and $16,470.09 monthly. The interest is $6,288.95 yearly and $6,470.09 monthly, a gap of $181.15. Compounded daily, the same money reaches $16,486.65.

Does compound interest beat simple interest?

Yes, whenever the money stays in for more than one period. On $10,000 at 5% for 10 years, simple interest pays $5,000 for a $15,000 total, while monthly compounding pays $6,470.09 for a $16,470.09 total. Over 30 years it is $34,677.44 of compound interest against $15,000 simple.

How often should interest compound?

More often is better, but the gain is small next to the rate and the time. On $10,000 plus $500 a month at 7% for 20 years, annual ends at $292,465 and monthly at $300,851, a gap of about $8,400, while daily adds only about $786 over monthly. Pick the better rate first.

What is the difference between the interest rate and APY?

The interest rate is the nominal yearly rate; the APY is what you actually earn in a year once compounding is included. A 7% rate compounded monthly is a 7.229% APY, and a 5% rate compounded monthly is a 5.116% APY. Compare accounts by APY.

For educational purposes only, not financial advice. See our Disclaimer. Sources: SEC Investor.gov, “It’s Tax Time: Getting a Tax Refund? Consider Investing It.” (compounding earns interest on the money you save and on the interest that money earns; read November 17, 2026); Microsoft Support, “FV Function” (FV syntax, cash paid out as negative, type 0 end of period and type 1 beginning of period; read November 17, 2026); FDIC, “National Rates and Rate Caps – November 2026” (savings 0.39%, as of November 16, 2026; read November 17, 2026); It Calculates Compound Interest Calculator (defaults $10,000, $500 a month, 7%, 20 years, monthly compounding).

Try your own numbers

Run your own numbers through the Compound Interest Calculator — change the starting amount, monthly deposit, rate or years — and compare with the tables above. For the same maths on a plain savings account, see how to calculate savings account interest.

Last updated: November 17, 2026