Skip to main content

Loan Term Calculator from Monthly Repayment

Works out how many months a loan takes to repay, based on the monthly repayment your budget can cover. Covers mortgages, personal loans and car finance.

A loan at a nominal annual interest rate of 6%, with a monthly repayment equal to 1.2% of the amount borrowed, takes about 108 months, or nine years, to repay. This calculator works the other way round from most loan tools: you start from the monthly repayment your budget can cover, and it tells you how long the debt will last.

Most loan tools start from the amount and the term and return the repayment. That is the right direction when you are choosing a loan, but many households already know what they can afford each month before they know how much they want to borrow. In that situation the useful question is how many months the repayments will take, and how the answer changes if the rate or the repayment changes. A small change in the monthly repayment can shorten a long loan by a noticeable amount, which is why the answer is worth checking before you commit.

The calculator works for loans repaid in equal monthly instalments, including mortgages, personal loans and car finance. Each has different typical terms and different rates, so the same monthly figure can lead to very different timescales. A personal loan over a few years and a long mortgage can share the same repayment while costing very different amounts in total interest. For that reason the result shows the term in months and years, the total repaid and the total interest paid, not only the number of months.

The result is an estimate. It assumes a fixed interest rate, a repayment that stays the same each month, and no fees, insurance or early repayment charges. Variable-rate deals, which move with reference rates such as Bank Rate or SONIA, will produce a different term as rates change. The rest of this page explains how the figure is calculated, where the assumptions break down, and which figures to take from your own loan offer.

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

The result updates automatically.

Total amount of the loan to take out

The amount your household budget allows you to pay each month

The interest rate on the agreement, excluding fees or insurance

Estimated term

371 months

30 years and 11 months

Total payable
£278,250
Total interest
£128,250
Share

How it works

1

Enter the total amount borrowed in the Capital field.

2

Enter the monthly repayment your budget can cover.

3

Enter the nominal annual interest rate (NIR) shown in your loan agreement.

Formula

n = ln(P / (P − C × r)) / ln(1 + r) where r = NIR / 1200
n — Number of monthly repayments, which is the loan term in months (term in years × 12)
P — Monthly repayment
C — Capital, the total amount borrowed
r — Monthly interest rate, equal to NIR divided by 1200
NIR — Nominal annual interest rate, as a percentage (the contract rate before fees, not the APR)

How the calculation works

How the loan term is worked out from the repayment

Most loan calculators solve for the repayment, given the amount, the rate and the term. This one solves the reverse problem. The household budget fixes the monthly repayment, and the unknown is the number of months needed to clear the balance. The reverse question is common in practice. People often know what they can afford each month long before they have settled on the amount or the length of the loan, and the term that follows from that repayment is often the most useful figure in the decision.

The model behind the calculator is the standard repayment loan, also called an annuity or capital-and-interest loan. Repayments are equal each month for the whole term, but their internal split changes over time. Early on, most of each repayment is interest on the outstanding balance. Later, most of it reduces the capital. The calculator assumes this structure. It is a common basis for repayment mortgages in the UK, and many personal loans and hire purchase car finance agreements follow the same pattern, but the exact terms are always set out in the agreement itself.

The formula

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

The expression comes from the present value formula for an annuity. The capital C is set equal to the present value of n equal repayments of P at the monthly rate r, and the equation is then solved for n. The natural logarithm turns the exponent into a term that can be isolated, which is why the solution can be written in closed form. The NIR is divided by 1200 rather than 100 because it is an annual percentage and r is a monthly decimal rate. Dividing by 100 converts the percentage into a decimal, and dividing by 12 converts an annual rate into a monthly one.

Edge cases

Three limits need attention. First, when the NIR is zero, the interest term disappears and the formula reduces to n = C / P. The capital is simply divided by the repayment, with no discounting. Second, the argument of the logarithm must be positive, which means the repayment must be greater than C × r, the interest charged in the first month. If the repayment is equal to or less than that figure, the balance never falls and the term is infinite. At a rate of 6% a year the monthly rate is 0.5%, so the repayment must be above 0.5% of the amount borrowed. Third, a term of one month is possible only when the repayment equals the capital plus one month of interest, that is P = C × (1 + r). A zero capital gives a term of zero, and a negative amount has no meaning for a loan and should be rejected as an input.

