The Monthly Payment Formula: How to Calculate Any Loan Payment
Learn the exact formula used to calculate monthly loan and mortgage payments — with step-by-step examples for personal loans, auto loans, and mortgages, plus a free calculator to check your math instantly.
Every bank, credit union, and online lender uses the exact same underlying mathematical logic to determine your monthly bill. Whether you are borrowing $5,000 for a personal project or $500,000 for a home, the mechanics of the monthly payment formula remain constant. Understanding this math gives you the power to pull back the curtain on the "black box" of lending—allowing you to verify any quote, spot potential errors, and make smarter decisions. This guide walks you through the formula step-by-step with real examples. Start by testing your own numbers with our monthly payment calculator.
The Monthly Payment Formula
For a standard, fully amortizing fixed-rate loan, lenders use the following formula to calculate your monthly installment (M):
M = P × [r(1+r)^n] / [(1+r)^n − 1]
Define each variable precisely:
- M = Monthly Payment: The final result covering principal and interest.
- P = Principal: The total amount you are borrowing.
- r = Monthly Interest Rate: Your annual rate divided by 12, expressed as a decimal (e.g., 6% = 0.005).
- n = Total Number of Payments: The total months in your term (e.g., 30 years = 360 payments).
This formula is the industry standard. According to the Consumer Financial Protection Bureau, lenders must show you how these components form your APR before you sign.
Step-by-Step Example 1: Personal Loan
Let’s look at a $10,000 personal loan at a 10% APR over 3 years, common for well-qualified borrowers according to Federal Reserve Economic Data.
- P = $10,000
- Annual rate = 10% → r = 0.10 ÷ 12 = 0.008333
- Term = 3 years → n = 36
Calculation: (1 + 0.008333)^36 = 1.3482. Applying the formula: M = $322.67/month. Total interest paid over 3 years: $1,616. Verify this with our loan calculator.
Step-by-Step Example 2: Auto Loan
Applying the monthly payment formula to a $25,000 auto loan at 7% APR over 5 years:
- P = $25,000
- r = 0.07 ÷ 12 = 0.005833
- n = 60
Calculation: (1 + 0.005833)^60 = 1.4176. Applying the formula: M = $495/month. Total interest paid: $4,700. See how to use a loan calculator to model your next car purchase.
Step-by-Step Example 3: Mortgage
For a $300,000 mortgage at 6.8% over 30 years:
- P = $300,000
- r = 0.068 ÷ 12 = 0.005667
- n = 360
Calculation: (1 + 0.005667)^360 = 7.6889. Applying the formula: M = $1,953/month (Principal and Interest Only). Your actual payment will be higher with taxes and insurance. Read our complete mortgage payment guide for a full PITI breakdown. Use our mortgage calculator for a detailed analysis.
Why the Formula Produces Front-Loaded Interest
Interest is calculated based on your remaining balance. In month 1 of the mortgage above, interest is $300,000 × 0.005667 = $1,700.10. Consequently, only $252.90 of your $1,953 payment reduces your principal. As the balance shrinks, interest drops, and more goes to principal. This is known as amortization. View this transition with our amortization schedule tool. Understanding how amortization works is key to early payoff planning.
How Changing Variables Affects Your Payment
| Rate Change ($300k, 30y) | Monthly Payment | Total Interest |
|---|---|---|
| 5.5% | $1,703 | $313,080 |
| 6.8% | $1,953 | $403,080 |
| 7.5% | $2,098 | $455,280 |
| Term Change ($300k, 6.8%) | Monthly Payment | Total Interest |
|---|---|---|
| 15 years | $2,660 | $178,800 |
| 30 years | $1,953 | $403,080 |
A small rate shift can cost $50,000+ extra. See how interest rates affect total cost. Cutting your term from 30 to 15 years saves a staggering $224,280. Verify this with our total interest calculator.
Frequently Asked Questions
What is the formula for calculating a monthly loan payment?
The standard monthly payment formula is M = P * [r(1+r)^n] / [(1+r)^n − 1]. It ensures your payment covers the month's interest and reduces the principal balance to zero over the term.
How do I calculate my mortgage payment manually?
Identify your principal, monthly rate (annual ÷ 12), and total months. Apply the formula above. The result is principal and interest only.
Why does my early payment go mostly to interest?
Interest is calculated on your remaining balance. Since your balance is highest at the beginning, your interest charges are also at their peak.
What happens if I extend the loan term?
Extending the term lowers your monthly commitment but gives interest more time to compound, massively increasing your total lifetime cost.
Is the monthly payment formula the same for all loan types?
Yes, for most fixed-rate amortizing loans like mortgages, car loans, and personal loans, the formula is identical.