Skip to main content

Loan Term Calculator by Monthly Payment

Calculates how many months a loan takes to repay from the monthly payment your budget can support. Works for mortgages, personal and auto loans.

A loan with a 6% nominal rate, repaid with a monthly payment equal to 0.6% of the amount borrowed, takes about 359 months to clear, or roughly 30 years. Raise that payment to 1% of the amount borrowed and the same loan is repaid in about 139 months, just under 12 years. This calculator runs in the opposite direction to most US loan tools: you enter the payment your budget can carry, and it returns the term.

Most loan calculators start from the amount and the term and return the monthly payment. Many households, though, begin with the figure they can afford each month, whether the loan is a mortgage, a personal loan or an auto loan. Knowing how long that payment takes to clear the balance shows whether the loan fits the budget and how much interest it will cost over its life.

The calculation assumes a fixed rate and level payments, the standard fully amortizing schedule used for most fixed-rate mortgages, personal loans and auto loans. Each payment covers the interest that built up since the previous payment, and the rest reduces the principal. Early payments therefore go mostly to interest, and late payments go almost entirely to principal.

One condition matters above all. The payment must be higher than the interest charged in the first month, which is the principal multiplied by the monthly rate. At 6%, that threshold is 0.5% of the amount borrowed. At or below it, the balance never falls and the loan has no payoff date, so the calculator flags the case instead of returning a term.

Take the principal, the monthly payment and the nominal annual rate from the loan documents. Use the nominal rate printed in the contract, not the APR. The APR includes certain fees and is designed for comparing offers, so it does not drive the payoff schedule.

The explanation below uses US units; the calculator works in either system.

The result updates automatically.

Total amount of the loan to be taken out

Amount your household budget allows you to pay per month

The contract's interest rate, not including fees or insurance

Estimated term

371 months

30 years and 11 months

Total amount paid
$278,250
Total interest
$128,250
Share

How it works

1

Enter the principal, meaning the amount borrowed.

2

Enter the monthly payment your budget can support.

3

Enter the nominal annual rate from the loan contract, not the APR.

Formula

n = ln(P / (P − C × r)) / ln(1 + r) where r = NR / 1200
n — Number of monthly payments, which is the term in months (term in years × 12)
P — Monthly payment, the fixed amount paid each month
C — Principal, the amount borrowed
r — Monthly interest rate as a decimal, equal to NR / 1200
NR — Nominal annual interest rate in percent, as stated in the loan contract (not the APR)

How the calculation works

How the payoff term is calculated from the monthly payment

Most loan calculators in the United States start from the amount borrowed and the term, and return the monthly payment. This calculator reverses that problem. A household usually knows which payment its budget can carry, and the question is how many months the loan will take to repay.

The model is the fully amortizing loan with level payments. Under this schedule the payment stays the same every month, but its composition changes. Each payment covers the interest accrued since the previous one, and the remainder reduces the principal. Early in the loan most of the payment is interest, and near the end almost all of it reduces the balance. The same schedule underlies most fixed-rate mortgages, personal loans and auto loans.

The formula for the term

Solving the level-payment annuity equation for the number of periods gives:

n = ln(P / (P − C × r)) / ln(1 + r), where r = NR / 1200

Here n is the number of monthly payments, P is the monthly payment, C is the principal, r is the monthly rate and NR is the nominal annual rate in percent. Dividing NR by 1200 converts an annual percentage into a monthly decimal, because 12 months multiplied by 100 percent gives 1200.

The formula is a rearrangement of the present value of an annuity. The ratio P / (P − C × r) is greater than 1 whenever the payment exceeds the first month's interest, so its logarithm is positive. The denominator, ln(1 + r), is positive for any positive rate, so the quotient gives a positive number of periods. Because the result is a count of payments, the calculator reports it in months and converts it to years by dividing by 12.

Reading the results

The calculator reports three figures. The term is n in months, with the equivalent in years. The total paid equals P multiplied by n. The total interest equals the total paid minus the principal, C. For the 0.6% payment example in the introduction, the total paid is about 215.5% of the principal, so the total interest is about 115.5% of the amount borrowed. For the 1% payment, the total paid is about 139% of the principal and the total interest is about 39%. The comparison shows how strongly the term and the interest cost depend on the size of the payment.

The payment threshold

The payment must be strictly greater than C × r, which is the interest charged in the first month. At a 6% nominal rate the monthly rate is 0.5%, so the threshold is 0.5% of the principal. A payment at or below that level never reduces the balance, and no payoff date exists. Just above the threshold, the term rises very quickly, which is why a payment that looks affordable can still fail to repay the loan.

Edge cases

  • With a zero rate, the interest term disappears and the limit of the formula is n = C / P, so a payment of 1% of the principal repays the loan in 100 months.
  • A term of one period, n = 1, occurs only when the payment equals the principal plus one month's interest, which means the loan is repaid with a single payment.
  • A zero principal gives a term of zero because no payment is needed, and a negative principal has no meaning for a loan, so the calculator rejects it.
  • A payment equal to the threshold makes the denominator zero, and a payment below it makes the logarithm argument negative, so both cases have no finite term.

Typical terms in the United States

The sensible term depends on the type of credit. Fifteen-year and thirty-year fixed-rate terms are the most common choices for home mortgages, but the term a lender offers depends on its own criteria and on the rules of the loan program, and there is no single federal maximum for home loan terms. Personal loans are usually repaid over a few years, while auto loans commonly run for several years, and longer auto terms lower the payment but raise the total interest.