Typical terms by type of credit

Terms vary a great deal by type of credit, and the ranges are set by lenders rather than by a single legal rule. Mortgage terms are the longest, often many years, and lenders limit them by the borrower's age at the end of the term and by affordability. Personal loans are usually arranged over a shorter period, commonly a few years. Car finance agreements also tend to be shorter, and lenders often match the term to how long the buyer expects to keep the vehicle. Check the term in your own offer, because it is the single biggest driver of the total cost.

The effect of the term works in both directions. A longer term reduces the repayment, which may be what makes a loan affordable, but it increases the total interest paid over the life of the agreement. The share of interest in the total repaid is largest when the term is long. In the early years a larger part of each repayment goes to interest rather than to reducing the capital, so the balance falls slowly at first.

Nominal rate and APR

The calculator uses the nominal annual interest rate, shown as NIR, which is the rate charged on the balance before fees. The APR, or annual percentage rate, includes most compulsory fees and charges, so it is higher than the nominal rate where fees apply. UK lenders must quote a representative APR in their advertising and offers, or an APRC for mortgages, and the Financial Conduct Authority sets the disclosure rules in the FCA Handbook. The APR is the right figure for comparing the total cost of two offers, but it is not the right input for this formula. Entering the APR in place of the nominal rate raises the monthly rate used in the calculation and therefore lengthens the estimated term.

Affordability and the repayment you can sustain

The calculator shows what a given repayment implies for the term. It does not decide whether a lender will approve the loan. Lenders assess affordability by looking at income, existing commitments and household spending, and they may test how the borrower would cope if interest rates rose. For mortgages, the affordability rules are set out in the Mortgages and Home Finance: Conduct of Business sourcebook (MCOB) of the FCA Handbook. For other consumer credit, the creditworthiness rules are set out in the Consumer Credit sourcebook (CONC). A repayment that the formula handles without difficulty may still be refused if it does not pass the lender's assessment. Conversely, a repayment that looks comfortable on paper can be stretched by a change in income or by other debts, so it is sensible to leave a margin.

Variable rates

The calculator assumes one fixed rate for the whole term. Many variable-rate products move with a reference rate. In the UK that reference is commonly Bank Rate, which the Bank of England sets, or a rate linked to SONIA, the Sterling Overnight Index Average, which the Bank of England also publishes. When the rate changes, the repayment or the term changes with it, so the result is valid only at the rate entered. For a variable rate, the most useful approach is a sensitivity check: run the calculator at the current rate and again at a higher rate, and compare the two terms.

Overpayments and early repayment

Paying more than the scheduled repayment shortens the term. Because the extra money reduces the capital directly, the effect is larger when the overpayment is made early, while the balance is still high. The calculator can show the new term if you enter a higher repayment. Many lenders apply early repayment charges to overpayments above a set limit, or to full early settlement during a fixed period, and those charges are not included here. Check the terms of your agreement before making overpayments.

When to use this calculator, and when not to

Use the calculator to compare budgets, to see how much a longer or shorter term changes the timescale, or to test the effect of a small change in the repayment. Do not treat the result as a final quote. The calculator does not model interest-only mortgages, where the repayment covers only the interest for part or all of the term and the balance does not fall in the same way. It also does not model credit card balances, where the minimum payment changes as the balance falls, nor payment holidays, arrangement fees or insurance premiums.

Common mistakes

  • Entering the rate as a decimal. The NIR must be entered as a percentage, so 6 for 6%, not 0.06.
  • Using the APR instead of the nominal rate, as explained above.
  • Including insurance or fees in the monthly repayment. The formula assumes the repayment covers only capital and interest.
  • Mixing up months and years. The result is in months, so multiply a term given in years by 12 before comparing.
  • Treating a variable-rate result as fixed. The term will change whenever the reference rate changes.

