calculate-loan

01 Loan payments

Principal and Interest Calculation: Formula and Example

Calculator No. 01-17143 · Updated · Formula and assumptions shown below

Monthly payment $405.53
Total interest
$4,331.67
= Monthly payment × loan term × 12 − loan amount
Loan amount
$20,000
Input
Interest rate (APR)
8 %
Input
You enter
Loan amount ($), Interest rate (APR) (%), Loan term (years)
You get
Monthly payment ($), Total interest ($)
Rounding
2 dp

Estimate for education, not financial advice. The result follows from the numbers you enter and the formula shown. It is not a quote or an offer, and it does not include fees, taxes or insurance unless the calculator asks for them. Ask your lender for the exact figures.

Principal and interest calculation separates the amount borrowed from the cost of borrowing it. This calculator estimates a fixed-rate loan’s monthly payment and total interest; enter the loan amount, annual APR, and term in years to see both results.

Formula

For a fixed-rate loan with equal monthly payments, the payment is calculated using the standard amortization formula:

Payment = P × r ÷ [1 − (1 + r)−n]

  • P is the principal, or original amount borrowed, in dollars.
  • r is the monthly interest rate as a decimal: annual APR ÷ 12 ÷ 100.
  • n is the number of monthly payments: loan term in years × 12.

The calculator’s total-interest formula is total interest = monthly payment × n − P. It uses the payment rounded to cents, as shown. For the inputs above, r is 0.08 ÷ 12, or about 0.0066667, and n is 5 × 12, or 60.

Worked Example

Using the calculator’s default values—$20,000 principal, 8% annual APR, and a five-year term:

  1. Convert APR to a monthly decimal rate: 8 ÷ 1200 = 0.0066667.
  2. Convert the term to months: 5 × 12 = 60.
  3. Substitute into the payment formula: 20,000 × 0.0066667 ÷ [1 − (1 + 0.0066667)−60].
  4. Round the calculated monthly payment to cents: $405.53 per month.
  5. Multiply the rounded payment by 60: $405.53 × 60 = $24,331.80 in scheduled payments.
  6. Subtract principal: $24,331.80 − $20,000 = $4,331.80 total interest.

Assumptions

  • The APR and payment amount stay fixed throughout the term.
  • Payments are made monthly at regular intervals, with the first payment one month after borrowing.
  • Interest is modelled monthly at APR divided by 12.
  • Fees, taxes, insurance, PMI, escrow, late charges, and extra payments are not included.

What Principal and Interest Mean

Principal is the amount of borrowed money that remains to be repaid. At the beginning of a loan, it is generally the amount advanced, though a lender’s stated loan balance can also reflect amounts financed or payments already made. Interest is the borrowing cost calculated on the outstanding balance under the loan’s terms. The monthly payment in this estimate combines repayment of principal with interest.

In an amortizing loan, the interest portion is generally larger earlier because the balance is larger. As payments reduce the balance, less interest accrues in later periods, leaving more of each level payment to reduce principal. The payment itself can stay constant even though its principal-and-interest split changes.

How to Read the Results

The monthly payment is a scheduled principal-and-interest estimate, not necessarily the full amount due on an account. A mortgage payment, for example, may also include escrowed taxes or insurance, while a loan may have fees or other charges. Check the lender’s payment breakdown to identify items that this calculation does not include.

Total interest is the estimated interest paid over all scheduled payments, assuming the loan follows the stated fixed rate and term and payments are made as modelled. It is not the same as the total paid: total scheduled payments include both principal and interest. In the example, $24,331.80 is the payment total; $4,331.80 is interest, and $20,000 is principal.

When This Calculation Applies—and Its Limits

This formula is suited to a fully amortizing loan with a fixed annual rate, equal monthly payments, and no additional borrowing or extra payments. It can help explain how changing the amount, APR, or term changes the calculated payment, but the entered rate and amount are inputs, not predictions about what a lender may offer.

The calculation may not match a loan with a variable rate, irregular payment dates, interest-only periods, a balloon payment, daily interest accrual, or a different compounding convention. Actual lenders may calculate interest and round amounts according to contract terms. The calculator also does not include fees or account for early repayment. Obtain the relevant rate, payment schedule, and charges from the lender’s disclosures before comparing a calculation with an actual account.

Common Calculation Mistakes

  • Using APR as a whole number in the wrong formula: for this formula, 8% becomes 8 ÷ 1200 for a monthly decimal rate, not 8.
  • Confusing years and months: multiply a term in years by 12 to get the number of monthly payments.
  • Using simple interest for an amortizing loan: multiplying principal by APR and years does not model the changing balance and regular principal repayments.
  • Comparing unlike totals: principal plus interest is not necessarily the full cost if fees, insurance, taxes, or other charges apply.
  • Ignoring rounding: this estimate rounds the payment to cents and uses that rounded payment to calculate total interest. A lender’s schedule may differ slightly because of its own rounding and timing.

Frequently Asked Questions

How do I calculate principal and interest on a loan?
For equal monthly payments on a fixed-rate loan, convert annual APR to a monthly decimal rate, calculate the payment with the amortization formula, and subtract principal from total scheduled payments to estimate total interest.

Is principal the same as interest?
No. Principal is borrowed money to be repaid; interest is the borrowing cost. A scheduled payment can contain both, and their proportions change as an amortizing loan balance falls.

Does a monthly payment include only principal and interest?
Not always. This calculator estimates those two components only. The amount actually due may also include fees, insurance, taxes, or other charges, depending on the loan and billing arrangement.

Why does more of a loan payment go to interest at first?
Interest is calculated on the outstanding balance. The balance is usually largest near the start of an amortizing loan, so the interest charged is higher; as principal is repaid, the interest portion generally declines.

Does this formula work for a variable-rate loan?
It provides an estimate for a fixed rate over the entire term. A variable rate can change, so the payment and total interest may change too; this calculator does not model future rate adjustments.

This result is an estimate, and the lender’s disclosure gives the exact figures.

Related

Formula used
in p | Loan amount | $ | 20000 | 1 | 100000000
in apr | Interest rate (APR) | % | 8 | 0.01 | 100
in yrs | Loan term | years | 5 | 0.0833 | 50
out pmt | Monthly payment | $ | p * (apr / 1200) / (1 - (1 + apr / 1200) ^ -(yrs * 12)) | 2
out int | Total interest | $ | pmt * yrs * 12 - p | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard loan formula for this calculation, fixed rate and monthly compounding unless stated, rounded as each result states. Not financial advice; no lender, rate or product is recommended. See formulas and assumptions, the disclaimer or report an error.

More in this section

The whole Loan payments section →