To calculate your monthly fixed-rate mortgage principal and interest payment, use the standard amortization annuity formula:
Simple Mortgage Calculator Formula (Principal & Interest)
Where M is your monthly principal and interest payment, P is the loan principal, r is the monthly interest rate, and n is the total number of monthly payments.
On a standard $400,000 home with a 20% down payment ($80,000) and a $320,000 loan at a 6.5% annual interest rate over 30 years (360 payments), the monthly principal and interest payment is exactly $2,022.62.
This formula calculates principal and interest (P&I) only. Your complete monthly housing expenditure—commonly abbreviated as PITI—also incorporates property taxes, homeowners hazard insurance, and any required private mortgage insurance (PMI) or homeowners association (HOA) fees.
| Symbol | Variable Definition | Example Value ($320,000 Loan) |
|---|---|---|
| M | Monthly principal and interest payment | $2,022.62 |
| P | Principal loan amount (purchase price minus down payment) | $320,000 |
| r | Monthly interest rate as a decimal (annual rate ÷ 12) | 0.0054167 (0.065 ÷ 12) |
| n | Total number of monthly payments across loan term (years × 12) | 360 (30 years × 12) |
Whether you are planning a home purchase, verifying an estimate from your loan officer, or calculating your budget on paper, this guide explains every calculation method: by hand, using a standard regular calculator, or using a specialized financial calculator. If you want an instant interactive calculation with dynamic amortization schedules, you can test scenarios in our free mortgage payment calculator.
Try the Interactive Calculator
Calculate your monthly principal and interest, property taxes, homeowners insurance, and PMI with full amortization schedules.
Simple Mortgage Calculator Formula (Principal & Interest)
The standard fixed-rate mortgage equation is based on the annuity formula. It is designed so that every monthly payment is identical in amount, while the internal composition of that payment changes each month.
Early in the term, the majority of your payment covers accrued interest on the large unpaid balance. Later in the term, as the principal balance decreases, less interest accrues each month, allowing a greater portion of each payment to clear the principal until the loan balance reaches exactly zero on the final month.
Here is the algebraic expression written in full:
M = P x [ r(1 + r)^n ] / [ (1 + r)^n - 1 ] Where: M = Monthly payment P = Principal loan amount ($320,000) r = Periodic monthly interest rate (0.065 / 12 = 0.0054167) n = Total payment periods (30 years x 12 = 360 months)
Mathematical edge case: 0% interest rate. If an interest rate is exactly 0% (such as zero-interest family financing or non-profit housing grants), this formula produces 0 / 0 (undefined) because (1+0)^n - 1 = 0. For a zero-interest loan, the correct formula simplifies to linear division: M = P / n.
How to calculate a mortgage payment by hand
Calculating a mortgage payment by hand using scratch paper and basic arithmetic is straightforward when you break the annuity equation into distinct, sequential steps. We will solve for a standard $320,000 mortgage at a 6.5% interest rate over a 30-year term.
Step 1: Determine the monthly interest rate (r)
Lenders quote interest as an annual percentage rate (APR). Because mortgage payments are made monthly, divide the annual percentage by 12 and convert it to a decimal:
Annual Rate = 6.5% = 0.065 r = 0.065 / 12 r = 0.005416667 (approx 0.0054167)
Step 2: Determine the total number of monthly payments (n)
Multiply the term of your mortgage in years by 12 months per year:
n = 30 years x 12 months/year n = 360 monthly payments
Step 3: Compute the compound growth factor: (1 + r)ⁿ
Add 1 to the monthly interest rate, then raise that value to the 360th power:
1 + r = 1 + 0.005416667 = 1.005416667 (1 + r)^n = (1.005416667)^360 (1 + r)^n ≈ 6.991798
This value (approximately 6.9918) reflects the total compounding multiplier over 30 years.
Step 4: Calculate the numerator: r × (1 + r)ⁿ
Multiply the monthly interest rate by the compound growth factor:
Numerator = r x (1 + r)^n Numerator = 0.005416667 x 6.991798 Numerator ≈ 0.0378722
Step 5: Calculate the denominator: (1 + r)ⁿ − 1
Subtract 1 from the compound growth factor:
Denominator = (1 + r)^n - 1 Denominator = 6.991798 - 1 Denominator ≈ 5.991798
Step 6: Compute the monthly amortization factor
Divide the numerator by the denominator:
Monthly Factor = Numerator / Denominator Monthly Factor = 0.0378722 / 5.991798 Monthly Factor ≈ 0.00632068
Step 7: Multiply by the loan principal (P)
Multiply the monthly amortization factor by the borrowed loan amount ($320,000):
M = P x Monthly Factor M = 320,000 x 0.00632068 M = $2,022.62
Your monthly principal and interest payment is $2,022.62.
How to calculate on a regular calculator
You do not need a specialized accounting machine to compute your payment. Any standard desktop, scientific, or smartphone calculator can solve this equation if you follow the proper order of operations.
Using the same $320,000 loan at 6.5% over 30 years, follow this step-by-step keystroke sequence:
- Convert rate to monthly decimal: Type
0.065 ÷ 12 =. The display reads0.0054167. - Add one: Type
+ 1 =. The display reads1.0054167. - Apply the 360-month exponent: Press the power key (labeled
xʸ,yˣ, or^), enter360, and press=. The display reads6.9918. - Store this value: Press the memory store key (
MSorM+) or jot down6.9918on paper. - Compute the numerator: Multiply by the monthly interest rate:
× 0.005416667 =. The display reads0.037872. - Divide by the denominator: Press
÷ ( 6.9918 − 1 ) =(or divide by5.9918). The display reads0.0063207. - Multiply by the loan principal: Press
× 320000 =. The display reads 2022.62.
If your phone or scientific calculator supports full-line mathematical input with parentheses, you can enter the entire equation in one continuous line:
320000 x (0.0054167 x (1.0054167 ^ 360)) / ((1.0054167 ^ 360) - 1)
Press = to get the exact payment of $2,022.62.
How to calculate on a financial calculator
Dedicated financial calculators—such as the Texas Instruments BA II Plus or Hewlett-Packard HP 12C—contain specialized Time Value of Money (TVM) registers that eliminate the need to calculate exponents manually.
Standard TVM Register Inputs
For our $320,000 mortgage at 6.5% over 30 years, set your 5 TVM variables as follows:
| TVM Key | Register Name | Value to Enter | Notes |
|---|---|---|---|
| N | Total Payment Periods | 360 | 30 years × 12 months |
| PV | Present Value (Loan Principal) | 320000 | Positive cash inflow (borrowed money) |
| FV | Future Value | 0 | Loan balance is fully paid off at maturity |
| I/Y | Interest Rate Per Year | 6.5 or 0.54167 | Depends on your P/Y setting (see below) |
| PMT | Monthly Payment | [Compute] | Displays as -2,022.62 |
Important: Payment Frequency (P/Y) vs. Periodic Rate
Different financial calculator models handle compounding periods differently. Before computing, verify your calculator's frequency settings:
- Calculators with P/Y = 12 (e.g., TI BA II Plus default): If your calculator is set to 12 payments per year (
[2nd] [P/Y] 12 [ENTER]), enter the annual nominal rate directly intoI/Y: press6.5 [I/Y]. The calculator internally divides by 12. - Calculators with P/Y = 1 (e.g., HP 12C standard or single-period mode): If your calculator expects the periodic rate directly, divide the annual rate by 12 first: enter
0.54167 [i](or on an HP 12C, enter6.5 [g] [i], which automatically divides by 12, and30 [g] [n], which multiplies by 12).
The Cash Flow Sign Convention
When you press [CPT] [PMT], the screen will display -2,022.62. Financial calculators use directional cash-flow signs: money you receive is a positive cash inflow (+PV = 320,000), while payments you make to the lender are negative cash outflows (-PMT = -2,022.62). The actual monthly payment owed is $2,022.62.
Step-by-step calculation breakdown
Before house hunting or signing a mortgage agreement, understand the three fundamental levers that govern your monthly loan payment:
Step 1: Determine your loan principal (P)
Your principal is the home purchase price minus your down payment. On a $400,000 home purchase with a 20% down payment ($80,000), you finance $320,000. That $320,000 is the P in your payment formula.
Step 2: Find your interest rate (r)
Your interest rate is determined by market conditions, your credit profile, loan type (such as conventional, FHA, or VA), and your loan-to-value ratio. For current benchmark data, consult the Freddie Mac Primary Mortgage Market Survey. Divide your annual interest rate by 12 to establish your monthly periodic rate.
Step 3: Choose your loan term (n)
The standard choices in residential financing are 15-year and 30-year fixed terms. A 15-year term requires a higher monthly payment but saves substantial interest. A 30-year term provides lower required monthly cash outlays but accrues significantly more interest over time.
Step 4: Calculate the monthly P&I payment
Input your principal, monthly rate, and payment count into the annuity equation. For our $320,000 mortgage at 6.5% over 360 months, the base principal and interest is $2,022.62 per month.
PITI: additional housing costs to budget for
The mathematical formula calculates principal and interest only. When lenders evaluate your housing affordability and set up your monthly escrow, they evaluate your full PITI payment:
- Principal: The portion of your payment that directly reduces the outstanding balance of the loan.
- Interest: The lender's finance fee for borrowing the money, computed monthly against the remaining principal balance.
- Taxes: Real estate property taxes assessed by your county or municipality, typically running between 0.5% and 2.5% of the property's assessed value annually.
- Insurance: Homeowners hazard insurance to protect the property against fire, storm, and casualty damage, plus Private Mortgage Insurance (PMI) if your down payment is under 20%.
If your home is in a managed community, condo development, or planned subdivision, monthly HOA fees sit on top of PITI. To evaluate how these costs impact your borrowing ceiling, test your budget in our home affordability calculator or review our guide on how much house you can afford.
Worked example: a $400,000 home
Let's assemble the full housing picture using standard, realistic figures for a median US residential home purchase:
| Loan Parameter | Value |
|---|---|
| Home purchase price | $400,000 |
| Down payment (20%) | $80,000 |
| Loan principal (P) | $320,000 |
| Annual interest rate (APR) | 6.50% |
| Loan term | 30 years (360 monthly payments) |
| Property tax rate (annual) | 1.20% per year ($4,800/yr) |
| Homeowners insurance (annual) | $1,200 per year |
| HOA dues | $0 |
Here is how your monthly payment breaks down between debt service and escrow:
| Payment Component | Monthly Cost |
|---|---|
| Principal and interest (P&I) | $2,022.62 |
| Property taxes ($4,800 ÷ 12) | $400.00 |
| Homeowners insurance ($1,200 ÷ 12) | $100.00 |
| HOA dues | $0.00 |
| Total monthly housing payment (PITI) | $2,522.62 |
Notice two critical observations from this realistic breakdown:
- The true monthly housing cost is ~25% higher than P&I alone. A buyer who budgets only for the $2,022.62 headline payment will find themselves $500 short each month ($6,000 annually) once escrow taxes and insurance are added.
- Total interest exceeds the borrowed loan amount. Over 30 years, 360 payments of $2,022.62 total $728,143.20. Subtracting the original $320,000 principal reveals $408,143.20 in cumulative interest. You pay more in borrowing fees than you initially borrowed.
How to use the mortgage calculator
Our free mortgage calculator executes this exact annuity algorithm instantly, while handling the elements that are tedious by hand:
- Enter home price and down payment: The tool automatically calculates loan principal and indicates whether your down payment reaches the 20% threshold to eliminate PMI.
- Adjust rate and term: Compare 15-year vs. 30-year terms and watch monthly payments and total interest update dynamically.
- Add taxes, insurance, and HOA: Input your local tax rate and annual insurance quotes to view your true PITI payment.
- Explore the month-by-month schedule: View an interactive 3D breakdown of how each installment shifts from interest to principal over time.
- Export the amortization table: Download or print the full repayment schedule to review with your lender.
Ways to lower your payment and pay off faster
Only three mathematical levers determine your loan payment: the amount you borrow, your interest rate, and your repayment term. Here is how each lever functions on our $400,000 home example:
1. Make a larger down payment
Increasing your down payment from 20% ($80,000) to 30% ($120,000) reduces your borrowed loan balance from $320,000 to $280,000.
| Down Payment | Loan Principal | Monthly P&I | Total Interest |
|---|---|---|---|
| 20% ($80,000) | $320,000 | $2,022.62 | $408,143 |
| 30% ($120,000) | $280,000 | $1,769.79 | $357,125 |
A 30% down payment saves $252.83 per month and eliminates over $51,000 in interest over the life of the mortgage.
2. Improve your credit score
Lenders price mortgage rates in tiers based on FICO scores. Raising your credit profile from fair (660) to excellent (760+) can reduce your interest rate by 0.50% to 1.00%. On our $320,000 loan, reducing your rate from 6.5% to 5.5% lowers your payment from $2,022.62 to $1,816.92—saving $205.70 every single month ($74,052 across the term).
3. Choose a 15-year term
Selecting a 15-year term accelerates principal reduction and typically earns a 0.5% lower rate. On a $320,000 loan at 6.0%:
| Loan Term | Rate | Monthly P&I | Total Interest |
|---|---|---|---|
| 30 Years | 6.50% | $2,022.62 | $408,143 |
| 15 Years | 6.00% | $2,700.33 | $166,059 |
While the 15-year payment is $677.71 higher per month, it eliminates 15 years of debt and saves an astounding $242,084 in total interest.
4. Make extra principal payments
If a 15-year commitment feels too restrictive, you can achieve similar savings voluntarily on a 30-year loan. Adding an extra $200 per month directly to principal reduces your payoff timeline from 30 years down to 23.4 years (saving 79 months) and saves over $105,000 in interest ($105,429).
To model how extra monthly installments, annual tax refund contributions, or biweekly schedules accelerate your payoff timeline, use our dedicated Extra Mortgage Payment Calculator to estimate your exact interest savings and new debt-free date. You can also explore our detailed guide on 5 ways to pay off your mortgage faster.
5. Buy a less expensive property
Choosing a $350,000 home over a $400,000 home lowers your required 20% down payment from $80,000 to $70,000 and reduces your monthly loan principal to $280,000. It also lowers ongoing property taxes and insurance bills proportionately.
Common mortgage payment mistakes
- Budgeting only for principal and interest: Overlooking property taxes, home insurance, and HOA dues leaves home buyers short by hundreds of dollars per month. Always verify full PITI.
- Forgetting PMI when putting down less than 20%: Putting down 5% or 10% requires Private Mortgage Insurance, adding $100 to $250 monthly until you reach 20% equity.
- Ignoring your Debt-to-Income (DTI) ratio: Lenders limit total monthly debts to 36% to 43% of gross income. Read our guide to the debt-to-income ratio to check your approval limits.
- Accepting the first rate quote: Mortgage rates vary across lenders. A 0.25% difference saves thousands over the life of a loan. Compare offers using our guide to understanding APR.
Key takeaways
Calculating a mortgage payment is based on the standard amortization annuity formula:
M = P x [ r(1 + r)^n ] / [ (1 + r)^n - 1 ]
On a standard $400,000 home with 20% down ($320,000 borrowed) at 6.5% interest over 30 years, your base principal and interest payment is $2,022.62 per month. When planning your household finances, remember that property taxes and homeowners insurance typically add 20% to 25% on top of this amount, bringing true housing costs to approximately $2,522.62.
Ready to model your loan? Test your numbers in our free mortgage payment calculator to see full amortization schedules, or evaluate accelerated payoff scenarios with our extra mortgage payment calculator.
Frequently Asked Questions
The standard fixed-rate mortgage payment formula is
M = P × [r(1+r)ⁿ] / [(1+r)ⁿ − 1], where M is your monthly principal and interest payment, P is the loan principal, r is the monthly interest rate (annual interest rate divided by 12), and n is the total number of monthly payments (loan term in years multiplied by 12).To calculate by hand, first find your monthly rate r (annual rate ÷ 12) and total months n (years × 12). Next, calculate the compound factor
(1 + r)ⁿ. Compute the numeratorr × (1 + r)ⁿand the denominator(1 + r)ⁿ − 1. Divide the numerator by the denominator to find your monthly factor, then multiply that factor by your loan principal (P). For example, on a $320,000 loan at 6.5% over 30 years, the monthly payment is $2,022.62.On a financial calculator (such as a TI BA II Plus or HP 12C), enter the total months into N (e.g., 360), the borrowed amount into PV (e.g., 320000), and 0 into FV. If your calculator is set to 12 payments per year (P/Y = 12), enter the annual rate into I/Y (e.g., 6.5). If your calculator uses periodic monthly compounding, enter
0.54167into i. Press[CPT] [PMT]to compute the monthly payment ($2,022.62).No. The mathematical formula calculates principal and interest (P&I) only. Complete monthly housing costs (PITI) also include local property taxes, homeowners insurance, private mortgage insurance (PMI) if your down payment was below 20%, and any HOA dues. These additional items typically increase your monthly housing outlay by 20% to 30%.
Yes. Any payment designated as "principal-only" directly reduces your outstanding loan balance. Because interest is charged monthly on your remaining principal, paying extra reduces future interest accrual and allows scheduled payments to retire the loan years earlier. You can model interest savings and payoff dates with our Extra Mortgage Payment Calculator.
Keep Reading
- Fixed vs Variable Interest Rates: Which is Better? (2026)Fixed vs variable interest rate: compare pros, cons, and monthly risks. Learn when to choose a fixed or variable rate loan in 2026. Calculate payments now.Read Article
- Debt-to-Income Ratio (DTI): What It Is & How to CalculateWhat is debt-to-income ratio? Learn how to calculate your front-end and back-end DTI ratio, qualify for a mortgage, and lower debt. Calculate your DTI now.Read Article
- How Much House Can I Afford? Income Rules & Affordability GuideHow much house can you afford? Use the 28/36 rule, salary benchmark tables, and debt ratios to calculate your home buying budget and monthly payment limits.Read Article
- How to Pay Off Your Mortgage Faster: 7 Proven Strategies + CalculatorLearn how to pay off your mortgage faster with extra principal payments, biweekly payments, and lump sums. Run the math on our free mortgage payoff calculator.Read Article
- When to Refinance Your Mortgage: Break-Even Formula & CalculatorCalculate your refinance break-even point: compare closing costs vs monthly savings, avoid the term-reset trap, and estimate on our free refinance calculator.Read Article
Numbers are easier when you can move them
Run the same formula on your own price, down payment, rate and term, with a full month-by-month amortization schedule and every cost broken out. Test different rate scenarios, loan terms, and prepayment amounts in seconds.