Reference sources

The rules for mortgages are in the Mortgages and Home Finance: Conduct of Business sourcebook (MCOB), and the rules for other consumer credit are in the Consumer Credit sourcebook (CONC). Both are part of the FCA Handbook, published at https://www.handbook.fca.org.uk/. The Bank of England publishes Bank Rate and SONIA at https://www.bankofengland.co.uk/. MoneyHelper, run by the Money and Pensions Service, gives free, impartial guidance on borrowing at https://www.moneyhelper.org.uk/. Firms and individuals authorised by the Financial Conduct Authority are listed on the FCA Register at https://register.fca.org.uk/. If a dispute with a lender cannot be resolved directly, the Financial Ombudsman Service, at https://www.financial-ombudsman.org.uk/, handles complaints about financial firms.

Frequently asked questions

What happens if the monthly repayment I enter is too low?

If the repayment is equal to or lower than the interest charged in the first month (the capital multiplied by the monthly rate), the balance never falls. The interest equals or exceeds the payment, so the loan is never repaid, and the calculator flags this case instead of giving a term. For a finite term, the repayment must be strictly higher than that threshold. At a rate of 6% a year the threshold is 0.5% of the amount borrowed, so a repayment of 0.4% of the amount would never clear the loan.

How long can a mortgage term be in the UK?

There is no single fixed maximum term for every UK mortgage. Each lender sets its own limits, and these usually depend on the borrower's age at the end of the term and on affordability. Terms commonly run for many years, and a longer term lowers the repayment while increasing the total interest. The affordability rules that mortgage lenders must apply are set out in the Mortgages and Home Finance: Conduct of Business sourcebook (MCOB) of the FCA Handbook. Check your offer, or ask a mortgage adviser, for the maximum term that applies to you.

Can I use this calculator for personal loans or car finance?

Yes. The formula applies to any loan repaid in equal monthly repayments, including mortgages, personal loans and car finance. What changes is the interest rate and the typical term for each type of credit. Personal loans are usually arranged over a shorter period than mortgages, and car finance agreements also tend to be shorter. Enter the capital, the monthly repayment and the nominal annual interest rate from your own agreement. Interest-only loans and credit card balances work differently and are not covered by this calculator.

What is the difference between the nominal rate and the APR, and which should I use here?

The nominal annual interest rate (NIR) is the rate charged on the balance, before fees. The APR, the annual percentage rate, adds most compulsory fees and charges, so it gives a higher figure where fees apply. Use the nominal rate in this calculator, because the formula models interest and repayments only. Use the APR when comparing the total cost of different offers. UK lenders must quote a representative APR in advertising and offers under the rules in the FCA Handbook, or an APRC for mortgages. Entering the APR here gives a term that is longer than the loan will actually take.

Does the term change much if I pay a little more each month?

Yes, and the effect is not symmetrical. When the repayment is close to the minimum that can clear the loan, a small increase shortens the term a great deal. As the repayment rises and moves further from that minimum, each further increase shortens the term by less. An extra payment early in a long loan has a larger effect than the same extra payment near the end, because more of the balance is still outstanding. Check the figures with the calculator, and confirm with your lender whether overpayments carry any charges.

When should I speak to a professional about the loan term?

Speak to a professional when the borrowing has a significant effect on your household budget, for example with a mortgage, a debt consolidation or a refinancing. An adviser authorised by the Financial Conduct Authority can compare offers from different lenders, look at how different terms affect affordability, and explain the options. Authorised firms and individuals are listed on the FCA Register at https://register.fca.org.uk/. MoneyHelper also offers free, impartial guidance on borrowing.

Related calculators

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

This calculator provides an estimate for information only and is not financial advice. Actual figures depend on each lender's terms, the interest rate that applies, any fees and your personal circumstances. For significant borrowing decisions, speak to an adviser authorised by the Financial Conduct Authority or to your lender.