fxExcelReps

← Blog

Loan Amortization Schedule in Excel: PMT, IPMT, PPMT

▶ Watch the video: How Banks Calculate Your Loan Payment (Excel Amortization Schedule) · open on YouTube
📥 Free template — the finished schedule with extra payments, a summary and a chart, ready for your own loan.
Get the Excel template →

A repayment schedule (also called an amortization schedule) shows, month by month, how much of each loan payment goes to interest and how much reduces the principal — and what you still owe after every payment. Banks print one for every mortgage and consumer loan. In Excel you can build it in a few minutes with three financial functions: PMT, IPMT and PPMT.

Every example below is a live sheet: click a cell to see its formula, or change the loan, the rate or the term and watch the schedule recalculate.

What is an annuity loan?

Most mortgages and personal loans are annuity loans: you pay the same amount every month. What changes is the split inside that payment:

  • At the start the balance is high, so most of the payment is interest.
  • Every month the balance falls, the interest falls with it, and a bigger part goes to principal.
  • After the last payment the balance is exactly zero.

Excel's financial functions calculate all three pieces:

Function Returns Syntax
PMT The fixed payment per period PMT(rate, nper, pv)
IPMT The interest part of payment number per IPMT(rate, per, nper, pv)
PPMT The principal part of payment number per PPMT(rate, per, nper, pv)

For every month, IPMT + PPMT = PMT.

Two rules that cause 90% of mistakes. (1) The rate and the number of periods must use the same unit — for monthly payments use annual rate/12 and the number of months. (2) Excel shows money you pay out as negative. A positive loan gives a negative payment, so we put a minus in front of the functions to see positive numbers.

Step 1: the inputs and the monthly payment

Put the inputs at the top, each in its own cell, so you can change them later:

  • B1 — loan amount: 10,000
  • B2 — annual interest rate: 6%
  • B3 — number of monthly payments: 12

The monthly payment is:

=-PMT(B2/12, B3, B1)

B2/12 turns the annual rate into a monthly one, B3 is the number of months and B1 is the loan. The result is $860.66 a month.

Step 2: interest and principal for every month

Below the inputs, make a table with the columns Month, Payment, Interest, Principal, Balance. Row 7 is month 0 — it only holds the starting balance (=B1). From row 8 down:

Column Formula in row 8 What it does
Month 1, 2, 3… Payment number
Payment =$B$4 The same payment every month
Interest =-IPMT($B$2/12, A8, $B$3, $B$1) Interest part of payment A8
Principal =-PPMT($B$2/12, A8, $B$3, $B$1) Principal part of payment A8
Balance =E7-D8 Previous balance minus principal

The dollar signs matter: $B$2, $B$3 and $B$1 are locked, so when you copy the row down only the month (A8 → A9 → A10) changes. Without them, every row would point to the wrong inputs.

Fill the formulas down to month 12 and add totals at the bottom:

