Back to the app: Offline loan calculator

How a loan payment is calculated, with a worked example

A fixed-rate loan is repaid in equal monthly payments. Each payment covers that month’s interest first, and what is left reduces the amount you still owe. This page shows the formula and one full example you can check by hand.

The formula

With

the monthly payment (also called EMI) is:

payment = P × r × (1 + r)^n / ((1 + r)^n − 1)

If the loan has no interest (r = 0) the formula does not apply: the payment is simply P ÷ n.

Worked example: 10,000 at 12% for 1 year

P = 10,000, r = 12% ÷ 12 = 0.01, n = 12.

  1. (1 + r)^n = 1.01^12 = 1.126825
  2. Numerator: 10,000 × 0.01 × 1.126825 = 112.6825
  3. Denominator: 1.126825 − 1 = 0.126825
  4. Payment: 112.6825 ÷ 0.126825 = 888.49 (rounded to the cent)

Over 12 months you pay 888.49 × 12 = 10,661.86, so the total interest is 661.86.

Where each payment goes

The interest part of a payment is the remaining balance times r. The rest of the payment repays principal.

Month Payment Interest Principal Balance after
1 888.49 100.00 788.49 9,211.51
2 888.49 92.12 796.37 8,415.14
3 888.49 84.15 804.34 7,610.80

Month 1 interest is 10,000 × 0.01 = 100.00. Month 2 is 9,211.51 × 0.01 = 92.12. Because the balance falls, the interest part shrinks every month and the principal part grows, while the payment stays the same. This table of every month is called an amortization schedule.

Rounding

Lenders round each payment to the cent, so the last payment is adjusted by a few cents to leave a balance of exactly 0.00. The figures here are the plain formula; a lender’s offer can differ by fees, insurance or a different way of counting days.

Check it on your phone

Loan Calculator does this arithmetic offline and prints the whole schedule for any amount, rate and term.

Loan Calculator - Offline EMI

Type the amount, the yearly interest rate and the term. The monthly payment, the total interest and the full month-by-month schedule appear as you type, with no connection and no sign-up.

In closed testing. Not yet on Google Play.

Try it on your phone: Offline loan calculator