calculate-loan

01 Loan payments

Interest Calculator Spreadsheet: Build Your Own

Calculator No. 01-28853 · Updated · Formula and assumptions shown below

Monthly payment $405.53
Total interest
$4,331.67
= Monthly payment × loan term × 12 − loan amount
Loan amount
$20,000
Input
Interest rate (APR)
8 %
Input
You enter
Loan amount ($), Interest rate (APR) (%), Loan term (years)
You get
Monthly payment ($), Total interest ($)
Rounding
2 dp

Estimate for education, not financial advice. The result follows from the numbers you enter and the formula shown. It is not a quote or an offer, and it does not include fees, taxes or insurance unless the calculator asks for them. Ask your lender for the exact figures.

An interest calculator spreadsheet is a do-it-yourself tool you build in Excel, Google Sheets, or similar software to compute loan payments, total interest, or the effect of extra payments. You enter the loan amount, interest rate, and term, and the spreadsheet applies the standard amortization formula to show your monthly payment and how much interest you’ll pay over the life of the loan. This article explains the math, gives you a ready-to-use formula, and walks through building your own so you can run scenarios without relying on a website.

Formula

The core of any interest calculator spreadsheet is the monthly payment formula for a fixed-rate loan:

M = P × [r(1 + r)^n] / [(1 + r)^n − 1]

  • M = monthly payment (in dollars)
  • P = principal, the original loan amount (in dollars)
  • r = monthly interest rate = annual percentage rate (APR) divided by 12, expressed as a decimal (e.g., 8% APR → 0.08/12 ≈ 0.006667)
  • n = total number of monthly payments = loan term in years × 12

This is the standard amortization formula used by virtually all lenders for fixed-rate loans. It assumes the interest rate stays constant for the whole term and that you make a payment every month on the same day.

Once you have the monthly payment, total interest is simply M × n − P (total paid minus principal).

Worked Example

Let’s use the default values from the calculator above: a $20,000 loan at 8% APR for 5 years.

  1. Convert APR to monthly rate: r = 8 / 100 / 12 = 0.0066667
  2. Find total payments: n = 5 × 12 = 60
  3. Calculate (1 + r)^n: (1.0066667)^60 ≈ 1.489846
  4. Plug into the formula: M = 20000 × [0.0066667 × 1.489846] / [1.489846 − 1]
  5. Numerator: 20000 × 0.0099323 ≈ 198.646
  6. Denominator: 0.489846
  7. M ≈ 198.646 / 0.489846 ≈ 405.53 (rounded to the cent)

So the monthly payment is $405.53. Total paid over 60 months = 405.53 × 60 = $24,331.80. Total interest = $24,331.80 − $20,000 = $4,331.80. The calculator block above gives the same numbers.

Assumptions

  • Fixed interest rate for the entire loan term.
  • Payments are made at the end of each month (ordinary annuity).
  • Interest compounds monthly at APR/12.
  • No fees, taxes, insurance, or PMI are included—those would change the payment.

How to Build Your Own in a Spreadsheet

Creating your own interest calculator spreadsheet is straightforward. Here’s a step-by-step method for Excel or Google Sheets:

  1. Set up input cells: Put labels in column A and values in column B. For example, B1 = loan amount, B2 = annual interest rate (as a percentage), B3 = loan term in years.
  2. Calculate monthly rate: In a cell, enter =B2/1200 (because APR is a percentage, dividing by 100 gives a decimal, then by 12 gives monthly).
  3. Calculate number of payments: =B3*12.
  4. Compute monthly payment: Use the built-in PMT function: =PMT(B2/1200, B3*12, -B1). The negative sign makes the result positive (money out).
  5. Total interest: =PMT(...)*B3*12 - B1.

For a more advanced version, you can build an amortization schedule with columns for payment number, payment amount, interest paid, principal paid, and remaining balance. The balance after each payment is: balance = P*(1+r)^k - PMT*((1+r)^k - 1)/r, where k is the number of payments made.

When to Use a Spreadsheet vs. an Online Calculator

A spreadsheet gives you full control and transparency—you see every formula and can adjust assumptions (like adding extra payments) easily. It’s also useful if you want to keep a permanent record of different scenarios. An online calculator is faster for one-off checks, but you have to trust the site’s code. If you’re comparing loan offers or planning a budget, a spreadsheet lets you change the rate or term and instantly see the effect.

However, spreadsheets have a learning curve. If you’re not comfortable with formulas, an online calculator (like the one above) gives the same result with zero setup. The choice depends on your comfort with spreadsheet software and how often you need to run calculations.

