A compound interest calculator calculates the final amount with A = P(1 + r/n)^(nt), and total interest earned is A - P. In this formula, P is the starting principal, r is the annual interest rate written as a decimal, n is the number of compounding periods per year, and t is the number of years.
The calculation reflects how compound interest works: each time interest is credited, it becomes part of the balance and can earn interest during later periods. The calculator projects the growth of one starting lump sum under a stated rate and compounding schedule. It does not model a series of new deposits added along the way.

Translate the calculator fields into P, r, n, and t
Every field in the Compound Interest Calculator has a specific role in the formula. Converting the interface into mathematical terms makes the result easier to check rather than leaving the calculation as a black box.
| Calculator field or output | Formula value | What it represents |
|---|---|---|
| Starting principal | P | The lump sum invested at the beginning |
| Annual interest rate | r | The entered percentage converted to a decimal by dividing it by 100 |
| Compounding frequency | n | The number of times interest is credited during each year |
| Number of years | t | The total time allowed for the money to grow |
| Final amount | A | The projected balance after all modeled compounding periods |
| Total interest earned | A - P | The final balance minus the original principal |
The annual rate is first divided by n to obtain the rate used for each compounding period. The number of periods over the full term is n multiplied by t. The calculator applies that periodic rate across those periods, which is why the annual rate and compounding frequency must both be represented accurately.
Interest earned is an output rather than a separate input. Once the calculator has found A, it subtracts the starting principal to show how much of the final balance came from compound interest. The original money and the modeled earnings therefore remain distinct in the result.
Calculate growth from a lump sum
Use the Compound Interest Calculator when you want to project the growth of a single starting balance over a fixed period.
- Enter your starting principal and the annual interest rate in the corresponding fields.
- Choose how often interest compounds: annually, semiannually, quarterly, monthly, or daily. Enter the number of years you want to project.
- Read the final amount, which is the projected balance at the end, and the total interest earned, which is the difference between that balance and your starting principal.
- Switch the compounding frequency while keeping the principal, rate, and term unchanged. Compare the revised final amount and interest earned to see the compounding-frequency effect.
The calculation runs locally in your browser and returns the results instantly. Your figures are not uploaded or stored, so the inputs and results remain on your device.
Why compounding frequency changes the outcome
The compounding-frequency choice determines how many times the calculator credits interest during a year. Each option maps to a fixed value of n in the formula:
| Compounding choice | Periods per year, n |
|---|---|
| Annually | 1 |
| Semiannually | 2 |
| Quarterly | 4 |
| Monthly | 12 |
| Daily | 365 |
For a positive rate, holding P, r, and t constant while increasing n produces a larger final balance. More frequent compounding gives credited interest more time to earn additional interest, so the growth begins accelerating earlier. Daily compounding produces more than monthly compounding, monthly produces more than quarterly, and quarterly produces more than annual compounding under the same stated rate and term.
The difference becomes more noticeable with higher rates, larger principal balances, and longer time horizons. This is also the mechanism behind the difference between a nominal annual rate and an effective annual yield such as APY: the stated nominal rate does not change, but more frequent crediting raises the return expressed as an effective annual yield.
One annual-compounding calculation
For a single worked example, use a $1,000 principal, a 10% annual rate, annual compounding, and a five-year term:
A = $1,000 × (1 + 0.10/1)^(1 × 5) = $1,000 × (1.10)^5 = about $1,610.51
The total interest earned is the final amount minus the original principal:
$1,610.51 - $1,000 = about $610.51
This example shows how the calculator’s fields become formula values. Changing n to monthly or daily changes both the periodic rate and the number of periods; use the calculator for the exact revised balances rather than changing the formula by guesswork.
Interpret the final amount and earned interest
The two outputs answer different questions. The final amount shows the full projected balance at the end of the term. Total interest earned shows only the portion generated through the modeled compound growth.
- Final amount: The original principal plus all modeled compound interest.
- Total interest earned: The final amount minus the starting principal.
- Zero-rate case: At a 0% annual rate, A equals P and total interest earned is zero.
When comparing frequencies, change only the compounding selection and keep the principal, annual rate, and number of years fixed. This isolates the effect of crediting interest more or less often. A higher interest-earned figure under this comparison comes from compounding frequency rather than a change in the input rate or time period.
Keep in mind that a larger projected balance is not automatically the most suitable financial choice. Other terms, taxes, fees, liquidity needs, and the rate available on alternative investments can affect the real decision.
Separate the model from real account returns
The result is a planning estimate based on a defined set of assumptions, not a guaranteed account balance. The calculation model assumes:
- One starting lump sum with no regular contributions
- A constant interest rate throughout the selected term
- No additional deposits or withdrawals
- No taxes, fees, or other account charges
Because the tool focuses on the growth of one principal, it is not designed for adding money every month or year. For a plan involving recurring contributions, use the Savings Calculator, which is built around regular deposits.
Real returns can vary when rates change, market prices move, or account charges and taxes apply. Tax treatment also differs by account and country. Confirm the quoted rate, compounding schedule, fees, and tax position with your bank or a licensed financial professional before making a decision.
Compare account quotes on a consistent basis
The calculator can help compare savings accounts, certificates of deposit, bonds, or other investments quoted with a fixed rate and a stated compounding schedule. A meaningful comparison requires the same assumptions on both sides.
- Confirm whether the quoted rate is nominal and note the account’s stated compounding frequency.
- Enter the same starting principal and number of years for each comparison.
- Select the frequency attached to each quote rather than changing rates or terms.
- Compare both the final amount and total interest earned.
- Review taxes, fees, and withdrawal conditions separately because the calculator does not include them.
The complete calculation can therefore be read in one sentence: the calculator applies A = P(1 + r/n)^(nt) to the entered lump sum, annual rate, compounding frequency, and term, then reports the resulting balance and the interest earned above the original principal.
Related reading: Savings Growth Calculator: Track Deposits vs. Interest.
Related reading: What Causes Wrong Simple Interest Calculator Results?.