calculate-loan

01 Loan payments

Monthly Payment Equation: Formula and Calculator

Calculator No. 01-1662 · 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.

The monthly payment equation for a fixed-rate, fully amortizing loan is M = P × r ÷ [1 − (1 + r)−n], where P is the amount borrowed, r is the monthly interest rate, and n is the number of monthly payments. Enter a loan amount, annual percentage rate (APR), and term below to estimate the monthly principal-and-interest payment and total interest.

Formula

The level-payment equation calculates a payment that, under its assumptions, pays interest due each month and gradually repays the principal by the end of the term:

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

  • M is the monthly payment in dollars, excluding charges that are not included in the loan payment calculation.
  • P is the starting loan principal in dollars.
  • r is the monthly interest rate as a decimal. For APR entered as a percentage per year, this calculator uses r = APR ÷ 1,200.
  • n is the number of monthly payments, calculated here as loan term in years × 12.

The formula requires a positive periodic interest rate. This calculator’s APR input therefore starts at 0.01%. A zero-interest loan has a simpler payment calculation, P ÷ n, and is not represented by this particular formula. The second output estimates total interest as the rounded monthly payment multiplied by the number of payments, minus the original principal.

Worked Example

Using the calculator’s default inputs—$20,000 principal, 8% APR, and a 5-year term—the term gives n = 5 × 12 = 60 monthly payments. The monthly rate is r = 8 ÷ 1,200 = 0.0066667, approximately.

  1. Substitute the values: M = 20,000 × 0.0066667 ÷ [1 − (1 + 0.0066667)−60].
  2. Evaluate the denominator: 1 − (1.0066667)−60 ≈ 0.3289.
  3. Divide: M ≈ 133.3333 ÷ 0.3289 ≈ $405.53 per month, rounded to the nearest cent.
  4. Calculate total interest using the displayed rounded payment: ($405.53 × 60) − $20,000 = $4,331.80.

The arithmetic gives an estimated total of $24,331.80 in payments, of which $4,331.80 is interest under the model. The last payment on an actual loan can differ slightly because lenders may calculate interest and adjust payment schedules using their own precise dates and rounding practices.

Assumptions

  • The interest rate is fixed for the full term.
  • Payments are level, made monthly, and treated as occurring at the end of each payment period.
  • Interest compounds monthly using the APR divided by 12.
  • The calculation excludes fees, taxes, insurance, PMI, escrow, and other charges because they are not inputs.

How the Monthly Payment Equation Works

Each payment covers the interest accrued since the previous payment, with the remainder reducing the principal. At the beginning, the balance is larger, so more of a level payment goes toward interest. As the principal falls, the interest portion generally shrinks and more of each payment reduces principal. This process is called amortization.

The equation solves for a single payment amount that brings the modeled balance to zero after n periods. It does not simply divide the loan by the number of months, because that would leave out interest. For example, dividing $20,000 by 60 gives $333.33 of principal per month, but it does not cover the modeled interest charges. The payment formula accounts for both principal repayment and interest over time.

When to Use It and How to Read the Result

Use this equation to estimate the principal-and-interest payment for a loan with a fixed rate, regular monthly payments, and a defined payoff term. The output is not necessarily the full amount due each month: a mortgage bill, for example, may include items such as taxes or insurance that this calculator does not model. Similarly, an auto or personal-loan contract may include fees or other terms that change the actual amount paid.

APR, principal, and term each affect the result. Holding the other inputs constant, a larger principal raises the payment; a longer term generally lowers the scheduled payment but means payments continue for more months; and a higher APR raises the payment. The total-interest output depends on both the payment and the number of payments, so a lower monthly amount does not by itself indicate a lower total cost.

For a useful estimate, use the principal, APR, and repayment period shown in the lender’s loan disclosures or quote. APR is entered as a percentage per year—not as a decimal—so enter 8 for 8%, rather than 0.08. The calculator converts it to a monthly decimal rate internally. If a loan has a variable rate, changing payment schedule, irregular payment dates, or interest-only period, this fixed-payment equation will not describe every stage of the loan.

Common Errors and Limits

  • Mixing annual and monthly rates: The formula needs a monthly decimal rate. Dividing APR by 12 gives a monthly percentage; dividing by 1,200 converts the entered percentage to a decimal monthly rate.
  • Entering a term in the wrong unit: This calculator asks for years, then multiplies by 12. If you have a term in months, convert it to years before entering it.
  • Treating the payment as the whole bill: The result covers modeled principal and interest only, not excluded expenses or lender charges.
  • Assuming displayed rounding is exact contract arithmetic: The calculator rounds the payment to cents and uses that rounded amount for the total-interest estimate. Actual schedules may use different rounding or have a slightly adjusted final payment.

The equation is not a complete loan quote, approval assessment, or budget calculation. It does not establish what a borrower may qualify for or what payment is manageable. Use the lender’s stated figures for the actual loan terms, and account separately for any costs outside principal and interest.

Frequently Asked Questions

What is the monthly payment equation?
The standard fixed-rate equation is M = P × r ÷ [1 − (1 + r)−n]. P is principal, r is the periodic interest rate as a decimal, and n is the number of payments.

How do I convert APR to a monthly rate?
When APR is entered as a percentage per year, divide it by 1,200 to get a monthly decimal rate. For example, 8% APR becomes 8 ÷ 1,200, or about 0.006667 per month.

Does the monthly payment include taxes and insurance?
No. This calculation estimates principal and interest. Taxes, insurance, PMI, escrow, and fees are excluded unless they are separately included in another calculation.

Why does a longer loan term usually lower the monthly payment?
The principal is spread across more payment periods. Because interest accrues over those periods, a longer term can also increase the total interest paid; the monthly figure alone does not show the full cost.

Can I use the equation for a variable-rate loan?
It can estimate a payment for a particular rate and term, but it does not model future rate changes. A changing rate can alter the payment, payoff timing, or total interest.

What happens with a zero-interest loan?
The displayed equation divides by a positive monthly rate and is not intended for a zero rate. For a truly interest-free loan with equal monthly payments, divide principal by the number of payments.

This result is an estimate; 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 →