# Mortgage Guide: Payment Formula, Costs, and PMI

Understand how mortgage payments work, what the DTC mortgage calculator includes, and how taxes, insurance, PMI, and loan term affect cost.

---

- **Canonical URL:** https://dothecalculation.com/blog/finance/mortgage-guide
- **Category:** Finance
- **Author:** Do The Calculation Team
- **Published:** 2026-05-26
- **Last updated:** 2026-07-03
- **Reading time:** 13 min read
- **Publisher:** Do The Calculation (https://dothecalculation.com)
- **Methodology:** https://dothecalculation.com/methodology

---

A mortgage payment is not just one number. It can include principal, interest, property taxes, homeowners insurance, HOA dues, and private mortgage insurance. A borrower who looks only at principal and interest can underestimate the monthly cost of owning the home.

This guide follows the Do The Calculation mortgage calculator logic. The calculator estimates loan amount, down payment percentage, monthly principal and interest, PMI when the down payment is below the calculator threshold, monthly taxes, monthly insurance, HOA dues, total monthly payment, and total interest.

## Quick Answer

- Loan amount equals home price minus down payment.
- Principal and interest use the standard amortized loan payment formula.
- The DTC mortgage calculator adds property tax, insurance, HOA, and PMI to estimate monthly total.
- PMI is shown when the down payment percentage is below the calculator threshold used by the repo logic.
- A lower rate, shorter term, or larger down payment can reduce total interest, but may change cash flow.
- Use official disclosures such as the Loan Estimate and Closing Disclosure before relying on any estimate.

> **Trust and mortgage disclaimer** — This guide explains mortgage math and calculator assumptions. It is not a loan offer, underwriting decision, appraisal, legal advice, tax advice, or guarantee of available rates. Compare official Loan Estimates and speak with qualified mortgage, tax, or legal professionals when needed.

## What a Mortgage Is

A mortgage is a loan secured by real property. The borrower agrees to repay the loan over time, and the lender holds a security interest in the home. If the borrower does not meet the loan terms, the lender may have foreclosure rights subject to law and the loan documents.

The payment structure matters because the same home price can produce very different monthly and lifetime costs depending on down payment, rate, term, taxes, insurance, and mortgage insurance.

## What the DTC Mortgage Calculator Includes

**Mortgage calculator inputs and outputs**
| Item | How the calculator uses it | Why it matters |
| --- | --- | --- |
| Home price | Starting property price | Sets the base for down payment percent and loan amount. |
| Down payment | Subtracted from home price | Controls loan amount and down payment percentage. |
| Interest rate | Converted to a monthly rate | Drives principal and interest payment. |
| Loan term | Converted to number of monthly payments | Longer terms lower payment but often increase total interest. |
| Property tax and insurance | Divided by 12 and added monthly | Helps estimate full housing payment. |
| HOA dues | Added monthly | Can materially change affordability. |
| PMI | Added when calculator rules say PMI applies | Reflects mortgage insurance context for lower down payments. |

## Mortgage Payment Formula

**Principal and interest formula**

```
Loan amount = home price - down payment
Monthly rate = annual interest rate / 100 / 12
Number of payments = loan term years x 12
Principal and interest = L x [r(1 + r)^n] / [(1 + r)^n - 1]
Monthly total = P&I + PMI + taxes + insurance + HOA
```
- If the rate is zero, the calculator divides loan amount by number of payments.
- Property tax and insurance are entered annually and divided by 12.
- Total interest equals total principal and interest payments minus loan amount.

_[Figure: A mortgage payment has layers — Principal and interest is only one part of the monthly housing estimate.]_

## Worked Example

Assume a $400,000 home, $80,000 down payment, 6.5% annual interest, 30-year term, $4,800 annual property tax, $1,800 annual insurance, and no HOA dues. The DTC mortgage calculator produces these approximate outputs.

**Calculator-aligned mortgage example**
| Output | Result | Explanation |
| --- | --- | --- |
| Loan amount | $320,000 | $400,000 home price minus $80,000 down. |
| Down payment percent | 20% | $80,000 divided by $400,000. |
| Monthly principal and interest | $2,022.62 | Standard amortized payment at 6.5% for 360 months. |
| Monthly taxes | $400.00 | $4,800 divided by 12. |
| Monthly insurance | $150.00 | $1,800 divided by 12. |
| Estimated monthly total | $2,572.62 | P&I plus taxes and insurance. |
| Total interest | $408,142.36 | Total P&I payments minus $320,000 loan amount. |

Tool: [Use the Mortgage Calculator](https://dothecalculation.com/calculators/mortgage-calculator) — Estimate loan amount, monthly principal and interest, PMI, taxes, insurance, HOA, monthly total, and total interest.

## PMI, Down Payment, and LTV

Private mortgage insurance protects the lender, not the borrower, when a conventional loan has less borrower equity. CFPB explains that borrowers may request PMI cancellation when the principal balance is scheduled to reach 80% of the original home value, subject to the loan rules and servicer process. NCUA guidance describes PMI as common for high-ratio loans where LTV exceeds 80%.

The calculator estimates PMI from the repo logic, but actual mortgage insurance depends on loan type, credit profile, insurer, lender, and program rules. FHA, VA, USDA, jumbo, and portfolio loans can use different insurance or fee structures.

_[Figure: Payment components in the worked example — The total monthly estimate is larger than principal and interest alone.]_

## Use Loan Estimates Before Committing

The CFPB Loan Estimate is the official form that shows important mortgage details after applying. CFPB recommends reviewing it to make sure it matches what you discussed with the lender and requesting multiple Loan Estimates to compare options. The Closing Disclosure is the later form used near closing to confirm final costs.

Calculator results are useful before and during shopping, but official disclosures control the actual loan terms, fees, cash to close, APR, escrow details, and projected payments.

## Why Amortization Matters

An amortized mortgage payment is usually fixed for principal and interest on a fixed-rate loan, but the split changes over time. Early payments carry more interest because the balance is high. Later payments carry more principal because the balance has fallen.

Tool: [Use the Amortization Calculator](https://dothecalculation.com/calculators/amortization-calculator) — See how each payment is split between interest and principal over time.

## Common Mortgage Planning Mistakes

- Comparing only monthly principal and interest instead of full housing cost.
- Ignoring property tax, insurance, HOA dues, and PMI.
- Assuming a prequalification is the same as a final approval.
- Using one lender quote instead of comparing Loan Estimates.
- Choosing a longer term only because the payment is lower.
- Forgetting that taxes and insurance can rise after closing.
- Treating the listed rate as the full cost without reviewing APR and fees.
- Not stress-testing payment changes before making an offer.

## Limitations and Assumptions

The DTC mortgage calculator does not underwrite credit, estimate closing costs, validate property value, calculate escrow shortages, price mortgage insurance by borrower profile, or forecast tax and insurance changes. It is a transparent payment estimator.

Official sources used for fact-checking include CFPB Loan Estimate and Closing Disclosure explainers, CFPB PMI cancellation guidance, CFPB mortgage rate comparison material, NCUA Homeowners Protection Act guidance, and Fannie Mae consumer information on private mortgage insurance.

## Related Do The Calculation Tools

Tool: [Home Affordability Calculator](https://dothecalculation.com/calculators/home-affordability-calculator) — Estimate a practical home price range from income, debts, down payment, and payment limits.

Tool: [Loan-to-Value Calculator](https://dothecalculation.com/calculators/loan-to-value-calculator) — Calculate LTV, equity amount, and equity percentage for a property.

Tool: [Down Payment Calculator](https://dothecalculation.com/calculators/down-payment-calculator) — Plan how much cash is needed before buying.

## Mortgage FAQs

**What does a mortgage calculator estimate?**

It estimates the loan amount, monthly principal and interest, taxes, insurance, PMI when applicable, HOA dues, total monthly payment, and total interest.

**Is principal and interest the full payment?**

Not always. Property taxes, insurance, PMI, HOA dues, and escrow adjustments can make the actual monthly housing cost higher.

**How is the mortgage payment calculated?**

For a standard fixed-rate loan, the calculator uses the amortized payment formula based on loan amount, monthly rate, and number of payments.

**Why does total interest look so high?**

Mortgage terms are long. Interest is charged over many years, so total interest can exceed the original loan amount at higher rates or longer terms.

**What is PMI?**

Private mortgage insurance is insurance that protects the lender when a conventional loan has lower borrower equity. It is often discussed around the 80% LTV threshold.

**Does the calculator guarantee PMI cost?**

No. Actual mortgage insurance depends on loan type, lender, insurer, borrower profile, and program rules.

**What is a Loan Estimate?**

A Loan Estimate is an official CFPB mortgage disclosure that shows key loan terms and costs after application. It is used to review and compare offers.

**What is a Closing Disclosure?**

A Closing Disclosure is the later mortgage form that shows final loan terms and closing costs before closing.

**Should I compare APR or interest rate?**

Review both. Interest rate drives the payment, while APR reflects interest plus certain loan costs and can help compare offers.

**Does a larger down payment always make sense?**

A larger down payment can reduce loan amount and PMI risk, but it also uses cash that might be needed for reserves, repairs, or other goals.

**What happens if property taxes rise?**

Your total housing payment can rise even if principal and interest stay fixed, especially if taxes are escrowed.

**Is a 30-year mortgage cheaper than a 15-year mortgage?**

The monthly payment is usually lower, but total interest is often higher because repayment takes longer.

**Can I use the calculator for refinancing?**

Yes for basic payment math, but refinancing also requires closing costs, existing balance, new term, and break-even analysis.

**Does the calculator include closing costs?**

No. Closing costs should be reviewed on Loan Estimates and Closing Disclosures.

**Is this mortgage advice?**

No. This is an educational calculator guide. Mortgage decisions should be made with official disclosures and qualified professionals when needed.

---

_Source: [Do The Calculation](https://dothecalculation.com/blog/finance/mortgage-guide). Quote freely with attribution and a link to this page._
