Loan & Interest Calculator

Results:

Enter amount, rate, and term.

This result is an estimate, not financial, tax, or lending advice.

Estimate the monthly payment, total interest, and total cost for a fixed-rate loan. The result updates as you type. There is no Calculate button. The payment uses the standard amortization formula for principal and interest only. A worked example below uses $10,000 at 5% for 5 years, and the sample table uses the same rounding as this form.

How to use this loan calculator

  1. Enter the loan amount. That is the principal, P. Decimals are allowed, such as 10000 or 10500.50.
  2. Enter the annual interest rate as a percent. Type 5 for 5%, not 0.05. A rate of 0 is allowed.
  3. Enter the term in years. The calculator multiplies years by 12 to get the number of monthly payments. Five years is 60 payments. A term of 2.5 years is 30 payments.
  4. Read the result. It recalculates when any field changes. There is no Calculate button.
  5. Choose Clear to empty the three fields and restore the starting message.

The amount and the term must be numbers greater than zero. If any field is blank, the result stays on “Enter amount, rate, and term.” A value that is not a number, or an amount or term that is not greater than zero, shows “Enter valid positive values.”

The result line has three dollar amounts, each rounded to cents: monthly payment, total interest, and total paid. Total paid is principal plus total interest.

Embed this calculator

Paste this code into your page. The widget is the calculator only, with a link back to this page.

The amortization formula

A fixed-rate amortizing loan charges the same monthly payment until the balance is paid off. Part of each payment is interest on the balance that month. The rest reduces principal. Early payments are mostly interest. Later payments are mostly principal. The payment itself does not change.

For a positive interest rate, this page uses:

Payment = P × r / (1 − (1 + r)−n)

The same payment can be written as P × r × (1 + r)n / ((1 + r)n − 1). For any positive r, that form equals the one above. This calculator uses the first form.

When the annual rate is 0, r is 0 and the fraction is undefined, because it would divide by zero. The calculator switches to a straight split: payment = P / n. Total interest is then zero, and total paid equals the loan amount.

Display rounding happens after the formula. Each of the three results is rounded to two decimal places from the full-precision number. Total paid is the unrounded payment times n, then rounded. It is not the rounded monthly payment times n. Those two products can differ by a few cents. The worked example shows the difference.

Worked example

Take a loan of $10,000 at 5% annual interest for 5 years. Type 10000, 5, and 5 into the form. The result line reads:

Monthly payment: $188.71 | Total interest: $1322.74 | Total paid: $11322.74

The steps behind that line:

  1. P = 10000.
  2. The annual rate 5% is the decimal 0.05. The monthly rate r = 0.05 / 12 = 0.004166666666666667.
  3. n = 5 × 12 = 60 payments.
  4. Payment = 10000 × 0.004166666666666667 / (1 − (1.004166666666666667)−60) = 188.7123364401099.
  5. Rounded to cents, the monthly payment is $188.71.
  6. Total paid = 188.7123364401099 × 60 = 11322.740186406594, which rounds to $11322.74.
  7. Total interest = 11322.740186406594 − 10000 = 1322.740186406594, which rounds to $1322.74.

Multiplying the rounded payment by 60 gives a different total. 188.71 × 60 = 11322.60, and 11322.60 − 10000 = 1322.60. That is the old cent-rounded shortcut. This calculator does not use it. It multiplies the full-precision payment by 60, then rounds the product to cents, so the line shows $11322.74 and $1322.74.

Interest is $1322.74 of the $11322.74 total paid, which is 11.68%. On the percentage calculator, choose “X is what percent of Y?”, enter 1322.74 for X and 11322.74 for Y. The line reads 1322.74 is 11.68% of 11322.74.

How interest and principal shift

The monthly payment stays at the full-precision value for every month. Interest for a month is the balance at the start of that month times r. Principal for that month is the payment minus that interest. The next balance is the old balance minus the principal portion.

