Mortgage calculator
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.
For developers: API access
Same result via GET request (use current inputs above):
curl -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"fetch("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.
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.
Methodology & assumptions
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
Disclaimers & sources
Not financial advice. This is an estimate for comparison purposes.