Mortgage Calculator - PITI with PMI & HOA, Stress Test

Mortgage Details

PITI with PMI and HOA, the amortization schedule, and a stress test for a higher rate or rising taxes, plus affordability, rent vs buy and refinance modes.

Enter home price

Set your down payment

Enter the interest rate

Choose your loan term

The payment shown assumes a fixed rate plus the tax and insurance figures you entered, while actual underwriting can require a different down payment, PMI rate, or escrow cushion. Get a Loan Estimate from a lender before treating this as your real payment.

Formulas and sources

Each formula this calculator uses, where it comes from, and what it leaves out. "How it works" shows the same formula with your own numbers.

Total monthly payment

Standard, Rent vs Buy and Stress Test modes

M = P × (r(1+r)^n) ÷ ((1+r)^n - 1) + taxes + insurance + PMI + HOA
M
total monthly payment
P
loan amount: the price less the down payment
r
monthly rate: the annual rate ÷ 12
n
number of monthly payments: the term in years × 12
taxes + insurance + PMI + HOA
one twelfth of the yearly property tax and home insurance, plus monthly PMI (private mortgage insurance) and HOA (homeowners association) dues

The first part is principal and interest; at a 0% rate it is P ÷ n. Total cost counts PMI only until it ends, as set out below.

Source: Standard formula; no single publisher.

When PMI ends

Standard and Rent vs Buy modes

If the borrower is current, PMI ends automatically when the original payment schedule reaches 78% of the home's original value. It ends no later than the first day of the month after the loan's midpoint. A borrower may ask to cancel at 80%, and lenders may cancel earlier under their own rules. This calculator ends PMI at the earlier of the 78% date and the midpoint: after payment 180 at most on a 30-year loan. Extra payments move that date only if they pay off the loan first. When they bring the balance to 80% sooner, the results show when a borrower may ask. With Auto-Calculate PMI on, PMI is 0.5% of the loan a year under 20% down.

Source: Based on the Homeowners Protection Act, 12 U.S.C. 4901 and 4902 [1], as the CFPB explains it [2]. The 20% edge matches Fannie Mae's rule for mortgage insurance above 80% of the value [3]. The 0.5% rate is CalcTrail's own estimate; no publisher.

Highest home price

Affordability mode

P&I budget = Budget - property tax - insurance - PMI - HOA P = P&I budget × ((1+r)^n - 1) ÷ (r × (1+r)^n) Max Home Price = P ÷ (1 - down payment %)
P&I budget
what the monthly budget leaves for principal and interest
P
the largest loan the budget pays for
r
monthly rate: the annual rate ÷ 12
n
number of monthly payments: the term in years × 12

Property tax and home insurance are yearly percentages of the price, 1.2% and 0.5% unless you change them, and PMI is the 0.5% estimate above. All three depend on the price, so the calculator repeats the three lines until the price settles, within $100. At a 0% rate, P = P&I budget × n.

Source: Standard formula, solved for the loan; no single publisher. The tax, insurance and PMI rates are CalcTrail's own assumptions.

Refinance breakeven

Refinance mode

Breakeven (months) = (Closing costs + Points) ÷ Monthly savings
Breakeven (months)
months for the saving to repay the costs, rounded up

Monthly savings is the current principal and interest less the new. Both come from the first part of the payment formula above: the new loan is the price less the down payment, and the current one uses its balance, rate and years left. Points is their cost: 1% of the new loan for each point. With no saving there is no breakeven. The five-year net is Monthly savings × 60 - (Closing costs + Points). The Loan Calculator measures breakeven differently: it adds up the payments saved month by month.

Source: Points follow the CFPB's definition [4]. The breakeven and the five-year net are simple payback arithmetic; no single publisher.

Stress test

Stress Test mode

Stress Payment = base formula with the rate raised by the shock, in percentage points

Two more scenarios use the same formula: property tax and insurance raised by the shock percentage, and both shocks at once. The five-year cost adds up M × 12 × (1 + e)^year for years 0 to 4, where M is the total monthly payment and e the annual escalation. That grows principal and interest too, though a fixed rate keeps them level.

Source: CalcTrail's own stress scenarios; no publisher.

Readiness score

Standard, Refinance and Stress Test modes

