Ever wonder how a lender turns your loan amount into one fixed monthly bill? The answer is a single formula. It uses three numbers: the amount you borrow, the interest rate, and the loan length.
This guide shows you how to calculate a mortgage payment step by step. You will see the formula, a full worked example, and the parts most people forget.
The same math also covers car loans and personal loans. In many countries this is called the EMI, or equated monthly installment. In the United States, lenders call it principal and interest, or P&I.
The Mortgage Payment Formula
Your monthly payment comes from one standard equation. It spreads the loan evenly across every month of the term. The result covers only principal and interest, not taxes or insurance.
Here is the formula lenders use:
M = P × [ r(1+r)n ] / [ (1+r)n − 1 ]
Each letter stands for one input:
- M is your monthly payment (principal and interest only).
- P is the principal, the amount you actually borrow.
- r is the monthly interest rate. Take the annual rate and divide by 12.
- n is the number of payments. Multiply the years by 12.
A 30-year loan has 360 monthly payments. A 15-year loan has 180. The higher the rate or the longer the term, the more interest you pay overall.
A Fully Worked Example ($300,000)
Let us run real numbers. Say you borrow $300,000 at a 6.5% annual rate for 30 years. Follow these steps to find the payment.
- Find the monthly rate (r). Divide 6.5% by 12. That gives 0.065 / 12 = 0.00541667.
- Find the number of payments (n). Multiply 30 years by 12 months. That gives 360.
- Raise (1+r) to the power n. (1.00541667)360 = about 6.99154.
- Plug it in. M = 300,000 × [0.00541667 × 6.99154] / [6.99154 − 1].
The math works out to a payment of about $1,896 per month. Over the full 360 months, you pay roughly $682,632 in total. That means about $382,632 goes to interest alone.
Skip the math. Use our free Mortgage Calculator or the Loan EMI Calculator, and check what you can borrow with the Mortgage Affordability Calculator.
What Your Payment Does Not Include
The formula gives you principal and interest only. Your real monthly bill is usually larger. Lenders often bundle in taxes and insurance too.
The Consumer Financial Protection Bureau uses the term PITI. It stands for four parts (CFPB):
- Principal, the part that lowers your balance.
- Interest, the cost of borrowing.
- Taxes, usually property taxes.
- Insurance, such as homeowners coverage.
Taxes and insurance are often collected through an escrow account. The lender holds the money and pays those bills for you.
Two other costs may also appear. Private mortgage insurance, or PMI, can apply if your down payment is small. Homeowners association fees, or HOA dues, apply in some communities. These are separate items and are not part of the CFPB’s PITI acronym.
APR vs Interest Rate: What Is the Difference?
These two numbers look similar but mean different things. Mixing them up can cost you money. The payment formula uses the interest rate, not the APR.
The interest rate is the yearly cost to borrow the money, shown as a percent. It does not include lender fees. The APR, or annual percentage rate, is broader (CFPB).
The APR adds in costs like discount points and broker fees. Because it includes those charges, the APR is usually higher than the interest rate.
Here is the simple rule:
- Use the interest rate when you calculate the monthly payment.
- Compare the APR against another loan’s APR to judge total cost.
Always compare APR to APR from different lenders. That keeps the comparison fair.
How Does Amortization Work?
Amortization is the schedule that pays off your loan over time. Your payment stays the same, but the split changes. Early on, most of it is interest.
According to Freddie Mac, early payments go mostly toward interest, while later payments go mostly toward principal (Freddie Mac). As your balance shrinks, less interest is charged each month.
In our $300,000 example, the first payment includes $1,625 of interest and only $271 of principal. Decades later, that flips. Near the end, almost every dollar reduces the balance.
How Do Extra Payments Help?
Paying extra toward principal is one of the fastest ways to save. It shortens your term and cuts total interest. Freddie Mac confirms this benefit (Freddie Mac).
Every extra dollar goes straight against the balance. A smaller balance means less interest is charged next month. That effect builds over the life of the loan.
You can apply extra money in a few ways:
- Add a fixed amount to each monthly payment.
- Make one extra full payment each year.
- Round every payment up to the next hundred.
Ask your lender to apply extra funds to principal, not next month’s bill. Also check that your loan has no prepayment penalty. To see the impact, try our Refinance Calculator when comparing new terms.
Down Payment and PMI Explained
Your down payment shapes both the loan size and the monthly cost. A larger down payment lowers your payment and can make the loan cheaper (CFPB). Most conventional loans need at least 3%, and often 5% or more.
If you put down less than 20% on a conventional loan, lenders usually require PMI. This protects the lender, not you. The good news is that PMI does not last forever.
The Homeowners Protection Act of 1998 sets clear rules (CFPB):
- You can request cancellation once your balance reaches 80% of the original value.
- PMI must auto-terminate at 78% of the original value, if you are current on payments.
Want to plan your upfront cash? Our Down Payment Calculator can help you set a target.
How Much Mortgage Can You Afford?
Affordability starts with your debt-to-income ratio, or DTI. It compares your monthly debt to your gross monthly income. Lenders use it to judge risk, and limits vary by lender (CFPB).
To find your DTI, divide total monthly debt by gross monthly income. Then multiply by 100 to get a percent. Lower numbers usually help your approval odds.
A common industry guideline is the 28/36 rule. It is a guideline from the mortgage industry, not a federal law:
- 28% or less of gross income on housing costs.
- 36% or less on total monthly debt.
Some qualified mortgage rules have historically referenced a 43% back-end limit. Treat these numbers as targets, not hard cutoffs. In the UK, this loan type is often called a capital and repayment mortgage (MoneyHelper).
Frequently Asked Questions
How Is a Mortgage Payment Calculated?
A mortgage payment uses the formula M = P × [ r(1+r)n ] / [ (1+r)n − 1 ]. Here P is the loan amount, r is the monthly rate, and n is the number of payments. The result covers principal and interest only.
What Is the Difference Between APR and Interest Rate?
The interest rate is the yearly cost to borrow, with no fees included. The APR is broader and adds costs like points and broker fees, so it is usually higher (CFPB). Use the interest rate for the payment math.
Does a Bigger Down Payment Lower My Payment?
Yes. A larger down payment means you borrow less, which lowers your monthly payment. It can also make the loan cheaper and may remove PMI (CFPB). Most conventional loans need at least 3% down.
How Do Extra Payments Help?
Extra payments go straight to your principal balance. A smaller balance means less interest is charged going forward. Over time, this shortens your term and lowers total interest (Freddie Mac).
When Can I Stop Paying PMI?
You can request PMI cancellation once your balance hits 80% of the original value. It must auto-terminate at 78% if you are current on payments (CFPB). This follows the Homeowners Protection Act of 1998.
Reviewed by Prof. Dr. Khalil Mudassar, PhD
This guide is for general education only. It is not financial, tax, or lending advice. Loan terms, rates, taxes, and insurance vary by lender, location, and date. Calculator results are estimates. Talk to a qualified mortgage professional before making decisions.