Loan calculator

Enter an amount, a yearly rate and a term to get the monthly payment (EMI), the total interest, the total paid and the time to pay it off. Add an extra monthly payment to see the interest and months it saves. The full schedule is on the page and downloads as CSV. Everything is calculated in this browser.

Loan calculator

How to work out a loan payment

  1. Type the Loan amount and the Interest rate per year as a percent, for example 20000 and 5.
  2. Type the Loan term and choose years or months. The page starts on years, and 1.5 years is read as 18 months.
  3. Optional: type an Extra payment every month
  4. Read the results and the Read as line under them, then the schedule. Download schedule as CSV saves it.

What the numbers mean

The page assumes a fixed rate and equal monthly payments, with each month's interest worked out on the balance as rate ÷ 12. EMI (equated monthly instalment) and loan payment mean the same thing here. Once amount, rate and term are filled in you get the payment, total interest, total paid and the time to pay off.

20,000 at 5 % for 60 months gave a payment of 377.42, total interest of 2,645.48 and 22,645.48 paid.

Checked against Python and a spreadsheet

We typed 11 loans into the page and compared them with an exact Python schedule. Payment, total interest, total paid and row count matched to the cent for 10. The 11th, 999,999,999,999 over 30 years, was 0.03 off in total interest and 0.04 off in the last payment. A grid of 144 more loans had none off by more than a cent.

LibreOffice 24.2.7.2 gave the same payment and total interest for five loans with PMT and CUMIPMT. We did not run Excel.

Why totals differ between sites

The schedule runs on unrounded numbers and only the display is rounded. The total is the sum of the true interest, so it equals CUMIPMT: 2,645.48 for the 20,000 loan. Multiplying the rounded payment gives 377.42 × 60 - 20,000 = 2,645.20.

The table shows each row rounded, so its cells do not always add up to the total. For the 60-month loan the interest column adds to 2,645.50, 2 cents above. For 600 months at 4.25 % it adds to 141,444.83 against 141,444.95, 12 cents below. The last payment is cut to what is still owed.

Extra payment

An extra amount is added to every payment from month 1. 20,000 at 5 % for 60 months with 100 extra took 47 payments, paid off after 3 y 11 mo, saved 620.08 in interest and finished 1 y 1 mo sooner. 200,000 at 6.5 % for 30 years with 200 extra saved 90,076.78 and 9 y 2 mo.

An extra larger than the balance ends the loan in one payment: 30,000 extra on the 20,000 loan was a single payment of 20,083.33. With the extra empty or 0, the saving figures are not shown. You cannot start later or pay a lump sum.

The CSV and the chart

Download schedule as CSV saves loan-schedule.csv with Month, Payment, Principal, Interest and Balance. It has a byte order mark, CRLF line endings, a point as the decimal mark and no thousands separators. The row count equalled the months in four runs (60, 279, 12, 600). LibreOffice opened the 60-month file with 5 columns and numbers as numbers. We did not open it in Excel.

The chart box is off by default. Ticking it loads Chart.js 4.6.1 once from cdn.jsdelivr.net, with no number in the address, and plots the balance and the interest paid so far. If the library cannot load, a note appears and the results stay. The sandbox has no CDN access, so the test served a local copy.

Limits and how numbers are read

The amount can be above 0 up to 1,000,000,000,000, the rate 0 to 100 % (0 and 100 both work) and the term 1 to 600 months, or 50 years, in whole months: 1.5 months and 50.01 years are refused, while 1.5 years is 18 months. An amount over the limit gets the message that it must be more than 0, and an extra over the limit that it must be 0 or more. Neither mentions the upper limit.

A point is always the decimal mark, so 250.000 is read as 250, not 250,000, and the payment shows 1.75. Check the Read as line. Empty fields give no result and no error. There are no fees, insurance, taxes or variable rates, and a lender may round differently. This is an estimate, not financial advice.

Where your numbers go

We blocked outside connections and typed an amount of 7654321, a rate of 8.7654 and an extra of 123.45, then pressed the CSV button. Of 12 requests, 2 went to outside scripts (the Google ad script and tag), which we blocked, so we cannot say what they send. No request carried a body or any value, and localStorage and sessionStorage held no keys.

Other tools

Use the percentage calculator for percent change, the age calculator for dates and the download time calculator for file transfers.

Typed amount and how it was read

Each text was typed into Loan amount with 7.5 % and 360 months. Test runs of the page in headless Chromium 158.
You typeRead asMonthly payment
250000250,000.001,748.04
250,000250,000.001,748.04
250.000250.001.75
1.234,561,234.568.63
٢٥٠٠٠٠250,000.001,748.04
$250000refusednone

Prefer desktop software?

In Excel or LibreOffice, with the rate in A2 as a percent, the months in B2 and the amount in C2, =-PMT(A2/1200,B2,C2) gives the payment and =-CUMIPMT(A2/1200,B2,C2,1,B2,0) the total interest. We ran both in LibreOffice 24.2.7.2 for five loans, rounded to the cent, and they matched this page. We did not run Excel.

Frequently asked questions

How do I calculate a monthly loan payment?

With r as the yearly rate ÷ 12 ÷ 100 and n as the months, the payment is amount × r ÷ (1 - (1 + r)^-n). 20,000 at 5 % for 60 months gives 377.42.

How much does an extra payment save?

On 20,000 at 5 % for 60 months, 100 extra every month saves 620.08 in interest and ends the loan 13 months early, after 47 payments.

Why does my lender's total interest differ?

Rounding is the usual cause. The rounded payment times the months gives 2,645.20 for the 20,000 loan, while the unrounded sum, which CUMIPMT also gives in LibreOffice, is 2,645.48.

Is my data sent anywhere?

No. The schedule is built in your browser, and our network test saw no request that carried the amount, rate or extra payment.