CalcOpenly

Mortgage calculator

Estimate your monthly mortgage payment with property tax, insurance, HOA and PMI, plus the amortization schedule and savings from extra payments.

Updated Checked against 5 worked examples

$
%
%
years
%
$
$
%
Charged while the loan balance is above 80% of the home price, and never past the loan's midpoint.
More options
$
Try
Total monthly payment
$
Total monthly payment: $2,917.11
Shown to 2 decimal places, half-even
Principal and interest
$2,275.44
Property tax per month
$366.67
Insurance per month
$125.00
PMI per month
$150.00
Loan amount
$360,000.00
Down payment
$40,000.00
Total interest
$459,160.16
Months of PMI
95
Total PMI paid
$14,250.00
Months to pay off
360
Total of all payments
$1,010,410.16
Property tax and insurance are held at today's amounts; in practice both usually rise over time.

You borrow $360,000.00 and pay $2,917.11 in the first month, of which $2,275.44 is principal and interest. Over 360 months interest adds $459,160.16 (127.5% of the loan), and PMI stops after month 95.

First month's payment

$2,917per month
Principal and interest78.0%Property tax12.6%Insurance4.3%PMI5.1%

Loan balance

$0$100K$200K$300K0100200300Month80% of pricePMI ends

Paid each year

$0$10K$20K$30K$40KY1Y4Y7Y10Y13Y16Y19Y22Y25Y28
PrincipalInterestTax, insurance, HOAPMI
Amortization schedule (360 rows)
MonthPrincipal + interestPrincipalInterestPMITax, insurance, HOABalance
1$2,275.44$325.44$1,950.00$150.00$491.67$359,674.56
2$2,275.44$327.21$1,948.24$150.00$491.67$359,347.35
3$2,275.44$328.98$1,946.46$150.00$491.67$359,018.37
4$2,275.44$330.76$1,944.68$150.00$491.67$358,687.61
5$2,275.44$332.55$1,942.89$150.00$491.67$358,355.05
6$2,275.44$334.36$1,941.09$150.00$491.67$358,020.70
7$2,275.44$336.17$1,939.28$150.00$491.67$357,684.53
8$2,275.44$337.99$1,937.46$150.00$491.67$357,346.54
9$2,275.44$339.82$1,935.63$150.00$491.67$357,006.73
10$2,275.44$341.66$1,933.79$150.00$491.67$356,665.07
11$2,275.44$343.51$1,931.94$150.00$491.67$356,321.56
12$2,275.44$345.37$1,930.08$150.00$491.67$355,976.19
How it's calculated S
  1. Loan amount

    L=400,000.00×(1−10100)=360,000.00L = 400{,}000.00 \times \left(1 - \frac{10}{100}\right) = 360{,}000.00
  2. Monthly rate and number of payments

    r=6.51200=0.005416666667,n=30×12=360r = \frac{6.5}{1200} = 0.005416666667,\qquad n = 30 \times 12 = 360
  3. Principal and interest

    360,000.00×r×(1+r)360(1+r)360−1=2,275.44\frac{360{,}000.00 \times r \times (1+r)^{360}}{(1+r)^{360} - 1} = 2{,}275.44
  4. Tax, insurance and HOA

    1.1%×400,000.0012+1,500.0012+0.00=491.67\frac{1.1\% \times 400{,}000.00}{12} + \frac{1{,}500.00}{12} + 0.00 = 491.67
  5. PMI

    0.5%×360,000.0012=150.00 while balance>320,000.00\frac{0.5\% \times 360{,}000.00}{12} = 150.00\ \text{while balance} > 320{,}000.00

    Charged for 95 months, until the balance falls to 80% of the price or the loan's midpoint, whichever comes first.

  6. Total monthly payment

    2,275.44+491.67+150.00=2,917.112{,}275.44 + 491.67 + 150.00 = 2{,}917.11

    Rounded half-to-even to cents for display; the schedule uses unrounded amounts and the last payment clears any residual.

About the mortgage calculator

A mortgage payment has two parts. Principal and interest come from the annuity formula M = L × r × (1 + r)^n ÷ ((1 + r)^n − 1), where L is the loan amount, r the monthly rate and n the number of payments. Property tax, homeowners insurance, HOA dues and private mortgage insurance (PMI) are added on top; lenders often collect tax and insurance through escrow, and the four main items are called PITI.

