Mortgage Calculator
Calculate your monthly mortgage payment, total interest paid, and true all-in cost including taxes, insurance, and PMI. Every number updates instantly as you adjust the sliders.
What this calculator tells you
Most mortgage calculators show you one number: the monthly payment. This one shows the full financial picture -- monthly principal and interest (P&I), the true all-in monthly cost including taxes and insurance, a breakdown of what percentage goes to interest versus principal, and a complete amortization schedule. Understanding the difference between your P&I payment and your all-in payment is one of the most common areas where first-time buyers get surprised after closing.
How the monthly payment is calculated
Your principal and interest payment is derived from the standard amortization formula:
M = P x [r(1+r)^n] / [(1+r)^n - 1]
Where P is the loan amount, r is the monthly interest rate (annual rate divided by 12), and n is the total number of monthly payments. On a $400,000 loan at 7% for 30 years, this produces a monthly P&I payment of $2,661. The same payment is due every single month, but the split between interest and principal shifts continuously -- more goes to interest early in the loan, and more goes to principal later. This is called amortization front-loading, and it is the reason why paying extra in the early years has an outsized impact on your total cost.
Real-world example: The Martinez family
Consider a family purchasing a $450,000 home with 10% down at a 7% rate over 30 years. Their loan amount is $405,000. Their base P&I payment works out to $2,694 per month. But their true all-in monthly cost includes property taxes ($413/month at 1.1%), homeowners insurance ($150/month), and PMI of approximately $236/month because their down payment was under 20%. Their actual monthly housing cost is $3,493 -- 30% higher than the P&I payment alone. In this example the balance reaches 80 percent of the original value at month 101, about year 8.4, and they can ask the servicer to cancel PMI if they are current and meet the other conditions. If they do not ask, it ends automatically at 78 percent, around month 115, about year 9.6. Once PMI ends, their all-in payment drops to $3,257.
Common mistakes when reading mortgage numbers
Budgeting from P&I only: Always calculate your true all-in cost before deciding what you can afford. Taxes and insurance can add $400 to $800 per month on a typical home purchase.
Ignoring total interest: A 30-year loan at 7% on a $400,000 balance costs about $558,000 in interest. The total you repay, about $958,000, is more than two times the amount you borrowed.
Comparing loans by monthly payment alone: A longer term always produces a lower monthly payment, but a 30-year loan costs dramatically more in total interest than a 15-year loan. Compare total cost paid, not just the monthly number.
Not shopping multiple lenders: A 0.5% difference in rate on a $400,000 mortgage is worth roughly $48,000 over 30 years. Getting quotes from three or more lenders takes a few hours and can save tens of thousands of dollars.
How to use this calculator
Enter your home price and adjust the down payment percentage. Your loan amount updates automatically. Set the interest rate to what you expect to qualify for -- check our credit score guide if you are unsure. Choose your loan term (30 years is the most common; 15 years costs less in total interest but requires a higher monthly payment). Add your estimated property tax rate, monthly insurance cost, and PMI rate if your down payment is under 20%. Every output updates in real time.
Frequently asked questions
How is a monthly mortgage payment calculated?
Your monthly P&I payment uses the amortization formula: M = P x [r(1+r)^n] / [(1+r)^n - 1], where P is the loan amount, r is the monthly rate (annual rate divided by 12), and n is total number of payments. Your all-in monthly cost also includes property taxes, homeowners insurance, and PMI if your down payment is under 20%.
What is the difference between interest rate and APR?
The interest rate is the base annual cost to borrow. APR (Annual Percentage Rate) includes the interest rate plus lender fees and points, expressing the true cost as a single number. Always compare APRs when shopping lenders -- a lower rate with high fees can cost more than a slightly higher rate with no fees.
How much does a 0.5% rate difference actually cost?
On a $400,000 30-year mortgage, a 0.5% rate difference changes your monthly payment by about $133 and your total interest by roughly $48,000. This is why shopping multiple lenders and improving your credit score before applying can be worth tens of thousands of dollars.
When does PMI go away?
PMI is required when your down payment is less than 20%. By law, lenders must automatically cancel PMI when your loan balance reaches 78% of the original home value. You can request cancellation at 80% LTV. FHA loans have different rules -- MIP lasts the life of the loan when the down payment is under 10%, and 11 years at 10% down or more.
What credit score do I need for a good mortgage rate?
Many lenders look for a credit score of at least 620 on conventional loans, but Fannie Mae no longer sets a 620 minimum for loans approved through its automated system, so requirements vary by lender and loan. Higher scores generally earn better pricing. As an illustration, each 0.5 percentage point of extra rate on a $400,000 30 year loan at 7% adds roughly $49,000 in total interest over 30 years.
Is it better to put 20% down or invest the extra cash?
Putting 20% down eliminates PMI and reduces total interest. However, if your PMI cost is low and your investments historically return more than your mortgage rate, investing the difference can make sense. The right balance depends on your rate, your other goals and your tolerance for risk.
What happens if I pay extra on my mortgage each month?
Extra payments go directly to reducing your principal balance, which reduces future interest accrual. On a $400,000 30-year loan at 7%, paying an extra $200/month saves approximately $127,000 in interest and cuts about 5 years and 10 months off the term. Earlier extra payments have a larger impact because interest is front-loaded.
How does property tax affect my monthly payment?
Property taxes are collected monthly through your escrow account. Effective rates vary widely by state and county, so check your local rate. As an illustration, at a 1.1% rate a $400,000 home pays roughly $367 per month in taxes on top of your P&I payment.
Calculations are estimates for educational purposes only and do not constitute financial advice. Actual loan terms, rates, and costs are determined by licensed lenders. Consult a licensed mortgage professional before making any financing decision.
How the Mortgage Calculator Works, With Worked Examples
Written by De Van Do. Last reviewed October 25, 2026.
The payment formula in plain English
The principal and interest payment on a fixed-rate mortgage is the same every month. It is set so that, after the last payment, the balance is exactly zero. Each month the lender charges interest on the balance you still owe, and whatever is left of your payment reduces the balance.
Here is the default loan on this page. The home costs $400,000 and 20 percent is paid up front, so the loan is $320,000. At 7.00 percent for 30 years the payment is $2,128.97. In the first month, interest on $320,000 is $1,866.67, so only $262.30 of that payment reduces the balance. The balance falls slowly at first and faster later. After five years it is still $301,221, and after ten years it is $274,600. That slow start is why the first years of a mortgage feel like renting from the lender. The amortization page shows the full schedule for any loan you enter.
What the down payment slider does
A larger down payment shrinks the loan, which lowers the payment and the total interest. On the same $400,000 home at 7.00 percent for 30 years:
20 percent down: loan $320,000, payment $2,128.97, total interest $446,428.
10 percent down: loan $360,000, payment $2,395.09, total interest $502,232.
5 percent down: loan $380,000, payment $2,528.15, total interest $530,134.
3 percent down: loan $388,000, payment $2,581.37, total interest $541,295.
Moving from 20 percent down to 10 percent adds $266.12 to the monthly payment and about $55,800 of lifetime interest. It also usually brings a cost this calculator does not include. The CFPB explains that private mortgage insurance may be required on a conventional loan when you put down less than 20 percent, and that it is typically added to your monthly payment. The article on PMI explains how it is removed. If you plan to put down less than 20 percent, add the mortgage insurance quote from your lender to the total on this page.
What the interest rate slider does
The rate has the largest effect of any input you do not control. On the $320,000 loan over 30 years:
6.00 percent: payment $1,918.56, total interest $370,682.
6.50 percent: payment $2,022.62, total interest $408,142.
7.00 percent: payment $2,128.97, total interest $446,428.
7.50 percent: payment $2,237.49, total interest $485,495.
8.00 percent: payment $2,348.05, total interest $525,297.
Each half point is worth roughly $105 to $110 a month and $37,000 to $40,000 of interest over the life of the loan. For a sense of where real rates stand, Freddie Mac's weekly survey reported an average 30-year fixed rate of 7.32 percent as of October 22, 2026. That survey is an average for borrowers with good or excellent credit and 20 percent down, and it does not report points or fees, so use it as a rough reference and not as a quote.
What the loan term buttons do
The term buttons change how many years the payment is spread over. Using the same $320,000 loan at 7.00 percent:
30 years: payment $2,128.97, total interest $446,428.
25 years: payment $2,261.69, total interest $358,508.
20 years: payment $2,480.96, total interest $275,430.
15 years: payment $2,876.25, total interest $197,725.
10 years: payment $3,715.47, total interest $125,857.
The pattern matches what the CFPB says about loan terms: shorter terms generally cost less overall but have higher monthly payments. This table holds the rate constant at 7.00 percent for every term to isolate the effect of time. In practice lenders often quote lower rates on shorter terms, which would improve the shorter rows further. The article comparing 15-year and 30-year loans works through that case.
Property tax and insurance
The calculator adds monthly property tax and homeowners insurance to the payment because lenders and budgets care about the full housing cost. The default property tax rate of 1.1 percent of the price is a planning assumption. Census Bureau survey data for 2024 implies a national figure of about 0.9 percent, which is a ratio of median real estate taxes to median home values and not an official rate, and it ranges from about 0.3 percent in Hawaii to about 1.9 percent in New Jersey and Illinois. On a $400,000 home the default of 1.1 percent comes to $4,400 a year, or $366.67 a month. At 0.3 percent it would be $100 a month, and at 1.9 percent it would be $633.33 a month. That spread of about $533 a month is larger than the roughly $210 to $220 a month that a full point of interest rate adds to this loan, so replace the default with the actual tax rate for the county you are considering.
The default insurance figure is $150 a month. For context, the National Association of Insurance Commissioners reported a countrywide average premium of $1,737 a year for the common HO-3 homeowners policy in its 2023 data, published in July 2026. That is about $145 a month. Premiums vary a great deal by state and have risen since 2023, so get a real quote.
With the defaults, the all-in monthly cost is $2,128.97 in principal and interest, $366.67 in tax, and $150 in insurance, which is about $2,646 a month.
Three common mistakes when using any payment calculator
The first mistake is comparing payments instead of costs. A 15-year loan at 7.00 percent has a payment of $2,876.25 against $2,128.97 for the 30-year loan, which is $747.28 more each month. That looks expensive until you see that total interest falls from $446,428 to $197,725. A lower payment and a lower cost are different goals, and the right choice depends on which one your budget needs.
The second mistake is stopping at principal and interest. With the default inputs, the all-in monthly cost of about $2,646 is roughly 24 percent higher than the $2,129 principal and interest payment. If you plan your budget around the smaller number, taxes and insurance will arrive as a surprise.
The third mistake is treating a rate as exact when it is rounded. A quote of 7.125 percent instead of 7.00 percent raises the payment on this loan by about $27 a month and adds roughly $9,700 of interest over 30 years. Small differences in the rate you type in produce visible differences in the answer, so use the exact rate from your quote.
What this calculator leaves out
A payment estimate is not a loan offer. This calculator does not include mortgage insurance, homeowners association dues, flood insurance, maintenance, utilities, or closing costs. It assumes a fixed rate for the full term and does not model adjustable-rate loans. It does not know your credit score, your income, or your lender's rules, so it cannot tell you whether you would be approved.
It also assumes that every payment is made on time and that nothing is paid extra. If you plan to pay extra each month, the extra payment article shows how much time and interest that saves.
How to check the result against a real quote
When a lender gives you a Loan Estimate, compare three numbers with this page. First, the loan amount, which should equal the price minus your down payment unless fees are being financed. Second, the interest rate and term. Third, the monthly principal and interest figure. Enter the same loan amount, rate, and term here. If the lender's principal and interest payment differs from the calculator by more than a dollar or so, ask why. The difference could be a rounding convention, a different term, or a different loan amount.
The totals the lender shows for taxes, insurance, and mortgage insurance are estimates too. Compare them with the tax and insurance values you entered, and adjust the sliders until the all-in number matches. That is the quickest way to see which of your assumptions was off.
Sources
Facts, limits and rules on this page were checked against these primary sources on October 25, 2026.
- Freddie Mac, Mortgage Rates (Primary Mortgage Market Survey) (rate as of October 22, 2026)
- CFPB, Understand the different kinds of loans available (page last modified February 18, 2026)
- CFPB, What is private mortgage insurance?
- U.S. Census Bureau, American Community Survey 2024 1-year, median real estate taxes paid (table B25103) (the 0.9 percent figure is derived by dividing by median home value, table B25077)
- NAIC, Homeowners Insurance Report, data for 2023 (published July 2026)