{"cells": {"A1": "Loan amount", "B1": 10000, "A2": "Annual rate", "B2": 0.06, "A3": "Months", "B3": 12, "A4": "Monthly payment", "B4": "=-PMT(B2/12,B3,B1)", "A6": "Month", "B6": "Payment", "C6": "Interest", "D6": "Principal", "E6": "Balance", "A7": 0, "E7": "=B1", "A8": 1, "B8": "=$B$4", "C8": "=-IPMT($B$2/12,A8,$B$3,$B$1)", "D8": "=-PPMT($B$2/12,A8,$B$3,$B$1)", "E8": "=E7-D8", "A9": 2, "B9": "=$B$4", "C9": "=-IPMT($B$2/12,A9,$B$3,$B$1)", "D9": "=-PPMT($B$2/12,A9,$B$3,$B$1)", "E9": "=E8-D9", "A10": 3, "B10": "=$B$4", "C10": "=-IPMT($B$2/12,A10,$B$3,$B$1)", "D10": "=-PPMT($B$2/12,A10,$B$3,$B$1)", "E10": "=E9-D10", "A11": 4, "B11": "=$B$4", "C11": "=-IPMT($B$2/12,A11,$B$3,$B$1)", "D11": "=-PPMT($B$2/12,A11,$B$3,$B$1)", "E11": "=E10-D11", "A12": 5, "B12": "=$B$4", "C12": "=-IPMT($B$2/12,A12,$B$3,$B$1)", "D12": "=-PPMT($B$2/12,A12,$B$3,$B$1)", "E12": "=E11-D12", "A13": 6, "B13": "=$B$4", "C13": "=-IPMT($B$2/12,A13,$B$3,$B$1)", "D13": "=-PPMT($B$2/12,A13,$B$3,$B$1)", "E13": "=E12-D13", "A14": 7, "B14": "=$B$4", "C14": "=-IPMT($B$2/12,A14,$B$3,$B$1)", "D14": "=-PPMT($B$2/12,A14,$B$3,$B$1)", "E14": "=E13-D14", "A15": 8, "B15": "=$B$4", "C15": "=-IPMT($B$2/12,A15,$B$3,$B$1)", "D15": "=-PPMT($B$2/12,A15,$B$3,$B$1)", "E15": "=E14-D15", "A16": 9, "B16": "=$B$4", "C16": "=-IPMT($B$2/12,A16,$B$3,$B$1)", "D16": "=-PPMT($B$2/12,A16,$B$3,$B$1)", "E16": "=E15-D16", "A17": 10, "B17": "=$B$4", "C17": "=-IPMT($B$2/12,A17,$B$3,$B$1)", "D17": "=-PPMT($B$2/12,A17,$B$3,$B$1)", "E17": "=E16-D17", "A18": 11, "B18": "=$B$4", "C18": "=-IPMT($B$2/12,A18,$B$3,$B$1)", "D18": "=-PPMT($B$2/12,A18,$B$3,$B$1)", "E18": "=E17-D18", "A19": 12, "B19": "=$B$4", "C19": "=-IPMT($B$2/12,A19,$B$3,$B$1)", "D19": "=-PPMT($B$2/12,A19,$B$3,$B$1)", "E19": "=E18-D19", "A20": "Total", "B20": "=SUM(B8:B19)", "C20": "=SUM(C8:C19)", "D20": "=SUM(D8:D19)", "G6": "Check", "G7": "Principal = loan?", "H7": "=ROUND(D20,2)=B1", "G8": "Last balance", "H8": "=ROUND(E19,2)"}, "formats": {"B1": {"fmt": "currency"}, "B2": {"fmt": "percent", "dec": 1}, "B4": {"fmt": "currency"}, "B7:E20": {"fmt": "currency"}}, "focus": "C8", "note": "Change the rate in B2 or the loan in B1 — the whole schedule recalculates.", "rows": 21}

Look at the result:

  • Month 1: $50.00 interest and $810.66 principal. Month 12: only $4.28 interest.
  • The Principal column adds up to exactly $10,000 — the whole loan is repaid.
  • The last balance is 0.
  • The total interest is $327.97: all payments minus the loan.

These last checks (cells H7 and H8) are worth keeping in every schedule you build. If the principal doesn't add up to the loan, a reference is wrong.

Step 3 (alternative): the same schedule without IPMT and PPMT

You don't strictly need IPMT and PPMT. Interest for a month is simply the previous balance × the monthly rate, and principal is payment − interest:

Column Formula in row 8
Interest =E7*$B$2/12
Principal =B8-C8
Balance =E7-D8

This is how the bank itself calculates it, and it's easy to explain to anyone reading your file. Here is a 6-month version:

{"cells": {"A1": "Loan amount", "B1": 10000, "A2": "Annual rate", "B2": 0.06, "A3": "Months", "B3": 6, "A4": "Monthly payment", "B4": "=-PMT(B2/12,B3,B1)", "A6": "Month", "B6": "Payment", "C6": "Interest", "D6": "Principal", "E6": "Balance", "A7": 0, "E7": "=B1", "A8": 1, "B8": "=$B$4", "C8": "=E7*$B$2/12", "D8": "=B8-C8", "E8": "=E7-D8", "A9": 2, "B9": "=$B$4", "C9": "=E8*$B$2/12", "D9": "=B9-C9", "E9": "=E8-D9", "A10": 3, "B10": "=$B$4", "C10": "=E9*$B$2/12", "D10": "=B10-C10", "E10": "=E9-D10", "A11": 4, "B11": "=$B$4", "C11": "=E10*$B$2/12", "D11": "=B11-C11", "E11": "=E10-D11", "A12": 5, "B12": "=$B$4", "C12": "=E11*$B$2/12", "D12": "=B12-C12", "E12": "=E11-D12", "A13": 6, "B13": "=$B$4", "C13": "=E12*$B$2/12", "D13": "=B13-C13", "E13": "=E12-D13", "A14": "Total", "B14": "=SUM(B8:B13)", "C14": "=SUM(C8:C13)", "D14": "=SUM(D8:D13)"}, "formats": {"B1": {"fmt": "currency"}, "B2": {"fmt": "percent", "dec": 1}, "B4": {"fmt": "currency"}, "B7:E14": {"fmt": "currency"}}, "focus": "C8", "note": "Interest = previous balance × monthly rate. Click C8 to see it.", "rows": 15}

