Excel Loan Calculations: Payments, Interest and Amortization
How to calculate a loan payment in Excel with PMT, split each payment into interest and principal with IPMT and PPMT, and build or download an amortization schedule.
To work out a loan in Excel, use the PMT function: =PMT(rate, nper, pv) returns the fixed payment for a loan with a constant interest rate, where rate is the interest per period, nper is the number of payments and pv is the loan amount. To see how each payment splits between interest and principal over time, add IPMT and PPMT and build an amortization schedule, or start from Microsoft’s free loan amortization template.
Below is how each piece works, the mistakes that trip most people up, and when a template is the faster route. Function behavior described here matches Microsoft’s documentation as of November 2026; these functions have been stable for many versions, but check the official pages if something looks different in your copy of Excel.
The core function: PMT
According to Microsoft’s PMT reference, PMT “calculates the payment for a loan based on constant payments and a constant interest rate.” The full syntax is:
PMT(rate, nper, pv, [fv], [type])
| Argument | Required? | What it means |
|---|---|---|
| rate | Yes | Interest rate per period (not per year, unless you pay yearly) |
| nper | Yes | Total number of payments |
| pv | Yes | Present value, i.e. the loan amount |
| fv | No | Balance you want left after the last payment; usually 0 for a loan |
| type | No | 0 = payments at the end of each period (default), 1 = at the beginning |
Microsoft’s worked example
Microsoft’s example uses a $10,000 loan at 8% annual interest repaid in 10 monthly payments. With the rate in A2, the number of months in A3 and the amount in A4, the formula is:
=PMT(A2/12, A3, A4)
Excel returns a monthly payment of about ($1,037.03). The parentheses mean it is negative, because it is money flowing out.
Match the rate to the payment frequency
This is the single most common error. Microsoft’s guidance: for monthly payments on a four-year loan at 12% annual interest, use 12%/12 for rate and 4*12 for nper. If you put the annual rate in with a monthly payment count, the answer will be far too high.
What PMT leaves out
The PMT result includes principal and interest only. Microsoft notes it does not include taxes, reserve payments or fees that are sometimes tied to loans. For a mortgage, your real monthly bill will usually be higher once property tax and insurance are added.
Splitting payments into interest and principal
A fixed loan payment stays the same each month, but the mix changes: early payments are mostly interest, later ones mostly principal. Two functions show that split for any single period.
- IPMT returns the interest portion. Syntax:
IPMT(rate, per, nper, pv, [fv], [type]). Theperargument is the period you want, and Microsoft’s IPMT page says it must be between 1 andnper. - PPMT returns the principal portion, using the same arguments in the same order. See Microsoft’s PPMT page.
For any period, IPMT plus PPMT equals the PMT payment.
Two quick checks
- A $10,000 loan at 5% over 5 years, paid monthly:
=IPMT(0.05/12, 1, 60, -10000)returns about 41.67 in interest for the first month (that is simply $10,000 × 5% ÷ 12). - Corporate Finance Institute shows a first-period PPMT of $8,069.34 for a $100,000 loan at 7%/12 over 12 months. Useful for testing your own formulas.
How to build a loan amortization schedule
Excel has no single “amortization” function. As DataCamp’s tutorial explains, you combine PMT, IPMT and PPMT across rows. Here is the general approach used by Ablebits, DataCamp and CFI:
- Set up input cells. Put the annual interest rate, loan term in years, payments per year and loan amount in separate labeled cells at the top of the sheet.
- Calculate the payment. In another cell, use PMT with the rate divided by payments per year and the term multiplied by payments per year.
- Create a period column. Below the inputs, number the rows 1, 2, 3 and so on up to the total number of payments (for example, 360 rows for a 30-year monthly loan, as in CFI’s example).
- Add an interest column. Use IPMT, pointing
perat the period number in that row. Lock the rate, term and loan amount with absolute references (such as$B$1) so the formula copies down correctly while the period reference changes. - Add a principal column. Use PPMT with exactly the same arguments as your IPMT formula.
- Add a balance column. Start with the loan amount, then subtract each row’s principal portion from the previous balance.
- Fill down all formulas to the last period. The final balance should land at zero (or very close, due to rounding).
Two practical tips from Ablebits: put a minus sign in front of PMT, IPMT and PPMT if you want positive numbers throughout, and if you want a schedule that handles different loan lengths, you can run the period column past the longest term you expect and have formulas return blanks once the loan is paid off.
Handling extra payments
Extra payments change the balance in a way PPMT alone does not capture, because PPMT assumes the original schedule. Schedules that support extra payments, like the ones from Ablebits and CFI, add an extra-payment column and calculate interest from the actual running balance instead. CFI’s downloadable template also supports a variable number of periods and variable interest rates. If extra payments matter to you, starting from one of these is easier than retrofitting a basic schedule.
Using Microsoft’s loan amortization template
If you just need answers, Microsoft offers a free Loan amortization schedule template. According to its listing, it:
- works for mortgage, home improvement, student and other loans
- calculates total interest and total payments
- includes an option to add extra payments
- organizes payments by date, showing the beginning and ending balance for each, plus an overall loan summary
Microsoft marks it as an accessible template. You can open it from Microsoft Create, or search for “loan amortization” in Excel’s template gallery when creating a new workbook. Template names and gallery layout can change, so if the exact name doesn’t appear, try a broader search such as “loan”.
Build it yourself or use a template?
| Option | Best for | Trade-off |
|---|---|---|
| Single PMT formula | Quick payment estimate | No breakdown of interest vs. principal |
| Your own schedule (PMT + IPMT + PPMT) | Learning, custom layouts, embedding in other models | Takes setup; extra payments need more work |
| Microsoft’s template | Personal loans and mortgages, fast results | Less control over structure |
| Third-party templates (e.g. CFI) | Extra payments, variable rates | Different layouts to learn |
Related functions worth knowing
Microsoft’s article on using Excel formulas to figure out payments and savings shows PMT alongside three related functions for mortgage, car and savings scenarios:
- NPER: how many payments it takes to pay off a loan at a given payment amount.
- PV: how much you can borrow for a given payment.
- FV: what a balance or savings will grow to.
All of them follow the same rules as PMT: keep the rate and the number of periods in the same units, and watch the signs.
Common errors and fixes
- Payment looks huge: you probably used the annual rate with monthly periods. Divide the rate by 12.
- #NUM! from IPMT or PPMT: the
pervalue is outside 1 tonper, often because a schedule runs past the loan term. - #VALUE!: one of the arguments is text rather than a number. Check that the input cells hold numbers, not text.
- Balance doesn’t reach zero: check that every formula uses absolute references for the inputs and that the last period equals
nper.
Free apps worth trying
SponsoredSponsored links. Installing through them can earn us a commission, at no cost to you. Apps are free to download; some offer optional in-app purchases.
Frequently asked questions
Why does Excel show my loan payment as a negative number? +
Excel's financial functions treat money you receive (the loan amount) and money you pay out (the payments) as opposite signs. If you enter the loan as a positive number, PMT returns a negative payment. Put a minus sign in front of PMT, or enter the loan amount as a negative, to display a positive figure.
Does the PMT result include taxes, insurance or fees? +
No. Microsoft's documentation states that the payment PMT returns covers principal and interest only, not taxes, reserve payments or fees. For a mortgage you would add escrow items such as property tax and insurance separately.
Is there a ready-made loan calculator in Excel? +
Yes. Microsoft publishes a free Loan amortization schedule template that calculates total interest and total payments, lists each payment by date with beginning and ending balances, and supports extra payments. You can find it on Microsoft Create or by searching the template gallery in Excel.
How do I find out how long it will take to pay off a loan? +
Use the NPER function, which returns the number of payment periods from the rate, payment and loan amount. As with PMT, the rate must match the payment frequency, so divide an annual rate by 12 for monthly payments.
Sources
- PMT function - Microsoft Support (support.microsoft.com)
- IPMT function - Microsoft Support (support.microsoft.com)
- PPMT function - Microsoft Support (support.microsoft.com)
- Using Excel formulas to figure out payments and savings - Microsoft Support (support.microsoft.com)
- Loan amortization schedule - Microsoft Create (create.microsoft.com)
- How to make a loan amortization schedule in Excel (with extra payments) - Ablebits (ablebits.com)
- Creating a Loan Amortization Schedule in Excel - Corporate Finance Institute (corporatefinanceinstitute.com)
- Amortization Schedule in Excel - DataCamp (datacamp.com)