Compound interest is interest calculated on the initial principal plus every previously earned interest period, so the base on which interest accrues grows over time. The standard formula is A = P(1 + r/n)^(nt), where A is the final amount, P is the starting principal, r is the annual interest rate expressed as a decimal, n is the number of compounding periods per year (1 for annual, 12 for monthly, 365 for daily), t is the time in years, and the difference A − P is the total compound interest earned. Because the exponent multiplies n and t together, small increases in the rate, the frequency, or the number of years produce noticeably larger final amounts, which is why compound interest is often described as interest earning interest. The same formula works for savings accounts, certificates of deposit, and many investment products, and it is the single most useful equation for anyone trying to project how a lump sum will grow.
If you would rather skip the formula and read the answer directly, the Compound Interest Calculator applies the math for you: enter the principal, the rate, the compounding frequency, and the number of years, and the tool returns the final balance and the total interest earned. The rest of this guide walks through how compounding actually works, then shows the exact inputs to use so you can move from raw numbers to a meaningful projection.

What "Compounding Frequency" Really Changes
The compounding frequency — how often interest is added to the balance and starts earning more interest — is the one variable that is easiest to underestimate. A nominal 5% annual rate compounded once per year produces slightly less interest than 5% compounded monthly, which in turn produces slightly less than 5% compounded daily. The gap comes from the n in the denominator of (1 + r/n): a larger n produces a smaller per-period rate applied more often, and that combination is mathematically larger than a single annual application.
This is also why two products advertised with the same nominal rate can produce different actual growth: a savings account that compounds daily and a CD that compounds annually will not leave you with the same balance after ten years even when the stated rate is identical. When comparing products, the relevant figure is often the APY (annual percentage yield), which reflects the effective annual rate after intra-year compounding rather than the headline nominal rate.
Variables You Need Before You Start
Four inputs cover almost every compound interest calculation you will run into:
- Principal (P): the starting lump sum you deposit or invest.
- Annual interest rate (r): the nominal yearly rate as a percentage (e.g., 5 for 5%).
- Compounding periods per year (n): 1 for annual, 2 for semiannual, 4 for quarterly, 12 for monthly, 365 for daily.
- Time in years (t): the full holding period. Fractional years are allowed.
For most consumer products, the rate and the compounding frequency are disclosed clearly on the account terms; for an investment you model yourself, you can pick any frequency to compare scenarios. The only rule is consistency: whatever rate you choose must match the frequency you choose, otherwise the result mixes conventions and the figure is meaningless.
Calculate Compound Interest Step by Step
- Open the Compound Interest Calculator in your browser.
- Type your starting principal into the principal field (for example, 10,000).
- Enter the annual interest rate as a percentage (for example, 5 for 5%).
- Pick the compounding frequency from the dropdown: annually, semiannually, quarterly, monthly, or daily.
- Enter the number of years you plan to hold the deposit or investment.
- Read the final amount and the total interest earned shown in the result area.
- Change the frequency dropdown to a different value and note how the final amount shifts — daily will be highest, annual will be lowest.
- Adjust principal, rate, or years as needed; the result updates with each change.
The Formula, Written Out
For anyone who wants to verify a calculator's output or do a quick check on the back of an envelope, the compound interest formula is worth memorizing in one form: A = P(1 + r/n)^(nt). The compound interest itself — the earnings, separate from the original principal — is simply A − P. A worked example: with P = 10,000, r = 0.05, n = 12 (monthly), and t = 10 years, the calculation is A = 10,000 × (1 + 0.05/12)^(12 × 10). The per-period rate is 0.05/12 ≈ 0.0041667, and the exponent is 120, giving A = 10,000 × (1.0041667)^120. The total compound interest earned over the decade is then A minus 10,000, meaning the original principal grows by roughly the difference between the final amount and the starting 10,000.
Because fractional exponents and repeated multiplication are easy to get wrong by hand, it is worth cross-checking any manual computation with a tool. Even a small slip in the rate (0.5 instead of 0.05, for example) produces a result that looks plausible but is wildly off; the calculator prevents that entire class of error.
How Results Differ by Compounding Frequency
The direction of the impact is always the same: more frequent compounding yields a larger final amount, all else equal. The magnitude depends on the rate and the time horizon. At low rates and short horizons, the gap between annual and daily compounding is small; at higher rates held for decades, the gap becomes meaningful. Because the precise numbers depend on your exact inputs, treat the table below as a qualitative guide and plug your own numbers into the Compound Interest Calculator for exact figures.
| Frequency | Periods per year (n) | Relative size of final balance |
|---|---|---|
| Annually | 1 | Smallest |
| Semiannually | 2 | Slightly larger than annual |
| Quarterly | 4 | Larger again |
| Monthly | 12 | Larger still |
| Daily | 365 | Largest of the standard options |
The pattern in the table reflects a well-known result in financial mathematics: as n grows, (1 + r/n)^n approaches e^r, which is the theoretical limit of continuous compounding. Daily compounding is already very close to that ceiling for most practical rates and time horizons, which is one reason brokerage cash sweep accounts often advertise daily compounding.
Where Compound Interest Shows Up in Real Life
The same formula shows up in many places, which is why it pays to understand the underlying mechanics rather than relying on any single product's quoted number. Savings accounts and money market accounts typically compound daily; certificates of deposit compound on a fixed schedule stated in the account terms; long-dated investment returns are usually modeled with annual or quarterly compounding for projection purposes; and retirement balances grow through a blend of contributions plus compounding over decades. For a deeper look at certificate-of-deposit mechanics specifically, the guide on calculating CD compound interest walks through the frequency and penalty considerations that apply to that product.
If you are comparing a compounding product to a flat-interest product (such as a short-term loan or a simple-interest bond), the Simple Interest Calculator shows the I = Prt side of the comparison on the same inputs. Side-by-side, the difference between simple and compound interest is the gap between a flat line and a curve that bends upward over time.
Tips to Get a Reliable Projection
A few habits keep compound interest calculations honest. First, keep the rate and the frequency in the same convention: an annual rate must be divided by n before being used inside the parentheses, and the exponent must use n × t, not just t. Second, when comparing products, compare APYs rather than nominal rates so that the frequency difference is already baked into the number. Third, for long horizons, treat any projection as illustrative: real returns move with the market, taxes may apply, and fees will reduce the actual figure. The calculation tells you what compounding can do under stated assumptions; it does not promise a specific future balance.
Finally, run the numbers in two tools or by hand and formula if the amount is large enough to matter. A one-character typo in the rate field or in the exponent can swing a 30-year projection by a substantial sum, which is exactly the kind of error that a quick sanity check catches.
Frequently Seen Calculation Questions
Three questions come up over and over, independent of the specific rate or term. What does "n" mean in the formula? It is the number of times per year interest is added to the balance and begins earning further interest. What does "t" mean? It is the holding period in years; ten years of monthly compounding has an exponent of 120 because n × t = 12 × 10. Why does daily compounding beat annual compounding? Because interest is added to the balance sooner and starts earning its own interest sooner, and that compounding-on-compounding effect grows the longer the money is left in place.
For investors comparing compounding growth against projected retirement income, the Retirement Calculator applies the same formula across a full career and adds contribution-based modeling; for those comparing compounding to discounting (the same idea run backwards), the Inflation Calculator shows how a fixed inflation rate erodes today's dollars into a smaller future purchasing power.
For a deeper look, see How to Calculate Discount Percentage the Right Way.
For a deeper look, see How to Calculate Inflation-Adjusted Return for Any Investment.