inyourbrowser.com

Mortgage calculator

Mortgage calculator is a finance tool that estimates monthly mortgage payments from loan amount, rate, and term. It uses the standard amortization formula, supports tax and insurance add-ons for full PITI, and shows the year-by-year amortization schedule. The tool runs in your browser.

Monthly payment: $1,769.79.

Currency

Loan amount: $280,000.00

Term (years)

Formula: M = P[r(1+r)^n] / [(1+r)^n - 1], where P = loan amount, r = monthly rate, n = months

Monthly payment (P&I)

$1,769.79
Monthly P&I
$1,769.79
Total interest
$357,124.57
Total paid over 30 years
$637,124.57
Loan amount
$280,000.00

Calculations are estimates for informational purposes only. Consult a financial professional for advice.

How to calculate a mortgage payment

  1. Enter the home price and choose your down payment as a percentage or fixed amount.
  2. Enter the annual interest rate and select a term in years.
  3. Optionally add property tax percentage and yearly home insurance.
  4. Review the monthly payment, total interest, and year-by-year amortization schedule.

Common uses

  • Checking a lender's quote: enter the same home price, down payment, rate and term, then compare the monthly principal-and-interest figure before adding tax and insurance.
  • Choosing a term: switch between 15, 20 and 30 years to see how a lower monthly payment trades against total interest.
  • Planning the purchase budget: project how your down-payment savings grow, or price a car or personal loan that shares the same monthly budget.

The finance tools guide compares the five finance calculators and the formulas behind them.

Technical specification

  • Algorithm or formula: Standard amortization formula M = P[r(1+r)^n] / [(1+r)^n - 1], where P is principal, r is monthly interest rate, and n is total number of monthly payments. PITI adds monthly property tax and insurance on top. This is the level-payment (annuity) formula for a fully amortizing loan; see Kellison, The Theory of Interest (3rd ed., McGraw-Hill/Irwin, 2009), on annuities and amortization schedules.
  • Browser API or library: Pure JavaScript arithmetic; no external library. Uses Number primitives for all calculations.
  • Input limits: Home price above 0. Rate of 0% or more; a result too large to calculate shows a note instead of figures. Term 1–50 years. Down payment of 0 or more and less than the home price.
  • Output: Monthly principal-and-interest payment, monthly PITI, total interest paid over the loan, and a year-by-year amortization table showing the running balance, principal, and interest each year.
  • Known limitations: Fixed-rate amortization only; ARM, balloon, and interest-only mortgages are not modeled. Tax and insurance are treated as constant over the loan term. Extra or irregular principal payments are not modeled; the schedule assumes the same payment every month.

Frequently asked questions

How is a monthly mortgage payment calculated?
Principal and interest follow the amortization formula M = P[r(1+r)^n] / [(1+r)^n - 1], where P is the loan amount, r is the monthly interest rate, and n is the number of monthly payments. Property tax and home insurance are added on top for the full PITI payment.
What does PITI stand for?
PITI is principal, interest, taxes, and insurance, the four components that typically make up a total monthly housing payment. The calculator adds optional tax and insurance to the standard principal-and-interest figure.
How does the loan term affect total interest?
Longer terms reduce the monthly payment but increase total interest, because principal is paid down more slowly. A 30-year mortgage at the same rate as a 15-year usually produces more than double the total interest.
Is my mortgage data sent to a server?
All calculations run locally in your browser as JavaScript. Our servers are not involved at any point.

Calculations are estimates for informational purposes only. Consult a financial professional for advice.

Related tools

Loan calculator
Calculate monthly payments and total interest for auto, personal, or student loans. Runs in your browser.
Compound interest calculator
Calculate compound interest with daily, monthly, quarterly, or annual compounding. Includes a year-by-year breakdown table.
ROI calculator
Calculate return on investment and annualized ROI. For investments, marketing spend, or any cost-vs-gain analysis.
Percentage calculator
Calculate percentages three ways: X% of Y, X is what % of Y, and percentage change.

Reviewed and tested September 30, 2026.