Mortgage calculator

Did you know?

A $400,000 mortgage at 7% costs $558,000 in interest over 30 years. You pay back $958,000 for a $400,000 loan. The interest alone could buy a second house in some markets.

Dollar amount
$1,769.79
Principal & interest per month at 6.50%
All-in monthly
$2,419.79
Total interest
$357,124.57
Total paid
$637,124.57
Loan amount
$280,000.00
For developers: API access

Same result via GET request (use current inputs above):

curlcurl -s "https://howdeedo.com/api/calc/mortgage?homePrice=350000&downPayment=70000&downPaymentMode=amount&annualRatePct=6.5&termYears=30&propertyTaxAnnual=4200&insuranceAnnual=1800&hoaMonthly=150&solveFor=payment&includeSchedule=false"
fetchfetch("https://howdeedo.com/api/calc/mortgage?homePrice=350000&downPayment=70000&downPaymentMode=amount&annualRatePct=6.5&termYears=30&propertyTaxAnnual=4200&insuranceAnnual=1800&hoaMonthly=150&solveFor=payment&includeSchedule=false").then(r => r.json())

Get an API key for higher limits and stable access.

Understanding your mortgage payment

The headline number here is principal and interest—the contract with whoever services your loan. Almost every homeowner also pays property taxes, insurance, and sometimes HOA or PMI. Budget those as separate lines so you do not confuse a lender quote with the full monthly outflow.

Amortization is front-loaded with interest because the bank charges against the remaining balance. Early years build equity slowly; later years flip toward principal. Extra payments attack the balance directly, which shortens the life of the loan and cuts total interest—often at an effective return equal to your note rate.

When you cite this calculator, include loan amount, rate, term, and the engine version from the methodology block. That makes blog posts, client emails, and homework reproducible without screenshot drift.

Good to know

The biweekly trick saves $62,000. Pay half your mortgage every two weeks instead of the full amount monthly. You make 26 half-payments a year—that's 13 full payments instead of 12. On a $400K loan at 7%, that one extra payment per year pays off the loan 4.5 years early and saves $62,000 in interest. Same money, different calendar.

In year one, the bank keeps 71%. On a 30-year mortgage, your first year of payments is mostly profit for the lender. Of a $2,661 monthly payment on a $400K loan at 7%, about $1,890 goes to interest and only $771 to principal. By year 25, that flips: $2,100 to principal, $561 to interest. Same payment, completely different destination.

Half a point = $47,000. The difference between 7% and 6.5% on a $400K 30-year loan is $47,000 in total interest—and $133/month in your pocket. That's worth three phone calls and an afternoon of rate shopping.

15-year vs 30-year mortgage comparison

Factor15-year30-year
Monthly payment ($400K at 6.5%/7%)$3,484$2,661
Total interest paid$227,120$558,280
Interest savings (15-year advantage)Baseline−$331,160
Typical rate difference0.25-0.5% lowerHigher rate
Equity buildingFast (own home in 15 yrs)Slow (years 1-10 mostly interest)
Cash flow flexibilityLower ($823/month less to invest)Higher (invest the difference?)

Rule of thumb: Choose 15-year if you can afford the higher payment and won't invest the difference at a rate exceeding your mortgage rate. Choose 30-year if you need cash flow flexibility or will invest the $823/month difference at >7% return after tax.

Trust & methodology: Editorially reviewed by the Howdeedo team. Content last reviewed March 2026. Calculation engine version 0.1.0. Open the section below for formula, assumptions, and sources.

Methodology & assumptions
fixed-rate-amortization

Assumptions

  • Fixed-rate, fully amortizing loan.
  • Monthly compounding and monthly payments.
  • Property tax, insurance, and HOA are added to all-in monthly cost only and do not change amortization.
  • PMI, points, and closing costs are excluded.

References

Methodology, disclaimers & sources

How it works

  • Fixed-rate amortization: same payment every month, but the interest/principal split shifts. Year 1: ~71% interest. Year 25: ~79% principal.
  • Monthly payment = P * [r(1+r)^n] / [(1+r)^n - 1], with a zero-rate branch of principal divided by number of payments.
  • Total interest = (monthly payment × 360) − loan amount.

Details & assumptions

Fixed-rate, fully amortizing loan. No PMI, points, or prepayment modeled. This is an estimate for comparison—not a lender quote. Your actual rate depends on credit score, down payment, and market conditions.

Not financial advice. This is an estimate for comparison purposes.

More about mortgages

Frequently asked questions

Example scenarios