The Standard Loan Payment Formula
For an amortizing loan, the monthly payment is calculated using a formula that takes into account the principal, the monthly interest rate, and the total number of payments. The formula is: M = P × [r(1+r)^n] / [(1+r)^n − 1], where M is the monthly payment, P is the principal, r is the monthly interest rate (annual rate divided by 12), and n is the total number of payments.
This formula is used for fixed-rate loans, where the interest rate remains constant over the life of the loan. It ensures that each payment covers the interest for that period and reduces the principal, so the loan is fully paid off by the end of the term.
- Principal: the amount you borrow.
- Monthly interest rate: the annual interest rate divided by 12.
- Number of payments: the loan term in years multiplied by 12. For a 30-year loan, n = 30 × 12 = 360.
Sources: Consumer Financial Protection Bureau, Bankrate, OpenStax

Step-by-Step Manual Calculation Example
To calculate a loan payment manually, start by identifying the principal, the monthly interest rate, and the total number of payments. Then plug those values into the formula.
The number of payments is 5 years × 12 = 60. Now apply the formula: M = 10000 × [0.005(1.005)^60] / [(1.005)^60 − 1]. Computing the exponent first, (1.005)^60 ≈ 1.34885. Then multiply by 0.005 to get 0.006744, and divide by (1.34885 − 1) = 0.34885 to get 0.019332.
- Determine the principal (P).
- Convert the annual interest rate to a monthly rate (r). Divide the annual rate by 12.
- Calculate the total number of payments (n). Multiply the number of years by 12.
- Compute (1+r)^n.
- Multiply that result by r.
- Divide by [(1+r)^n − 1].
- Multiply by the principal to get the monthly payment.
Using Spreadsheet Functions for Loan Payments
Spreadsheet programs like Microsoft Excel and Google Sheets offer built-in functions to compute loan payments. The PMT function calculates the periodic payment for a loan and is the simplest way to avoid manual arithmetic. In general, you provide the interest rate per period, the total number of payments, and the loan amount (or present value). The function returns a negative number by default because it represents a payment you make, so many people add a minus sign to show a positive result. However, the exact syntax and behavior can vary, so it is best to check your spreadsheet program's help documentation.
Spreadsheets can also help you separate each payment into interest and principal components. For example, you can use functions that return the interest part of a payment and the principal part for a specific period. This is useful for seeing how much of each payment goes toward interest versus reducing the balance over time.
Sources: Chelsea State Bank, OpenStax
Insurance in Calculations
For many loans, especially mortgages, the monthly payment can include more than just principal and interest. Property taxes, homeowners insurance, and mortgage insurance may be part of your total monthly payment. Lenders often collect these amounts into an escrow account and pay them on your behalf.
When estimating your total monthly payment, you should add these extra costs to the principal and interest payment. Mortgage insurance is often required for loans with a down payment of less than 20%, and it adds another cost.
Sources: Consumer Financial Protection Bureau, Chelsea State Bank
Common Mistakes and How to Avoid Them
Calculating loan payments can be straightforward, but small errors can lead to incorrect results. One common mistake is converting the interest rate incorrectly. Remember to divide the annual rate by 12 to get a monthly rate, and be careful with decimal places. Another mistake is using the wrong number of payments, especially when dealing with biweekly payments or other frequencies.
Also, when using a spreadsheet, ensure the rate and the number of periods match the payment frequency. For example, if you make monthly payments, the rate must be the monthly rate and the number of periods the total number of months. Finally, always round payments up to the next penny, as lenders do.
Sources: OpenStax
Comparing Different Payment Frequencies
Most loans are paid monthly, but some borrowers choose biweekly payments, where they pay half the monthly amount every two weeks. This can add an extra payment each year, which reduces the principal faster and may shorten the loan term. However, the exact impact depends on the loan terms and how the lender applies the payments.
When using the standard formula, it assumes equal payments at a regular interval. For biweekly payments, you may need to adjust the interest rate and the number of periods to match the payment frequency. The formula can be adapted, but it is important to understand how your lender handles biweekly payments, as some may charge fees or apply payments differently.
Sources: UniversalClass, OpenStax
Frequently asked questions
What is the PMT function in Excel?
The PMT function in Excel calculates the periodic payment for a loan based on a constant interest rate and constant payments. It takes the interest rate per period, the total number of payments, and the loan amount as inputs. It returns a negative number by default, so you may see a negative result, which you can adjust by formatting or by using a minus sign. For exact syntax, check Excel's help.
Sources: Chelsea State Bank, OpenStaxHow do I handle a balloon payment?
A balloon payment is a large payment due at the end of a loan term, sometimes for the entire remaining balance. The standard formula assumes a fully amortizing loan, so it does not account for a balloon. If your loan has a balloon, you need to know that the regular payments will not pay off the loan completely. In a spreadsheet, some functions may allow you to specify a future value, but the standard formula does not. It is important to understand the balloon terms with your lender.
Sources: Consumer Financial Protection Bureau, UniversalClassDo I need to include taxes in my calculation?
For mortgages, lenders often require you to include property taxes and homeowners insurance in your total monthly payment. This is typically done through an escrow account. When calculating your total monthly housing cost, you should add these amounts to your principal and interest payment. The same principle applies to other loans if you have related fees or insurance.
Sources: Consumer Financial Protection Bureau, Chelsea State BankHow accurate are manual calculations compared to online calculators?
Manual calculations using the standard formula are mathematically accurate, and online calculators use the same formula. Any differences usually arise from rounding or how fees and taxes are handled. When you calculate manually, be sure to round up to the next penny, as lenders do. Both methods should produce the same result if you input the same variables.
Sources: Bankrate, OpenStaxSources
- YUCCA BANK — Consumer Financial Protection Bureau
- Your home loan toolkit — Consumer Financial Protection Bureau
- How a Bank Determines Loan Payment Calculations — UniversalClass
- How To Calculate Loan Payments And Costs — Bankrate
- How to Calculate Monthly Personal Loan Payments — Chelsea State Bank
- 6.8 The Basics of Loans — OpenStax