Google Sheets PMT Function: Step-by-Step Guide
In this article
The PMT function in Google Sheets calculates the constant periodic payment for a loan or annuity based on a fixed interest rate and a fixed number of payments. To use it, type =PMT(rate, number_of_periods, present_value) into a cell and replace the arguments with your loan details. For example, =PMT(5%/12, 60, -20000) returns the monthly payment on a $20,000 loan at 5% annual interest over five years. The result appears as a negative number because it represents money leaving your account; you can wrap the formula in ABS() to show it as positive.
What You'll Need
- A Google account and access to Google Sheets (desktop browser or the mobile app).
- Your loan or investment details: annual interest rate, total number of payments, and the present value (loan amount or current investment value).
- Optional: future value (if any), and whether payments are due at the beginning or end of each period.
Step-by-Step
- Open a new or existing spreadsheet in Google Sheets. You can use sheets.google.com in a browser or the Google Sheets app on Android or iOS. The steps below work the same on both, though the mobile formula bar is more compact.
- Click an empty cell where you want the payment result to appear, for example A1.
- Type the PMT formula. Start with an equals sign, then
PMT(. Google Sheets will show a tooltip with the argument order:rate, number_of_periods, present_value, [future_value], [end_or_beginning]. Square brackets mean optional. - Enter the rate per period. This is the interest rate for each payment period, not the annual rate. For monthly payments, divide the annual rate by 12. For quarterly, divide by 4. Use a decimal or percentage:
5%/12or0.05/12both work. - Enter the number of periods. This is the total number of payments over the life of the loan. For a 5-year loan with monthly payments, use
5*12or60. - Enter the present value. This is the loan amount or current value. Use a negative number if you are borrowing (money received), because PMT treats outgoing payments as negative and incoming as positive. For example,
-20000for a $20,000 loan. - Optional: future value. If you want the balance after the last payment to be something other than zero (e.g., a balloon payment), enter it as the fourth argument. Omit it or use 0 for a fully amortizing loan.
- Optional: payment timing. Use 0 or omit for payments at the end of each period (ordinary annuity), or 1 for payments at the beginning (annuity due).
- Close the parenthesis and press Enter. The cell will display the payment amount. It will be negative if the present value was positive, and vice versa. To show a positive payment, wrap the formula in
ABS():=ABS(PMT(5%/12, 60, -20000)). - Format the result as currency if desired: select the cell, then use Format > Number > Currency (or the currency button in the toolbar).
Common Mistakes
- Using the annual rate instead of the periodic rate. Always divide the annual interest rate by the number of payments per year. For monthly payments, divide by 12; for weekly, divide by 52.
- Forgetting to convert years to periods. The number of periods must match the payment frequency. A 30-year monthly loan has 360 periods, not 30.
- Sign errors. If you enter the present value as a positive number, the payment will be negative. This is correct from a cash-flow perspective but can be confusing. Use consistent signs: money you receive is positive, money you pay out is negative.
- Omitting the rate or periods entirely. PMT requires at least three arguments; missing one will return an error.
- Mixing up future value and present value. The present value is the loan amount today; future value is the balance you want after the last payment (usually 0).
Tips
- Use cell references instead of hard-coded numbers so you can change inputs easily. For example, put the annual rate in B1, years in B2, and loan amount in B3, then use
=PMT(B1/12, B2*12, -B3). - To calculate the total interest paid over the life of the loan, multiply the payment by the number of periods and subtract the loan amount:
=ABS(PMT(...))*periods - present_value. - Remember that PMT assumes a fixed interest rate and fixed payments. For variable rates or extra payments, you may need a more detailed amortization schedule.
- You can use PMT for savings goals too: set present value to 0, future value to your goal, and the function returns the required periodic deposit.
Troubleshooting
- #NUM! error: Usually caused by a rate of -1 or a number of periods of 0. Check that your rate is greater than -1 and periods is not zero.
- #VALUE! error: One or more arguments are text instead of numbers. Ensure all inputs are numeric or valid cell references.
- Result is much larger or smaller than expected: Double-check that you used the periodic rate and the correct number of periods. Also verify the sign of the present value.
- Formula shows as text: Make sure the cell is not formatted as plain text. Select the cell, then use Format > Number > Automatic.
- Payment seems off by a small amount: Rounding differences can occur; PMT uses full precision. If you need exact cents, consider using ROUND on the result.
Frequently Asked Questions
What does the PMT function do in Google Sheets?
It calculates the constant periodic payment needed to pay off a loan or reach an investment goal, given a fixed interest rate and number of periods.
Why is my PMT result negative?
PMT follows the cash-flow sign convention: money you receive (the loan) is positive, and money you pay out (the payment) is negative. To display a positive number, use ABS() around the formula.
Can I use PMT for weekly or quarterly payments?
Yes. Adjust the rate and number of periods to match the payment frequency. For weekly, divide the annual rate by 52 and multiply years by 52; for quarterly, divide by 4 and multiply by 4.
How do I include a balloon payment?
Use the fourth argument (future value) to specify the remaining balance after the last payment. For example, =PMT(5%/12, 60, -20000, 5000) leaves $5,000 outstanding.
Does PMT work in the Google Sheets mobile app?
Yes, the PMT function is available in the Google Sheets app on Android and iOS. The formula syntax is the same, though the on-screen keyboard may make it slower to type.
What is the difference between PMT and IPMT?
PMT returns the total payment (principal plus interest) for a period. IPMT returns only the interest portion, and PPMT returns only the principal portion. Use them together to build an amortization schedule.