FormulaCraft

How to build a loan amortization schedule in Excel and Google Sheets

Topic:Finance basics
Excel & Google Sheets
=PMT(B2/12,B3,-B1)

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Enter your loan inputs: loan amount in B1 (e.g. 20000), annual interest rate in B2 (e.g. 0.06), and term in months in B3 (e.g. 36).
  2. 2Calculate the fixed monthly payment in B4 using =PMT(B2/12,B3,-B1). The rate argument is annual/12; nper is the total months; pv is negative loan amount so the result is positive.
  3. 3Build a schedule table starting in row 7. Put period numbers 1 through B3 in column A. In B7 enter the opening balance: =$B$1.
  4. 4In C7 enter the interest portion: =IPMT($B$2/12,A7,$B$3,-$B$1). In D7 enter the principal portion: =PPMT($B$2/12,A7,$B$3,-$B$1). In E7 enter the closing balance: =B7+D7.
  5. 5In row 8, set B8=E7 (prior closing balance), then copy C7:E7 down through the last period. The closing balance in the final row should equal zero (or a rounding residual).

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

Why does PMT return a negative number?

PMT follows the cash-flow sign convention: outflows are negative. Pass the loan amount as a negative pv (-B1) to get a positive payment, or wrap the result in ABS().

Can I use this schedule for a mortgage with monthly compounding?

Yes. For a standard fixed-rate mortgage, divide the annual rate by 12 for monthly compounding. For other compounding frequencies, adjust the rate divisor accordingly.

How do I add an extra payment column to pay off the loan early?

Add an extra-payment column and subtract it from the closing balance each period. Recalculate subsequent opening balances from the adjusted closing balance. This requires a dynamic row-by-row approach rather than pure IPMT/PPMT since those assume a fixed schedule.

More on Finance basics

See all →

Formulas used

Related tasks

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: