CalcUnit Logo

How to Calculate Compound Interest

Calculate how money grows with compound interest over time.

The Formula

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

The compound interest formula uses the mathematical relationship: A = P(1 + r/n)^(nt). Each variable in the formula represents a measurable quantity that affects the final result.

What Each Variable Means

Every value in the compound interest formula, what it measures, and the value used in the worked example on this page:

VariableTypeExample value
Initial InvestmentInput (you provide)$10,000
Annual Interest RateInput (you provide)8 %
Investment PeriodInput (you provide)10
Compounding FrequencyInput (you provide)12
Monthly ContributionInput (you provide)$0
Future ValueResult (calculated)—
Total Interest EarnedResult (calculated)—
Total ContributionsResult (calculated)—
Effective Annual RateResult (calculated)—

Step-by-Step Method

  1. 1Write down the values you know: Initial Investment, Annual Interest Rate, Investment Period, Compounding Frequency, Monthly Contribution.
  2. 2Substitute your known values into the formula: A = P(1 + r/n)^(nt).
  3. 3Work through the arithmetic in the standard order of operations — parentheses first, then exponents, then multiplication and division, then addition and subtraction.
  4. 4Check that your result carries the correct unit and falls in a reasonable range for the problem.
  5. 5Verify your answer with the interactive Compound Interest Calculator — it solves the same formula instantly.

Worked Example

Take a concrete case: initial investment = $5,000, with the other inputs at the typical values from the variables table above. Substituting into the formula gives future value = 11098.20, total interest earned = 6098.20, total contributions = 5000.00, effective annual rate = 8.300. These numbers are solved by the same engine that powers the Compound Interest calculator, so you can reproduce them exactly by entering the same inputs there.

Initial InvestmentFuture ValueTotal Interest EarnedTotal ContributionsEffective Annual Rate
$3,0006658.923658.923000.008.300
$5,00011098.206098.205000.008.300
$8,00017757.129757.128000.008.300
$10,00022196.4012196.4010000.008.300
$20,00044392.8024392.8020000.008.300
$30,00066589.2136589.2130000.008.300
$40,00088785.6148785.6140000.008.300

How each result changes as initial investment changes, holding the other inputs constant.

Practice Problems

1. Retirement savings: Plug in Initial Investment $5,000, Annual Interest Rate 7%, Investment Period 30, Compounding Frequency Monthly (12×/yr), Monthly Contribution $300. What is the answer?

Answer: Entering Initial Investment $5,000, Annual Interest Rate 7%, Investment Period 30, Compounding Frequency Monthly (12×/yr), Monthly Contribution $300 gives Future Value $406,573.79, Total Interest Earned $293,573.79, Total Contributions $113,000.00, Effective Annual Rate 7.229%.

2. Given Initial Investment $12,500, Annual Interest Rate 6%, Investment Period 18, Compounding Frequency Monthly (12×/yr), Monthly Contribution $200, what does it come out to?

Answer: The calculator returns Future Value $114,180.21, Total Interest Earned $58,480.21, Total Contributions $55,700.00, Effective Annual Rate 6.168% for Initial Investment $12,500, Annual Interest Rate 6%, Investment Period 18, Compounding Frequency Monthly (12×/yr), Monthly Contribution $200.

Frequently Asked Questions

What is the formula for compound interest?

The formula is: A = P(1 + r/n)^(nt). Calculate how money grows with compound interest over time.

What values do I need to calculate compound interest?

You need initial investment, annual interest rate, investment period, compounding frequency, monthly contribution. The calculator produces future value, total interest earned, total contributions, effective annual rate from those inputs.

What is the compound interest when initial investment is $5,000?

With initial investment = $5,000, the result is future value = 11098.20, total interest earned = 6098.20, total contributions = 5000.00, effective annual rate = 8.300. This is worked through in full in the example on this page.

Related Topics

compound interestinvestmentsavings

Use the Interactive Calculator

Skip the manual math — get instant results with our free Compound Interest calculator.

Open Calculator

Related Calculators