Payment schedule in Excel: dates, principal, interest and balance for every month
For loans, instalment sales and payment plans. Say the amount, rate, term and first date; you get the full amortization table as an Excel file.
12,000 EUR over 24 months at 7.9% a year, first payment 1 January 202712,000 EUR over 24 months at 7.9% a year, first payment 1 January 2027
r = annual / 12
pmt = P * r / (1 - (1 + r) ** -n)
for k in range(1, n + 1):
d = date(2027, 1, 1) + relativedelta(months=k - 1)
interest = round(bal * r, 2)
principal = round(payment - interest, 2)
bal = round(bal - principal, 2)
ws.write_formula(tr, 3, f"=SUM(D{first}:D{last})", bold)Output
Monthly payment (regular): 542.18 Total paid: 13012.33 Total interest: 1012.33 Final closing balance: 0.0
| No. | Date | Opening | Payment | Principal | Interest | Closing |
|---|---|---|---|---|---|---|
| 1 | 01.01.2027 | 12,000.00 | 542.18 | 463.18 | 79.00 | 11,536.82 |
| 2 | 01.02.2027 | 11,536.82 | 542.18 | 466.23 | 75.95 | 11,070.59 |
| 3 | 01.03.2027 | 11,070.59 | 542.18 | 469.30 | 72.88 | 10,601.29 |
| 4 | 01.04.2027 | 10,601.29 | 542.18 | 472.39 | 69.79 | 10,128.90 |
A real run on made-up data. See what came out:
Try one of these
Car or equipment loan
Fixed monthly payments with the interest of each one.
Use thisInstalment plan
A price split into dated instalments, without interest.
Use thisEarly repayment
See what an extra payment saves.
Use this
What you get
Rounded like a real schedule
Each month is rounded to cents and the last payment closes the balance at zero.
Totals as formulas
The totals row adds the columns in Excel.
Check the terms
Your lender may count days or fees differently: compare with your contract before relying on it.
Questions
Is this the schedule my bank will use?
It is a standard equal-payment calculation. Banks can add fees or count interest by days, so check your contract. This is not financial advice.
Is it free?
Your first analysis is free. After that, each run uses credits, which come with any paid plan or can be added from $5.
What happens to my file?
The code runs in an isolated sandbox with no internet access, and its temporary working files are removed after a short time. The files stay in your own account.