Skip to content
Investment Math
Investment Math

Currency and number style

Only changes how amounts look. There is no currency conversion.

Loan Repayment explained: formula, worked example and common mistakes

Type what you owe, the rate and the payment, and the page works out the months to clear it, the final payment and the interest in all. Free, no sign-up.

Updated

What the loan repayment calculator works out

How long a balance takes to clear at a fixed monthly payment, and what that costs. You type three figures: the amount owed, the yearly rate, and the payment. The page counts the months, sizes the final payment, and adds up the interest and the total paid.

It answers the question a balance rarely states plainly. A balance of 10,000 at 8 per cent with 250 going in each month has no obvious finish date, because the interest changes every month as the balance falls. The page runs the whole sequence and reports where it ends.

The formula

i  = rate / 12                      the interest rate each month
M1 = balance x i                    interest for the month
N1 = payment - M1                   the part that lowers the balance
balance = balance - N1

The first line turns the yearly rate into a monthly one, using the loan convention the whole site uses for instalment debt: the quoted rate divided by twelve. Each month the interest is charged on the balance as it stands, which is why the interest shrinks as the balance shrinks, and the part of the payment that lowers the balance grows.

The count runs until the balance reaches zero. Whatever is left after the last full payment is the final payment.

A worked example

A balance of 10,000 at 8 per cent with a payment of 250 a month.

i = 8% / 12 = 0.6667%
Month 1: interest = 10,000 x 0.6667% = 66.67
         to the balance = 250 - 66.67 = 183.33
         balance now = 10,000 - 183.33 = 9,816.67
Month 2: interest = 9,816.67 x 0.6667% = 65.44
         to the balance = 250 - 65.44 = 184.56
         balance now = 9,632.11
Months to clear: 47, of which 46 are full payments
Final payment = 169.72
Total paid = (46 x 250) + 169.72 = 11,670
Interest = 11,670 - 10,000 = 1,670

The balance clears in 47 months with a final payment of 169.72. Interest comes to 1,670, and 11,670 is paid in total on the 10,000 owed.

What changes the answer

The payment is the strongest lever. Raising it shortens the count and cuts the interest twice over: every month finishes earlier, and every month while the run lasts carries less interest. The rate works the other way — a higher rate charges more each month, so less of the same payment reaches the balance. The starting balance scales everything: twice the balance at the same payment takes far more than twice the months, because the extra balance also gathers interest of its own.

When to use it, and when not to

Use it for any single fixed-rate balance being cleared by a fixed payment: a loan being repaid ahead of its schedule, a balance being cleared on a plan of your own, or a payment being sized before it starts. The final-payment row matters when the payment has to fit an exact number of months, and the interest row matters when two payment sizes are being compared.

It leaves out fees, insurance, early-settlement terms and anything a creditor might add. It stores no creditor rules and no lender offers: the rate, the balance and the payment are typed from your own paperwork. It also keeps the rate fixed for the whole run, so a rate that can move needs a second run at each rate you might be charged.

Common mistakes people make

1. Setting the payment at or under the first month of interest. The balance then never falls. On 10,000 at 8 per cent the first month of interest is 66.67, so a payment of 66.67 spins in place for ever.

2. Expecting the last payment to be full size. The count stops when the balance is gone, not at a whole number of payments. The final payment here is 169.72, not 250.

3. Guessing the interest from the rate alone. Interest is 1,670 here — about a sixth of the balance — and it depends on every month of the run, not on a rule of thumb.

4. Forgetting the interest sits inside the payment. Of the first payment of 250, 66.67 is interest and 183.33 lowers the balance. By the last months the split has almost reversed.

5. Comparing runs without the totals. A payment that looks easier can cost far more by the end. The page prints the interest and the total so two runs can be read side by side.

6. Typing the rate as a monthly figure. The rate asked for is the yearly one; the page divides by twelve itself.

Frequently asked questions

How are the months counted?

One month at a time. Each month the interest is the balance times the yearly rate divided by twelve, the payment covers that interest first, and the rest lowers the balance. The count stops when the balance reaches zero.

Why is the last payment different in size?

The payments run until the balance is gone, and the balance rarely lands exactly on a full payment. Here 46 payments of 250 leave 169.72 unpaid, so the 47th and last payment is 169.72.

What happens if the payment only covers the interest?

Nothing moves. The first month of interest on 10,000 at 8 per cent is 66.67, so a payment at or below that figure never touches the balance and the count never ends.

What happens if I raise the payment?

The same balance clears sooner and the interest falls, because more of every month goes to the balance from the start. Type a different payment and the page recounts the months.

Does the rate stay fixed for the whole run?

Yes. The page charges the one rate typed on the balance every month. A rate that can change needs a second run at the other rate to compare.

What does the page leave out?

Fees, insurance, early-settlement terms and any rule a creditor adds. The arithmetic runs on the three figures you type and nothing else.

This tool shows math, not advice.

Cite this page

Copy this line into a reference list, a report or a spreadsheet note.

Investment Math Calculator. “Loan Repayment Calculator”. Updated 2026-10-31. https://investmentmathcalculator.com/guides/repayment-calculator/

Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.