With the defaults, a 400,000 home bought with 10% down at 6.5% for 30 years, principal and interest are 2,275.44 a month and the first full payment is 2,917.11, including 366.67 of property tax, 125.00 of insurance and 150.00 of PMI. Interest over the whole term is 459,160.16.

PMI is charged until the balance reaches 80% of the price, the point at which US borrowers can ask for it to be cancelled, and never past the loan's midpoint. Tax and insurance are held at today's amounts.

Mortgage payment formula, worked by hand

Take a 375,000 home bought with 20% down, which leaves a loan of 300,000, at 7.03% for 30 years. That rate was Freddie Mac's average for a 30-year fixed mortgage in its survey published on 24 September 2026 (Primary Mortgage Market Survey).

  1. Monthly rate: r = 7.03 ÷ 1,200 = 0.0058583.
  2. Number of payments: n = 30 × 12 = 360.
  3. Growth factor: (1 + r)^360 = 8.18945.
  4. First month's interest: 300,000 × r = 1,757.50.
  5. Payment: 1,757.50 × 8.18945 ÷ (8.18945 − 1) = 2,001.96.

Adding 1.1% property tax (375,000 × 0.011 ÷ 12 = 343.75) and 1,500 a year of homeowners insurance (125.00) gives a first monthly payment of 2,470.71. Excel's =PMT(7.03%/12, 360, -300000) returns the same 2,001.96 for principal and interest.

Keep every digit of r until the end. Rounding it to 0.00586 before raising it to the 360th power makes the payment 2,002.36, 40 cents a month and about 145 over the loan.

How amortization splits each payment

Each month's interest is the balance times r, and the rest of the payment repays principal. Because the balance falls slowly at first, early payments are mostly interest. This excerpt of the schedule is for the 300,000 loan above:

PaymentInterestPrincipalBalance after
11,757.50244.46299,755.54
121,741.28260.68296,970.14
601,656.91345.04282,485.12
1201,512.09489.87257,618.54
1801,306.47695.49222,314.43
2401,014.54987.41172,191.74
300600.081,401.87101,030.51
36011.661,990.300.00

In the first five years you pay 102,602.45 of interest and repay only 17,514.88 of the loan. Principal first exceeds interest in payment 243, and the balance drops below half the loan after payment 262, almost 22 years in. Total interest is 420,703.98, 1.4 times the amount borrowed. If you expect to sell or refinance within a few years, the balance column, not the payment, tells you how much equity you will have.

Property tax, insurance, PMI and escrow

Principal, interest, taxes and insurance together are called PITI. A lender that sets up an escrow account collects the tax and insurance with each payment and pays the bills when they fall due. In the US, Regulation X lets the servicer collect one-twelfth of the expected yearly bills plus a cushion of no more than one-sixth of them (12 CFR 1024.17(c)). With 5,625 a year of tax and insurance, the cushion can reach 937.50. The CFPB notes that the escrow payment changes when tax and premiums change, while the calculator holds both at today's amounts.

A lender may require private mortgage insurance (PMI) on a conventional loan with less than 20% down (CFPB). With 5% down on the same home, the loan is 356,250, principal and interest are 2,377.32, and PMI at 0.5% a year adds 148.44 a month. The calculator stops PMI once the balance reaches 80% of the price (300,000), which happens after payment 130, for 19,296.88 in total. From that point you can ask in writing to cancel. If you never ask, the servicer must end PMI when the balance is scheduled to reach 78%, after payment 142, which costs 12 more months and 1,781.25. The CFPB defines original value as the lower of the sale price and the appraisal, so a low appraisal moves the 80% point later than the calculator shows.

In Canada, mortgage loan insurance is typically required with less than 20% down (FCAC). The premium is a percentage of the mortgage that is paid as a lump sum or added to the loan (CMHC). It is not a monthly charge that stops at 80%, so set PMI to 0. If the premium is added to the loan, lower the down payment so the loan amount includes it.

15-year vs 30-year mortgage

In the same Freddie Mac survey the 15-year average was 6.42%, 0.61 points below the 30-year rate. On the 300,000 loan:

Loan detail30 years at 7.03%15 years at 6.42%
Monthly principal and interest2,001.962,600.15
Total interest420,703.98168,026.36
Balance after 5 years282,485.12229,813.97
Balance after 10 years257,618.54133,144.90

The 15-year loan costs 598.19 more a month and 252,677.62 less in interest. Most of that saving comes from the shorter term: at 7.03% over 15 years, interest would be 186,273.42, so the lower rate saves a further 18,247.06. The 30-year loan's lower required payment leaves slack if income falls, and extra payments on it recover part of the gap, as shown below.