A longer term lowers the monthly payment, but it extends the period over which interest accrues, so interest takes a larger share of the total payments. A shorter term has the opposite effect. This is why two loans with the same principal and rate can carry very different total costs when their payments differ.

Nominal rate, APR and the disclosure box

The rate in the formula is the nominal rate that the contract applies to the balance each month. The APR, the annual percentage rate defined under Regulation Z of the Truth in Lending Act (12 CFR part 1026), expresses the cost of credit including certain fees and finance charges spread over the term. It is generally higher than the nominal rate when fees apply, and close to it when they do not. Regulation Z requires lenders to disclose the APR, the finance charge and the total of payments in a standard disclosure box in the loan contract.

For mortgages, the Loan Estimate and the Closing Disclosure, the forms set by the Consumer Financial Protection Bureau (CFPB) under the integrated mortgage disclosure rules, show both the interest rate and the APR. Use the nominal rate in this calculator, and use the APR to compare offers from different lenders.

Adjustable rates

Adjustable-rate loans are usually indexed to benchmark rates such as SOFR (the Secured Overnight Financing Rate) or the prime rate, with a margin added by the lender. The payment resets periodically as the index moves, and contract caps limit how far it can change. The calculator assumes one constant rate, so for an adjustable loan it gives the term at the current rate only. After each adjustment, recalculate using the remaining balance and the new rate to see how the remaining term changes.

When to use this calculator

Use the calculator to test whether a payment your budget supports leads to a term you can accept, or to compare how long different payments take to repay the same loan. It fits fully amortizing loans with level payments and a fixed rate. It does not fit loans with balloon payments, interest-only periods, irregular payments, or adjustable rates over the whole term. For these, the schedule issued by the lender is the reliable source.

Common mistakes

  • Entering the APR instead of the nominal rate, which produces a result that does not match the loan schedule.
  • Entering the annual rate as a monthly rate, which produces a term far from the real schedule.
  • Using a total mortgage payment that includes property taxes and insurance held in escrow, because the formula covers only principal and interest.
  • Setting the payment just above the threshold and treating the resulting term as a firm plan, since small changes in the payment move the term a great deal.

Lending decisions and professional review

Mathematical feasibility is not the same as approval. Lenders assess the borrower's ability to repay under the ability-to-repay rule set by the CFPB, which considers income, debts and the debt-to-income ratio, so a payment that the formula allows may still be declined. Where the loan takes up a large share of household income, a licensed loan officer or a housing counselor approved by the Department of Housing and Urban Development (HUD) can compare offers and show how different terms change the total cost. The CFPB publishes consumer guides that explain the disclosures in a loan offer.

Frequently asked questions

What happens if the monthly payment is too low?

If the monthly payment is equal to or less than the interest charged in the first month (the principal multiplied by the monthly rate), the loan never pays off. The interest equals or exceeds the payment, and the balance does not decrease. The calculator flags this case with an error message. For a finite term, the payment must be strictly greater than that threshold, so check the first month's interest before relying on any result.

What is the maximum term for a home mortgage in the United States?

There is no single federal maximum term for home loans. Each lender sets its own terms, and government loan programs, such as FHA-insured loans administered within the Department of Housing and Urban Development (HUD), follow their own guidelines. Fifteen-year and thirty-year fixed-rate terms are the most common choices. Check the term on the Loan Estimate, the standard form that the Consumer Financial Protection Bureau (CFPB) requires mortgage lenders to provide, before comparing offers.

Can I use this calculator for a personal loan or an auto loan?

Yes. The formula applies to any fully amortizing loan with level payments, which covers most personal loans and auto loans as well as home mortgages. What changes is the rate and the usual term: personal loans are generally repaid over a shorter period than mortgages, and auto loans commonly run for several years. Enter the principal, the monthly payment and the nominal rate from the loan contract. Loans with balloon payments, interest-only periods or irregular payments need a schedule from the lender.

What is the difference between the nominal rate and the APR, and which one should I enter?

The nominal rate is the interest rate charged on the balance, and it drives the payoff formula. The APR, the annual percentage rate defined under Regulation Z of the Truth in Lending Act, adds certain fees and finance charges to the cost of the loan, so it is generally higher than the nominal rate when fees apply. Enter the nominal rate in this calculator. Use the APR to compare offers from different lenders, since the Truth in Lending disclosure box shows it.

Does the calculated term change if the payment goes up a little?

Yes, and the effect is uneven. When the payment is close to the first-month interest threshold, a small increase shortens the term a great deal. As the payment moves further from the threshold, each additional increase shortens the term by less. The calculator assumes one payment amount for the whole loan. If you plan to pay more from a certain date, or make lump-sum payments, recalculate using the remaining balance and the new payment to estimate the new term.

When should I speak to a professional before choosing a loan term?

Any decision that commits a large share of household income deserves a professional review. A licensed loan officer or a housing counselor approved by HUD can compare offers from several lenders, show how different terms change the debt-to-income ratio, and explain the trade-off between a lower payment and a higher total interest cost. HUD publishes a list of approved housing counseling agencies. The CFPB publishes consumer guides that help you read a loan offer before you sign.

Related calculators

By RivoCalc · Reviewed under our editorial methodology · Updated July 28, 2026

This calculator provides an estimate for informational purposes only and is not financial advice. Actual payments and terms depend on the loan contract, the lender's criteria and your financial situation. For borrowing decisions, consult a licensed loan officer or your lender before you sign.