Strong
75 to 100
Moderate
55 to 74
Tight
below 55
Down payment
35 at 20% or more, 20 at 10% or more, otherwise 10
Housing ratio
35 at 28% or less, 20 at 36% or less, otherwise 5, or 15 with no income entered
Extra payment
10 for any extra payment
Stress
20 if the payment with rates 1 point higher and tax and insurance 10% higher stays within 120% of today's, otherwise 10

The score is out of 100. The four rows after the bands show the points each part adds. The housing ratio is the total payment ÷ gross monthly income. The down payment and housing-ratio edges read the percentage as shown, to one decimal: a housing ratio shown as 28.0% scores 35.

Source: CalcTrail's own score, not a lender's; no publisher. No primary source was found for its 28% or 36% housing-ratio edges.

Rent vs buy

Rent vs Buy mode

Net cost of buying = down payment + closing costs + loan payments + PMI (until 78% of the price) + tax + insurance + HOA + 1% upkeep - tax benefit - what selling returns (value - selling costs - loan balance). Net cost of renting = rent - what the renter earns investing the same cash.

Worked year by year, as if you sold that year. Closing costs are 3% of the price, selling costs 6% of the sale and the investment return 5%, unless you change them. Upkeep is 1% of the home's value a year; tax and insurance stay flat. The renter invests the down payment and closing costs, then each year adds what owning cost beyond the rent, or draws on it when rent costs more. Money added during a year earns half a year's return. Breakeven is the first year buying's net cost is below renting's.

Source: CalcTrail's own comparison; no publisher. The tax benefit is based on IRS Publication 936 [5], simplified: it is each year's interest × your tax benefit rate. The deduction needs you to itemize, and covers interest on at most $750,000 of debt taken out after December 15, 2017 ($375,000 if married filing separately).

Sources

  1. U.S. Government Publishing Office. United States Code, Title 12, Chapter 49: Homeowners Protection, sections 4901 and 4902. 2024 edition.
  2. Consumer Financial Protection Bureau. When can I remove private mortgage insurance (PMI) from my loan? Last reviewed August 28, 2026.
  3. Fannie Mae. Selling Guide, B7-1-01: Provision of Mortgage Insurance. Page dated April 2, 2025.
  4. Consumer Financial Protection Bureau. How should I use lender credits and points (also called discount points)? Last reviewed October 19, 2023.
  5. Internal Revenue Service. Publication 936 (2025), Home Mortgage Interest Deduction, Parts I and II. For use in preparing 2025 returns.

What this calculator does not cover

  • This models a standard fixed-rate mortgage with optional PMI, tax, insurance and HOA. It does not model adjustable-rate resets, closing costs rolled into a loan (Refinance treats them as paid upfront), or the different insurance and fee rules of FHA and VA loans.
  • The federal PMI rules cover a single-family principal residence whose loan closed on or after July 29, 1999. They treat high-risk loans differently and need the borrower to be current on payments; neither is modeled here.
  • The law's original value is the lower of the price and the appraisal, and for a refinance the appraisal the lender relied on. This calculator uses the home price.

Sources checked on .

Help

Quick Start Guide

  1. Enter home price: The purchase price of the home you're considering.
  2. Set your down payment: As a percentage or dollar amount. Below 20% down, PMI is estimated automatically.
  3. Enter the interest rate: The loan's annual interest rate (the note rate; an APR also counts points and fees, so it reads higher).
  4. Choose your loan term: For example 10, 15, 20, 25 or 30 years, or any custom term.
  5. Add property costs: Property taxes, home insurance, PMI, and HOA fees.
  6. View your results: Total monthly payment (PITI) broken down into principal, interest, taxes, and insurance.
  7. Compare rent vs. buy: Switch to Rent vs Buy mode to compare long-term costs.
  8. Check a refinance or stress-test the payment: Switch to Refinance to see when a new loan repays its closing costs, or to Stress Test to see the payment if the rate or costs come in higher.

Frequently Asked Questions

The total is PITI plus PMI and HOA. Principal and interest come from the loan amount, rate and term. Property tax and home insurance count at one twelfth of the yearly amount, which matches how a lender’s escrow account collects them each month. PMI is added when the down payment is under 20%. Any HOA dues you enter are added too. PMI is filled in at 0.5% of the loan a year unless you type your own monthly figure, and the results show the month it ends. The Condominium with HOA example, a $212,500 loan at 6.25% over 30 years, comes to $2,063.61 a month. That is $1,308.40 principal and interest, $250 property tax, $66.67 insurance, $88.54 PMI and $350 HOA, with PMI ending about six years in.

Related Calculators

Last updated