How the interest rate changes your payment

For a 300,000 loan:

Rate30-year payment30-year interest15-year payment15-year interest
5.0%1,610.46279,767.352,372.38127,028.56
5.5%1,703.37313,212.122,451.25141,225.07
6.0%1,798.65347,514.572,531.57155,682.69
6.5%1,896.20382,633.472,613.32170,397.98
7.0%1,995.91418,526.692,696.48185,367.27
7.5%2,097.64455,151.672,781.04200,586.67
8.0%2,201.29492,465.742,866.96216,052.13

On the 30-year loan each half point adds 93 to 104 a month and 33,400 to 37,300 of interest over the term. Payments scale with the loan, so for 450,000 multiply any row by 1.5. When comparing offers, use the note rate in this calculator: the APR also spreads points and fees over the loan, so it is usually higher than the rate (CFPB).

Extra payments and biweekly plans

Extra principal lowers the balance that every later month's interest is charged on. On the 300,000 loan at 7.03%:

Extra each monthPaid off afterTotal interestInterest saved
0360 months420,703.98none
100310 months350,842.6169,861.38
166.83285 months317,318.78103,385.20
250260 months284,497.92136,206.07
500208 months219,207.93201,496.06

The 166.83 row is one-twelfth of the monthly payment, which adds up to one extra payment a year. A biweekly plan, paying half the payment every two weeks, makes 26 half-payments a year and has close to the same effect. Entering principal and interest ÷ 12 as the extra payment models it. Check the loan note for a prepayment penalty before paying extra.

Mistakes that skew the result

  • Canadian rates. Canada's Interest Act requires a blended-payment mortgage to state its rate "calculated yearly or half-yearly, not in advance" (section 6). This calculator compounds monthly, so convert first: 12 × ((1 + rate ÷ 2)^(1/6) − 1). A 5.00% semi-annual rate is 4.9487% monthly; on 300,000 over 25 years the payment is 1,744.81, not the 1,753.77 you get by entering 5%.
  • Reading the total as permanent. The total monthly payment is the first month's. It falls by the PMI amount once PMI ends, and escrow is reset whenever tax or insurance bills change.
  • Adjustable rates. The calculator assumes one fixed rate. For an adjustable-rate loan, run it once for the fixed period and again at a plausible reset rate.
  • Currency. The currency setting changes the symbol and digit grouping, not the arithmetic. A home loan in India or the UK follows the same annuity formula; the loan EMI calculator adds tenure in months and one-off prepayments.

To work back from the payment you can afford to a loan size and price, use the loan affordability calculator. To weigh buying against renting, use the rent vs buy calculator. If you already hold a mortgage, the refinance calculator compares cash payments and the debt still owed when you expect to sell or refinance again.

Worked examples

400k home, 10% down, 6.5% for 30 years

Home price
400,000
Down payment
10%
Interest rate (per year)
6.5%
Loan term
30 years
Property tax (per year, of home price)
1.1%
Homeowners insurance (per year)
1500
HOA dues (per month)
0
PMI (per year, of loan amount)
0.5%
Extra principal every month
0
Principal and interest
2,275.44
Total monthly payment
2,917.11
PMI per month
150.00
Months of PMI
95
Total interest
459,160.16
Total PMI paid
14,250.00

Checked against: Python decimal (prec 50): annuity payment formula, closed-form balance L(1+r)^k − M((1+r)^k − 1)/r to find the first month at or below 80% of price; total interest = 360M − L

20% down — PMI never applies

Home price
400,000
Down payment
20%
Interest rate (per year)
6.5%
Loan term
30 years
Property tax (per year, of home price)
1.1%
Homeowners insurance (per year)
1500
HOA dues (per month)
0
PMI (per year, of loan amount)
0.5%
Extra principal every month
0
Principal and interest
2,022.62
Total monthly payment
2,514.28
PMI per month
0.00
Months of PMI
0
Loan amount
320,000.00

Checked against: Python decimal annuity formula: 320,000 at 6.5%/12 over 360 months = 2,022.62; balance starts at the 80% line so no PMI

Zero-rate loan with no down payment

Home price
120,000
Down payment
0%
Interest rate (per year)
0%
Loan term
10 years
Property tax (per year, of home price)
1%
Homeowners insurance (per year)
1200
HOA dues (per month)
50
PMI (per year, of loan amount)
0.6%
Extra principal every month
0
Principal and interest
1,000.00
Total monthly payment
1,310.00
Months of PMI
24
Total interest
0.00
Total PMI paid
1,440.00