The results are identical to the IPMT/PPMT version. Use this approach when the schedule needs extra features that the functions can't handle — an early repayment in one month, a rate change halfway through, or fees added to the balance. Just add a column for the extra payment and subtract it in the balance formula.

What does a mortgage really cost?

The same three functions answer the questions people actually ask before they sign: how much will I pay each month, how much interest in total, and how much of my first payments is just interest?

{"cells": {"A1": "Loan", "B1": 250000, "A2": "Annual rate", "B2": 0.045, "A3": "Years", "B3": 25, "A5": "Monthly payment", "B5": "=-PMT(B2/12,B3*12,B1)", "A6": "Total paid", "B6": "=B5*B3*12", "A7": "Total interest", "B7": "=B6-B1", "A8": "Interest in month 1", "B8": "=-IPMT(B2/12,1,B3*12,B1)", "A9": "Principal in month 1", "B9": "=-PPMT(B2/12,1,B3*12,B1)", "A10": "Interest in year 1", "B10": "=-SUM(IPMT(B2/12,SEQUENCE(12),B3*12,B1))"}, "formats": {"B1": {"fmt": "currency"}, "B2": {"fmt": "percent", "dec": 1}, "B5:B10": {"fmt": "currency"}}, "focus": "B5", "note": "Try 25 → 30 years in B3 and watch the total interest.", "rows": 11}

On a 250,000 mortgage at 4.5% over 25 years, the total interest is more than 166,000. Change the term in B3 to 30 years: the monthly payment drops, but the total interest grows by almost 40,000. That's the trade-off a schedule makes visible.

=-SUM(IPMT(B2/12, SEQUENCE(12), B3*12, B1)) adds up the interest of the first 12 months in one formula: SEQUENCE(12) returns the months 1 to 12 and IPMT calculates all of them at once (an array formula).

Excel 365: the whole schedule in one formula

In Microsoft 365 and Excel 2021+, the dynamic array functions can spill a full column at once. With the same inputs in B1:B3:

=SEQUENCE(B3)
=-IPMT(B2/12, SEQUENCE(B3), B3, B1)
=-PPMT(B2/12, SEQUENCE(B3), B3, B1)
=B1-SCAN(0, -PPMT(B2/12, SEQUENCE(B3), B3, B1), LAMBDA(a, x, a+x))

The first three spill the month numbers, the interest and the principal for every month. The fourth builds the balance: SCAN keeps a running total of the principal repaid, and subtracting it from the loan gives what is left after each month. Change B3 and all four columns grow or shrink by themselves — no copying down.

The classic row-by-row version from Step 2 still has one big advantage: anyone can click a cell and follow the logic. Use the one-formula version for quick models, and the classic one for files other people must check.

Common mistakes

  1. Annual rate with monthly periods. =PMT(6%, 12, 10000) gives a payment of $1,192 instead of $860 — the rate must be 6%/12.
  2. Years instead of months. A 5-year loan with monthly payments has nper = 60, not 5.
  3. Missing dollar signs. After copying down, IPMT(B3/12, A9, B4, B2) points one row too low and the schedule falls apart. Lock the inputs: $B$2, $B$3, $B$1.
  4. Negative numbers everywhere. That's Excel's sign convention, not an error. Put a minus in front of PMT, IPMT and PPMT (or enter the loan as a negative number).
  5. A few cents left at the end. If you round the payment to 2 decimals (as banks do), the last balance can be off by a cent or two. Banks fix this in the last payment: in the final row, set the principal equal to the remaining balance (=E18 in a 12-month schedule) and the payment to interest + principal.

Practise it

Try the functions in our interactive exercises — each checks your formula instantly:

Once you can build a schedule from scratch, you'll never need an online loan calculator again — and you'll be able to check every number the bank sends you.

Practise the functions from this article

Every function has a short explanation and exercises in a real spreadsheet — your first 3 are free.

Start for free →

More articles

VLOOKUP vs XLOOKUP: 4 Traps That Give Wrong Answers

VLOOKUP can return a balance for an account that does not exist, with no error. Four traps from real banking reports and how XLOOKUP fixes them.

How to Fix Excel Errors: #N/A, #VALUE!, #REF! (Game)

What #N/A, #VALUE!, #REF!, #DIV/0! and #NAME? mean in Excel and how to fix each one. Then beat the clock: fix 10 broken formulas before 5 PM.

Free Loan Amortization Schedule Template for Excel

Download a free Excel loan amortization schedule with extra payments, payoff date, total interest and a balance chart. Type your loan and it updates instantly.