Skip to main content

Number of Payments to Repay a Loan

IntermediateFinance FoundationsAlso known as: how long to pay off a loan, time to repay, solve for n loan, nper

Finds: how long a loan takes to repay.

When to use it: Use it to find how long a loan takes to repay when you choose the payment, for example when you pay more than the minimum on a credit card.

The formula

n\displaystyle n=−ln⁡ ⁣(1−P rPMT)ln⁡(1+r)\displaystyle = \frac{-\ln\!\left(1-\dfrac{P\,r}{PMT}\right)}{\ln(1+r)}

In words: n = -ln(1 − P x r / PMT) / ln(1 + r)

What each symbol means

nNumber of payments neededperiods
PLoan amountmoney
rInterest rate per payment period, as a decimalper period
PMTPayment you make each periodmoney
lnNatural logarithmfunction

Worked example

You owe 10,000 at 12% a year, charged monthly. You pay 200 a month. How many months until the debt is gone?

Rate per period0.12 ÷ 121.0000%
Interest in the first period10,000 × 0.01100
Ratio1 − 100 ÷ 2000.5000
n−ln(0.5) ÷ ln(1 + 0.01)69.66
Years69.6607 ÷ 125.81
The answer

It takes about 69.66 payments, which is 5.81 years.

Want every formula on a few pages?Get the free Cheat Sheet (PDF) →

Calculator

n69.66
Years5.81

Keep going