How to use this calculator
- Enter Principal ($)。
- Enter Annual rate (%)。
- Enter Term (yrs)。
Leave any field blank and the calculator solves for it from the remaining values — every quantity is reversible.
The calculator then returns: Monthly payment、Total interest、Total paid。
What is it
Loan Total Interest Calculator — From principal, annual rate and term, compute the monthly payment, total interest and total paid. 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: Monthly payment, Total interest and Total paid. Total interest = payment × months − principal. E.g. 200,000 at 5% over 15 years gives ~1,582 monthly and ~84,600 total interest.
Formula
| Variable | Inputs | Unit |
|---|---|---|
principal | Principal | $ |
annualRate | Annual rate | % |
years | Term | yrs |
monthlyPayment | Monthly payment | $ |
totalInterest | Total interest | $ |
totalPaid | Total paid | $ |
principal * (annualRate/100/12) / (1 - Math.pow(1 + annualRate/100/12, -(years*12)))monthlyPayment * (years*12) - principalmonthlyPayment * (years*12)The relationship is solved in every direction, so any one unknown field can be derived.
Worked example
Using the default inputs:
- Principal = 200000 $
- Annual rate = 5 %
- Term = 15 yrs
Formula used: principal * (annualRate/100/12) / (1 - Math.pow(1 + annualRate/100/12, -(years*12)))
Answer:
- Monthly payment = 1,581.59 $
- Total interest = 84,685.71 $
- Total paid = 284,685.71 $
Example 1 (default inputs):Suppose Principal = 200,000 $, Annual rate = 5 %, Term = 15 yrs; then giving Monthly payment = 1,582 $, Total interest = 84,686 $, Total paid = 284,686 $.
Example 2 (one input changed):If you change Principal to 300,000,giving Monthly payment = 2,372 $, Total interest = 127,029 $, Total paid = 427,029 $.
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.