How to use this calculator
- Enter Principal ($)。
- Enter Annual rate (%)。
- Enter Years (yrs)。
Leave any field blank and the calculator solves for it from the remaining values — every quantity is reversible.
The calculator then returns: Future value。
What is it
Compound Interest Calculator — Compute compound interest future value from principal, rate and years — or solve backwards for any missing variable. Loan and interest calculators model the relationship between principal, rate, term and payment, so you can judge the true cost of borrowing. The core question it answers is: Future value. Future value = principal × (1 + rate)^years. E.g. $10,000 at 5% for 10 years grows to about $16,288.95.
Formula
| Variable | Inputs | Unit |
|---|---|---|
principal | Principal | $ |
rate | Annual rate | % |
years | Years | yrs |
future | Future value | $ |
future / Math.pow(1 + rate/100, years)(Math.pow(future/principal, 1/years) - 1) * 100Math.log(future/principal) / Math.log(1 + rate/100)principal * Math.pow(1 + rate/100, years)The relationship is solved in every direction, so any one unknown field can be derived.
Worked example
Using the default inputs:
- Principal = 10000 $
- Annual rate = 5 %
- Years = 10 yrs
Formula used: principal * Math.pow(1 + rate/100, years)
Answer:
- Future value = 16,288.95 $
Example 1 (default inputs):Suppose Principal = 10,000 $, Annual rate = 5 %, Years = 10 yrs; then giving Future value = 16,289 $.
Example 2 (one input changed):If you change Principal to 15,000,giving Future value = 24,433 $.
Additional information
Assumptions and limitations
- Real loan contracts often add origination fees, insurance, prepayment penalties and variable-rate clauses. These calculators implement the standard amortisation formula and exclude such add-on costs.
- Good for: getting a directionally correct order of magnitude quickly, or comparing two scenarios.
- Not good for: using it as the sole basis for a decision, or for official filings, contract pricing and legal documents — those need a full model with your actual clauses and local rules.