On the $10,000 example, month 1 interest is 10000 × 0.004166666666666667 = 41.6666… dollars. Rounded to cents, that is $41.67. The principal portion of the full-precision payment is about $147.05. Rounded on their own, $41.67 + $147.05 = $188.72, one cent above the $188.71 on the result line. That cent is separate rounding. It is not a second formula.

The table uses the same full-precision payment and rounds each cell to cents. Month 1 is the row that does not add to $188.71. Month 12 is $34.78 + $153.93 = $188.71, and month 60 is $0.78 + $187.93 = $188.71. By month 60 the balance left by the formula is effectively zero.

MonthInterestPrincipal
141.67147.05
1234.78153.93
600.78187.93

The calculator does not print this split. It prints only the three totals. An extra payment toward principal would change every later row. The extra payment calculator rebuilds the payoff when you add the same principal amount every month.

Sample results

Each row is what this calculator prints for that amount, annual rate, and term. Dollar amounts have no thousands separator, matching the result line. Type the same three inputs and the three result columns should match.

Loan amount Annual rate (%) Years Monthly payment Total interest Total paid
1000055188.711322.7411322.74
1000005166.670.0010000.00
500043147.62314.325314.32
250006.55489.154349.2229349.22
2000006301199.10231676.38431676.38

The zero-rate row is the straight split. 10000 / 60 = 166.666…, so the monthly payment rounds to $166.67. Total paid stays $10000.00, because the unrounded payment times 60 is the original amount. 166.67 × 60 = 10000.20, which is the rounded-payment shortcut again, not the figure on the result line.

The last row is a 30-year term: n = 360. At 6% on $200,000, most of the $431676.38 total paid is interest. Total interest $231676.38 is 53.67% of total paid. Check that on the percentage calculator with X = 231676.38 and Y = 431676.38.

What this estimate leaves out

The formula needs only P, r, and n. A lender’s bill often includes more than those three numbers.

Property tax, homeowners insurance, and PMI are included on the mortgage calculator. A vehicle price minus a down payment and a trade-in is on the auto loan calculator. Both pages use this amortization formula for principal and interest.

Use the result to see how amount, rate, and term move the principal-and-interest payment. Compare it with a lender’s disclosure before you treat any figure as the amount you would pay.

Loan calculator FAQ

How is the monthly payment calculated?
For a positive rate, payment = P × r / (1 − (1 + r) to the power of −n). P is the loan amount, r is the annual percent divided by 100 and then by 12, and n is years times 12. A $10,000 loan at 5% for 5 years shows Monthly payment: $188.71 | Total interest: $1322.74 | Total paid: $11322.74.

Does this calculator include fees or taxes?
No. The loan calculator only includes principal and interest, not fees, taxes, or insurance.

Does this calculator assume a fixed interest rate?
Yes. One rate is used for every payment in the term. The calculator does not model a rate that changes.

What if the interest rate is zero?
The monthly payment is the loan amount divided by the number of months, and total interest is $0.00. A $10,000 loan at 0% for 5 years shows Monthly payment: $166.67 | Total interest: $0.00 | Total paid: $10000.00.

Why might a lender’s payment differ from this result?
A lender can add fees, insurance, or taxes, round each payment to the cent before multiplying, or use a different day count. This page rounds the full-precision formula result to cents. For the $10,000 example, 188.71 times 60 is 11322.60, while the calculator’s total paid is $11322.74.

Can I use this for a mortgage or a car loan?
For principal and interest only, yes. Use the mortgage calculator when the payment should also include property tax, homeowners insurance, and PMI. Use the auto loan calculator when the amount financed is a vehicle price minus a down payment and a trade-in. A 30-year term is 30 in the years field. The result is still an estimate, not a lending decision.

Does an extra payment change the result?
Not on this page. It assumes the same payment every month and no extra principal. The extra payment calculator rebuilds the payoff when you add the same principal amount every month.

Finance calculators

Financial note

This result is an estimate, not financial, tax, or lending advice. It is the principal-and-interest figure from the amount, annual rate, and term you enter.

By Gino Flores Updated