Checked against: Hand calculation: 120,000/120 = 1,000; balance reaches 96,000 (80%) after 24 payments; PMI 0.6% × 120,000 / 12 = 60

PMI stops at the midpoint of the term

Home price
100,000
Down payment
0%
Interest rate (per year)
12%
Loan term
30 years
Property tax (per year, of home price)
0%
Homeowners insurance (per year)
0
HOA dues (per month)
0
PMI (per year, of loan amount)
0.5%
Extra principal every month
0
Principal and interest
1,028.61
Months of PMI
180
Total PMI paid
7,500.00

Checked against: Python decimal: the balance first reaches 80,000 after payment 209, so the Homeowners Protection Act midpoint (month 180) ends PMI; 180 × 41.67

Questions

How is a monthly mortgage payment calculated?

Principal and interest come from the annuity formula; one-twelfth of the yearly property tax and insurance, HOA dues and PMI are added on top. For a 360,000 loan at 6.5% over 30 years, r = 6.5 ÷ 1,200 and n = 360, so principal and interest are 2,275.44. Adding 1.1% tax on a 400,000 home (366.67), 1,500 a year of insurance (125.00) and 0.5% PMI (150.00) gives 2,917.11.

When can I stop paying PMI?

In the US you can ask your servicer in writing to cancel PMI once the balance is scheduled to reach 80% of the home's original value, if you are current on payments and the value has not declined. PMI ends automatically at 78%, and at the loan's midpoint in any case (CFPB, Homeowners Protection Act). On the default 30-year loan, 80% is reached after payment 95 and 78% after payment 109.

Is a 15-year or a 30-year mortgage cheaper?

A 15-year mortgage costs much less interest but has a higher monthly payment. Borrowing 360,000 at 6.5% over 30 years costs 2,275.44 a month and 459,160.16 in interest; over 15 years the payment rises to 3,135.99 and interest falls to 204,477.57, about 55% less. A lower rate on the 15-year loan widens the gap further.

How much does paying extra on a mortgage save?

Extra payments go straight to principal, so they cut both the interest and the term. Adding 200 a month to the default 360,000 loan at 6.5% pays it off in 287 months instead of 360 and saves 108,916.85 in interest. PMI also ends after 64 months instead of 95. Check your loan terms for a prepayment penalty before paying extra.

How much down payment do I need to avoid PMI?

20% of the price for a conventional loan, because the loan then starts at 80% of the home's value. On a 400,000 home, 20% down (80,000) leaves a 320,000 loan costing 2,022.62 a month in principal and interest at 6.5%, with no PMI. With 10% down the same home costs 2,275.44 plus 150.00 of PMI a month.

How accurate is the mortgage calculator?

Accuracy depends on your inputs and the method's assumptions. Decimal arithmetic uses 50 significant digits, but estimates, numerical methods and source data can be less precise; the displayed rounding does not remove those limits. It is checked against 5 worked examples whose answers come from independent sources; for example, “400k home, 10% down, 6.5% for 30 years” is checked against Python decimal (prec 50): annuity payment formula, closed-form balance L(1+r)^k − M((1+r)^k − 1)/r to find the first month at or below 80% of price; total interest = 360M − L.

Where does the method come from?

Consumer Financial Protection Bureau — When can I remove private mortgage insurance (PMI) from my loan?; Microsoft Excel PMT function.

About this calculator

M=L r (1+r)n(1+r)n−1+tax×price12+insurance12+HOA+PMI×L12⏟while balance>0.8 price and month≤n/2M = \frac{L\,r\,(1+r)^n}{(1+r)^n-1} + \frac{\text{tax}\times\text{price}}{12} + \frac{\text{insurance}}{12} + \text{HOA} + \underbrace{\frac{\text{PMI}\times L}{12}}_{\text{while balance} > 0.8\,\text{price and month} \le n/2}

Sources

  1. Consumer Financial Protection Bureau — When can I remove private mortgage insurance (PMI) from my loan?
  2. Microsoft Excel PMT function

For planning only. Lenders, tax authorities and markets apply their own rounding, fees and rules; confirm figures with them before you commit.

Checked against references

5 worked examples with independently sourced answers ship with this calculator. They run in the test suite; you can run them here too.

Related calculators

Allow optional Google Analytics to measure page visits? Calculators work either way. Privacy and choices

Optional analytics: off.