Common Mistakes and How to Avoid Them

  • Using the annual rate instead of monthly: Always divide the APR by 12. Forgetting this makes your payment wildly wrong.
  • Mixing up percentage and decimal: In spreadsheet functions like PMT, the rate should be a decimal (8% → 0.08), not 8. If you type 8, you’ll get a nonsensical result.
  • Rounding too early: If you round the monthly payment to the cent before calculating total interest, you’ll be off by a few cents. Keep full precision in your formulas and only round at the end.
  • Ignoring payment timing: The formula assumes payments at the end of each month. If your lender expects payments at the beginning, the payment will be slightly different.
  • Forgetting fees: The formula only covers principal and interest. Origination fees, closing costs, or insurance are not included—add them separately to get the true cost.

Limitations of the Spreadsheet Approach

The standard formula works only for fixed-rate loans with level payments. It does not apply to adjustable-rate mortgages (where the rate changes), interest-only loans, or loans with balloon payments. For those, you need a more complex model that recalculates each period. Also, the formula assumes you never miss a payment and that the rate never changes—real life can differ. Finally, the result is an estimate; your lender’s disclosure documents will show the exact figures, including any fees that a simple spreadsheet cannot capture.

Alternatives to Building Your Own

If you don’t want to build a spreadsheet, you have several options:

  • Online calculators: Sites like this one provide instant results with the same formula.
  • Built-in spreadsheet functions: Excel and Google Sheets have PMT, IPMT, and PPMT that handle the heavy lifting.
  • Financial software: Programs like Quicken or Mint may have loan calculators built in.
  • Lender-provided amortization schedules: Most lenders give you a full schedule when you apply for a loan.

Each has trade-offs in convenience, control, and accuracy. A spreadsheet is the most flexible for “what-if” analysis, but an online calculator is the quickest for a single answer.

Frequently Asked Questions

How do I add extra payments to my spreadsheet?

To model extra payments, you can either use a separate column in an amortization schedule where you subtract the extra amount from the principal each month, or use a more advanced formula. The simplest way is to create a schedule with columns for payment, interest, principal, and balance, then manually adjust the principal for months where you make an extra payment. The interest for the next month is calculated on the lower balance, which shortens the loan term and reduces total interest.

What is the difference between APR and interest rate?

The interest rate is the cost of borrowing the principal, expressed as a yearly percentage. APR (annual percentage rate) includes the interest rate plus certain fees and costs, spread over the loan term. For a spreadsheet calculator, you should use the APR if it’s given, because that gives a more accurate monthly payment. However, if fees are not included in the APR, you may need to add them separately.

Can I use this spreadsheet for a car loan or mortgage?

Yes, the formula works for any fixed-rate installment loan, including auto loans, personal loans, and fixed-rate mortgages. The key is that the rate must be fixed and payments must be level. For a mortgage, you’ll also need to account for property taxes and insurance, which are not part of the principal-and-interest payment.

Why does my spreadsheet give a different result than the lender’s quote?

Lenders often round the payment to the nearest cent, but they may also use slightly different compounding methods (e.g., daily vs. monthly) or include fees in the APR. Additionally, if your loan has a first payment due more than one month after closing, the interest accrues differently. Always compare your spreadsheet result to the lender’s disclosure; small differences of a few dollars are normal.

How do I calculate the total interest paid if I make extra payments?

You need to build an amortization schedule and track the balance each month. When you make an extra payment, it reduces the principal, so the interest for the next month is lower. Sum the interest column over all periods to get the total interest paid. This is more accurate than using the simple formula because the loan term shortens.

Is the PMT function in Excel the same as this formula?

Yes, Excel’s PMT function uses the same standard amortization formula. The syntax is =PMT(rate, nper, pv, [fv], [type]), where rate is the monthly rate, nper is the number of payments, and pv is the present value (loan amount, entered as a negative number). The function returns the payment amount, which will match the formula result if you use the same inputs.

Remember, the result from any calculator or spreadsheet is an estimate. Your lender’s official disclosure will give you the exact payment and total cost, including any fees or adjustments.

Related

Formula used
in p | Loan amount | $ | 20000 | 1 | 100000000
in apr | Interest rate (APR) | % | 8 | 0.01 | 100
in yrs | Loan term | years | 5 | 0.0833 | 50
out pmt | Monthly payment | $ | p * (apr / 1200) / (1 - (1 + apr / 1200) ^ -(yrs * 12)) | 2
out int | Total interest | $ | pmt * yrs * 12 - p | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard loan formula for this calculation, fixed rate and monthly compounding unless stated, rounded as each result states. Not financial advice; no lender, rate or product is recommended. See formulas and assumptions, the disclaimer or report an error.

More in this section

The whole Loan payments section →