Loan Payment Formula in Google Sheets: Fix PMT Results
PMT in Google Sheets returns $489.15 for a $25,000, 6.5%, five-year loan. A result near $1,663 usually means the annual rate was used as a monthly rate.
本文目录
You type a loan calculator formula into Google Sheets for a $25,000 car loan at 6.5% over five years, and the monthly payment comes back as $1,663.01. The dealer is quoting about $489.
The gap is usually in the units, not in the price of the car. Enter the loan in A1:B6:
| Loan details | Value |
|---|---|
| Loan amount | 25000 |
| Annual interest rate | 6.5% |
| Loan term in years | 5 |
| Payments per year | 12 |
| Final balance | 0 |
In B7:
=PMT(B3/B5,B4*B5,-B2)
That returns $489.15 when the cell is formatted as currency with two decimal places. The stored value is 489.1537054682168. The annual rate is divided by 12, the five-year term becomes 60 monthly payments, and the loan amount is entered as a negative present value so the payment shows up positive.
I keep the payment frequency in B5 instead of hard-coding 12, because it is easier to see when a copy of the sheet has drifted. You can also compare the result with the loan payment calculator.
The annual rate used as a monthly rate
This formula leaves the annual rate alone:
=PMT(B3,B4*B5,-B2)
It returns $1,663.01. Sheets is applying 6.5% to every month, not to the year. For monthly payments, both the rate and the number of periods have to be monthly: B3/B5 与 B4*B5.
Leaving the term in years
Dividing the rate but leaving the term in years is the other direction of the same mistake:
=PMT(B3/B5,B4,-B2)
That returns $5,081.54, because PMT is amortizing $25,000 over five months. If the lender already states the term as 60 months, use 60 directly. Do not multiply it by 12 again.
A negative payment, or 6.5 instead of 6.5%
=PMT(B3/B5,B4*B5,B2)
returns -$489.15. That is the same payment with the sign flipped, not a different amount. Financial functions treat money in and money out as opposite signs. From the borrower’s side, the $25,000 is an inflow and the installments are outflows, so writing -B2 as the present value flips the payment to a positive budget figure.
A different input error is much larger. Change B3 to Number format and type 6.5 with no percent sign. The original formula then returns $13,541.67, because 6.5 is 650%, not 6.5%. These two entries are the same rate:
| Input | Underlying value |
|---|---|
| 6.5% | 0.065 |
| 0.065 | 0.065 |
=PMT(0.065/B5,B4*B5,-B2) also returned $489.15. If you import rates from another system, check whether they arrive as fractions or as whole numbers. The percentage change formula walks through that distinction.
Payment timing and a balloon balance
PMT takes two optional arguments after the present value: future value (fv) and payment timing (type). Making both explicit does not change the original result:
=PMT(B3/B5,B4*B5,-B2,B6,0)
still returns $489.15: a zero remaining balance, with payments at the end of each period. Change the last argument to 1 and the payment falls to $486.52, because each installment is applied at the beginning of the period and interest accrues on a slightly smaller balance.
type is 0 for the end of the period and 1 for the beginning. fv defaults to 0, which is what you want for a loan that is meant to be repaid in full through the regular installments. If the contract leaves a balloon, that remaining balance belongs in fv. With the negative-present-value convention used here, a $5,000 balloon entered as a positive future value reduced the regular payment to $418.41. A negative $5,000 increased it to $559.90, so the sign on fv has to follow the same cash-flow convention as pv.
When PMT is right and the quote still differs
Suppose B7 shows $489.15 and the lender quotes something else, such as $505. That does not automatically mean PMT is wrong. PMT uses a constant periodic rate and level payments. The contract may not.
Adding a $500 fee to this principal, and keeping the 6.5% rate, changed the payment to $498.94:
=PMT(B3/B5,B4*B5,-(B2+500))
A quoted installment can still differ if other charges sit outside the amount financed, if the contractual rate is not the disclosed APR, or if interest is counted on a different day-count. On this $25,000 balance, a 31-day month at 6.5%/365 charged $138.01 of interest when rounded to the cent, and a 28-day month charged $124.66. IPMT’s first-month interest was $135.42, which matched 6.5%/360 for a 30-day month. I would ask for the lender’s schedule before changing the rate in the sheet until the numbers agree.
Interest and principal in each installment
$489.15 is the installment. It does not tell you how much of that payment reduces the balance. Keep the inputs in A1:B7, then put these headers in A10:E10:
| Month | Payment | Interest | Principal | Remaining balance |
|---|
Enter 1 in A11, 2 in A12, and 3 in A13. In row 11, enter the unrounded payment in B11, which displays as $489.15:
=$B$7
Month 1 interest in C11 is $135.42:
=IPMT($B$3/$B$5,A11,$B$4*$B$5,-$B$2)
Month 1 principal in D11 is $353.74:
=PPMT($B$3/$B$5,A11,$B$4*$B$5,-$B$2)
The remaining balance in E11 is $24,646.26:
=$B$2-SUM($D$11:D11)
Fill the month numbers down to A70 (month 60) and fill B11:E11 down with them.
The first three rows, formatted as currency with two decimal places, are:
| Month | Payment | Interest | Principal | Remaining balance |
|---|---|---|---|---|
| 1 | $489.15 | $135.42 | $353.74 | $24,646.26 |
| 2 | $489.15 | $133.50 | $355.65 | $24,290.61 |
| 3 | $489.15 | $131.57 | $357.58 | $23,933.03 |
The installment stays the same. The interest portion shrinks, and more of each later payment goes to principal.
=ROUND(E70,2)=0
in E71 returns TRUE on this loan. The raw month-60 balance was a leftover of about -0.0000000002, which is a floating-point residue, not an unpaid installment.
The last payment can still be off by a few cents
Month 1 looks inconsistent if you add the displayed figures: $135.42 + $353.74 = $489.16, even though the payment displays as $489.15. The stored values have more than two decimals, and they do add up to the stored PMT result. Currency format only changes what you see. That is the same display-versus-storage issue as in why rounded totals are off by a cent.
There is a separate choice between displaying the payment to two decimals and actually paying a rounded amount:
=ROUND(PMT(B3/B5,B4*B5,-B2),2)
returns exactly 489.15. ROUNDUP of the same PMT result returns 489.16; ROUNDDOWN returns 489.15. ROUND versus ROUNDUP covers that distinction.
IPMT and PPMT do not follow the rounded installment. They keep splitting the original, full-precision payment. If you actually pay $489.15 each month, the balance follows a slightly different path. After 60 payments of exactly $489.15, with interest still calculated from the prior balance and not rounded along the way:
=FV(B3/B5,B4*B5,ROUND(B7,2),-B2)
returned $0.26 outstanding. The 60th payment would then be $489.41 rather than $489.15, which is the remaining balance after 59 rounded payments plus that month’s interest.
That $489.41 is not the only possible last installment. Building the same schedule with interest rounded to the cent each month, then adjusting the final payment to clear the balance, ended at $489.35. The lender’s rounding rules decide which figure appears on the last statement. For a sheet that has to match those statements, calculate interest from the previous outstanding balance, subtract it from the amount you actually paid, and set the last payment to the remaining principal plus that month’s interest.
How much loan a $500 payment supports
If the monthly budget is fixed and the question is how much you can borrow, PV inverts the original formula. Enter 500 in B9 and, in D9:
=PV(B3/B5,B4*B5,-B9)
That returned $25,554.34 at 6.5% over 60 months, under the same end-of-period, zero-balloon assumptions. It is principal only; it does not include insurance or other ownership costs.
The figures above were measured in Google Sheets. For a fixed-rate installment I would leave the PMT result at full precision and display it to two decimals. If the point of the sheet is to reconcile a lender statement, build the schedule from the actual payment amounts and the interest rule in the contract.