What Is a Mortgage and How Does It Work?

A mortgage is a secured loan agreement where a lender advances funds for a property purchase, retaining a legal claim on the property until the debt is fully repaid. Unlike unsecured personal loans, mortgages are backed by real estate, which allows lenders to offer lower interest rates and longer repayment periods.

The loan comprises two main components: principal (the amount borrowed) and interest (the cost of borrowing). Early payments go mostly toward interest; later payments chip away at principal. This is the amortization schedule. You'll also encounter ancillary costs—property taxes, homeowner insurance, HOA fees, and potentially Private Mortgage Insurance (PMI) if your down payment falls below 20% of the property value.

The lender holds the deed until you've paid off the loan. You can accelerate payoff by making extra periodic payments or lump-sum prepayments, though some contracts impose penalties for early repayment.

How to Calculate Your Monthly Payment

The standard mortgage payment formula applies the present value of an annuity principle. It accounts for the principal, periodic interest rate, and loan duration. The calculation differs slightly based on your payment frequency (monthly, bi-weekly, weekly) and interest compounding method.

Payment = P × [r(1 + r)ⁿ] / [(1 + r)ⁿ − 1]

where:

r = (1 + annual_rate / compounding_periods)^(compounding_periods / payment_frequency) − 1

n = payment_frequency × loan_term_years

  • P — Loan principal (home value minus down payment)
  • r — Periodic interest rate adjusted for your payment and compounding schedule
  • n — Total number of payments over the loan term
  • annual_rate — Your mortgage's yearly interest rate
  • compounding_periods — How often the bank applies interest (e.g., 12 for monthly, 2 for semi-annual)
  • payment_frequency — How often you pay (12 for monthly, 26 for bi-weekly, 52 for weekly)

Key Factors That Affect Your Mortgage Cost

Interest rate has the largest impact on your total cost. A 0.5% difference on a $300,000 loan over 30 years can add tens of thousands in interest. Rates vary by credit score, loan type, market conditions, and down payment size.

Down payment determines the loan amount and triggers PMI. Putting down less than 20% typically requires mortgage insurance, adding 0.5–1% annually to your loan balance. Some lenders allow PMI removal once equity reaches 20%.

Loan term (15, 20, or 30 years) sets repayment speed. Shorter terms mean higher monthly payments but far less total interest. A 15-year mortgage might cost half the interest of a 30-year loan on the same principal.

Payment frequency affects interest accrual. Bi-weekly payments (26 per year) result in one extra monthly payment annually, accelerating principal paydown and reducing lifetime interest.

Extra payments and annual increases can dramatically shorten the loan. Even small additional amounts, or linking payment growth to salary increases, compound savings over time.

Fixed-Rate vs. Adjustable-Rate Mortgages

Fixed-rate mortgages lock your interest rate for the entire loan term. Your monthly payment never changes (excluding tax and insurance adjustments). This simplifies budgeting and protects you if rates rise. Nearly all 30-year mortgages are fixed-rate.

Adjustable-rate mortgages (ARMs) start with a lower initial rate that adjusts periodically, usually after 3, 5, 7, or 10 years. If market rates climb, so does your payment. ARMs can be risky if rates spike sharply, but they suit borrowers planning to sell or refinance before the adjustment period. Read the fine print: understand caps (limits on rate increases per adjustment and over the loan life) and index benchmarks.

Most first-time buyers choose fixed-rate for predictability. ARMs appeal to investors or those with short holding periods.

Common Pitfalls and Practical Considerations

Avoid these frequent mistakes when estimating your true mortgage cost:

  1. Ignoring ancillary costs — Your monthly mortgage payment is only the beginning. Property taxes, homeowner insurance, HOA fees, and PMI can easily add 30–50% to your principal and interest payment. Factor these into affordability calculations from the start.
  2. Underestimating early interest dominance — In the first five years of a 30-year loan, 70–80% of your payment goes to interest, not equity. If you plan to move within a decade, you'll build minimal home equity. Early prepayment or a shorter term makes more sense in this scenario.
  3. Overlooking prepayment penalties and refinancing costs — Some mortgages charge fees for early repayment or extra principal payments. Others carry high refinancing costs. Always review your loan terms before committing to an aggressive payoff strategy.
  4. Misjudging payment frequency impact — Switching from monthly to bi-weekly payments saves significant interest, but the math depends on exact rate structures and compounding. Run the numbers—a seemingly small change can save years of payments.

Frequently Asked Questions

What's the minimum down payment I need?

Conventional loans typically require 3–20% down; FHA loans allow as little as 3.5%. The lower your down payment, the higher your monthly PMI cost until you reach 20% equity. A larger down payment reduces the loan principal, lowers monthly payments, and eliminates PMI sooner. Consider your savings, emergency fund, and opportunity cost before stretching to a large down payment.

How much of my payment goes to interest vs. principal?

Early in the loan, most of your payment covers interest. A 30-year $300,000 loan at 7% might have a $2,000 monthly payment; $1,750 goes to interest initially, only $250 to principal. After 15 years, the split reverses—more principal, less interest. This is why extra payments early on have enormous impact. Use an amortization table to see the exact breakdown for your loan.

Should I choose a 15-year or 30-year mortgage?

A 15-year mortgage costs roughly half the total interest but demands monthly payments nearly 50% higher. If you can afford it and have adequate emergency savings, the 15-year builds equity quickly and saves hundreds of thousands in interest. A 30-year offers lower monthly payments and better cash flow flexibility; you can always overpay to shorten it. Choose based on your income stability and long-term plans.

Does refinancing make sense if rates drop?

Refinancing locks a lower rate and can reduce monthly payments or shorten the loan term. However, you'll pay closing costs (typically 2–5% of the loan amount). If you plan to stay in the home longer than the breakeven point—usually 2–5 years—refinancing is often worthwhile. If you're selling or moving soon, the savings may not justify the upfront fees.

What happens if I make extra payments toward my mortgage?

Extra payments reduce the principal balance immediately, which cuts future interest charges. Since interest accrues on the remaining balance, early extra payments compound into massive savings. Adding just $100 per month to a 30-year loan can cut 4–6 years and save $100,000+ in interest. Always confirm your lender allows extra payments without penalty, and specify that the amount goes to principal, not next month's payment.

What does PMI cost and when can I cancel it?

Private Mortgage Insurance typically costs 0.5–1.5% of your loan amount annually, added to your monthly payment. It protects the lender if you default but benefits you by allowing a smaller down payment. Once your home equity reaches 20% of the current property value, you can request PMI removal. Some loans allow automatic cancellation; others require you to ask. Track your balance and request removal as soon as you qualify to save thousands.

More finance calculators (see all)