Spreadsheet Loan Calculation Tips (Excel and Others)

Model Loan Amortization With Excel, OpenOffice, or Google Sheets

Woman working on laptop and mobile device with financial reports
Roberto Westbrook / Getty Images

Spreadsheets are powerful tools that help you understand how a loan works. They make it easy to see important details about your loan, and the calculations are more or less automated. You can even use pre-built loan amortization templates that allow you to simply enter a few details about your loan.

Spreadsheets are available from several popular providers, and the instructions on this page will work with any of the following (among others):

  • Microsoft Excel
  • Google Sheets
  • OpenOffice

DIY vs. Calculator Templates

We describe how to build your own spreadsheet from scratch on this page, and you can use those instructions with slight modifications on other software programs. But there’s no need to do it all yourself — unless you really want to. Templates allow you to plug in a few details about your loan and be done with it, and those pre-built templates are easy to use.

To use a loan template in Excel, open the template on your computer (download the template if necessary):

  1. Click File, and select New on the left-hand menu
  2. You'll see a list of available templates
  3. Look through the templates (under Sample Templates) or search Office.com
  4. Double-click the "Loan Amortization" template

An alternative method to get the Loan Amortization template is:

  1. Right-click on the tab of sheets at the bottom ('Sheet1, Sheet2, etc.')
  2. Select Insert...
  3. Choose Spreadsheet Solutions from the pop-up menu
  1. Double-click the 'Loan Amortization' option

Once you’re in the template, fill in information related to your loan:

  1. Loan amount: Enter the amount you are borrowing.
  2. Annual interest rate: Use the interest rate on your loan (you can either use APR or a stated interest rate, if available). You should not need to convert to decimal format, but make sure the rate is displayed correctly.
  1. Number of payments per year: How frequently do you pay? For monthly payments, enter 12.
  2. Start date of loan: This might be helpful for planning, but is not essential for accurate calculations.
  3. Optional extra payments: If you’ll pay extra — or if you want to know how helpful it would be to pay extra — use this field. Pay attention to how much you save on cumulative interest, and how the loan gets paid off more quickly when you pay extra.

How to Build an Excel Loan Model

Doing it yourself takes more time, but you’ll develop financial knowledge and spreadsheet skills you can’t get from a template. Plus you can customize to your heart’s content. That said, after you’ve done this a few times, you might find it faster to use a template to start the process, then “unprotect” the template and make your modifications.

Let’s say you want a model that shows you every yearly or monthly payment. Start at the top row your spreadsheet and add the following sections (where you’ll enter information about your loan):

Give those cells a green fill color, which tells you that you can change those values as you compare loans and run what-if scenarios.

Now you’re ready to make your data table.  Make a row with the following column names:

  • Period number
  • Starting loan balance
  • Payment
  • Amount applied to interest
  • Amount applied to principal
  • Remaining loan balance

If you like, you can also add additional rows (such as cumulative interest paid, for example).

Next, you’ll need a row for each payment as part of your data table. In the far left column of your spreadsheet (below your “Period” column described above), put one number on each row: The first row is “1,” then move down a row for “2,” and so on. Each row is one payment. For a 30 year loan, you’d have 360 monthly payments – for large numbers like that it’s easiest to fill in the first few periods and use Excel’s “fill handle” to fill in all of the remaining rows.

Now, have Excel fill in and calculate values for you.

Remember to use the "$" when you refer to any row number in your calculations except the Period - otherwise, Excel will look in the wrong row.

  1. Use the PMT function to calculate your monthly payment (using information in your “input area”) - this payment generally does not change over the life of the loan.
  2. Use the IPMT function to show the amount of each payment that goes to interest.
  3. Subtract the interest amount from the total payment to calculate how much principal you paid in that month.
  4. Subtract the principal you paid from your loan balance to arrive at your new loan balance.
  5. Repeat for each period (or month).

Note that after the first row of your data table, you’ll refer to the previous row to get your loan balance.

To see an example of how the math works and how your table might look, scroll to the bottom of our Amortization Calculation page.

If your loan uses monthly payments, make sure you set up each period correctly in the formulas. For example, a 30-year loan has 360 total periods (or monthly payments). Likewise, if you’re paying an annual rate of 6 percent, you should make the periodic interest rate 0.5 percent (or 6 percent divided by 12 months).

If you don't want to do all the work of working in spreadsheets, there's an easier way. Use an online Loan Amortization Calculator. It’s also helpful for double-checking your spreadsheet’s output.

What You Can Do With Your Spreadsheet

Once you’ve got your loan modeled, you can learn a lot about your loan.

Amortization table: Your spreadsheet shows an amortization table, which you can use to create a variety of line charts. See how your loan gets paid off over time, or how much you’ll owe on your loan at any given date in the future.

Principal and interest: The spreadsheet also shows how each payment is broken into principal and interest. You’ll understand how much it costs to borrow, and how those costs change over time. Your payment stays the same, but you’ll pay less and less interest with each monthly payment.

Monthly payment: Your spreadsheet will perform simple calculations as well. For example, you’ll need to calculate the monthly payment. Changing the loan amount (if you consider buying something less expensive, for example) will affect your required monthly payment.

“What if” scenarios: The benefit of using spreadsheets is that you have the computing power to make as many changes to the model as you want. Check to see what would happen if you make additional payments on your loan. Then see what happens if you borrow less (or more). With a spreadsheet, you can update the inputs and get instant answers.