Mortgage Math

How to Calculate a Mortgage Payment by Hand

George Smith
George Smith — Founder, Klickify Agency

You want to understand how mortgage payments work. Not just trust a calculator. You want to do the math yourself. Maybe you are a student, or you just like knowing how things work. You look up the formula. It is intimidating: P = L * [r(1+r)^n] / [(1+r)^n - 1].

Most online resources explain the formula poorly. They skip steps. They assume you have a financial calculator. They do not show a real example with actual numbers. And then they push you toward their "free calculator" that captures your email.

I am going to walk you through the mortgage payment formula step by step with a real example from 2026. You can do this on a basic calculator or even on paper. No lead forms. No spam. Just math.

The Mortgage Payment Formula Explained

The formula for a fixed-rate mortgage payment is:

M = P * [ r(1 + r)^n ] / [ (1 + r)^n - 1 ]

Where: M = monthly payment (principal + interest only). P = principal loan amount (the amount you borrow). r = monthly interest rate (annual rate divided by 12). n = total number of payments (loan term in years × 12).

Let us use a real example. You buy a $400,000 home with 10% down. Your loan amount P = $360,000. Annual interest rate = 6.8%. Monthly rate r = 0.068 / 12 = 0.0056667. Loan term = 30 years, so n = 360.

First, calculate (1 + r)^n. That is (1 + 0.0056667)^360. You cannot do this easily by hand. You need a calculator with an exponent function. On a scientific calculator, you type 1.0056667, then press the y^x button, then 360. The result is approximately 7.394.

Next, calculate the numerator: r * (1+r)^n = 0.0056667 × 7.394 = 0.04190. Next, calculate the denominator: (1+r)^n - 1 = 7.394 - 1 = 6.394. Now divide: 0.04190 / 6.394 = 0.006553. Finally, multiply by P: 360,000 × 0.006553 = $2,359.08.

That is your monthly principal and interest payment. Compare to the calculator on my site — it will show $2,347 (slight difference due to rounding). The formula works.

Step-by-Step: Calculate Any Mortgage Payment Manually

1. Determine your loan amount P
Home price minus down payment. Example: $400,000 - $40,000 = $360,000.
2. Convert annual interest rate to monthly decimal r
Divide annual rate by 100 to get decimal, then divide by 12. For 6.8%: 6.8/100 = 0.068; 0.068/12 = 0.0056667.
3. Determine total number of payments n
For 30 years: 30 × 12 = 360. For 15 years: 180.
4. Calculate (1 + r)^n
Use a scientific calculator or spreadsheet. For our numbers: (1.0056667)^360 = 7.394.
5. Calculate numerator: r × (1+r)^n
0.0056667 × 7.394 = 0.04190.
6. Calculate denominator: (1+r)^n - 1
7.394 - 1 = 6.394.
7. Divide numerator by denominator
0.04190 / 6.394 = 0.006553.
8. Multiply by P
360,000 × 0.006553 = $2,359.08.

That is your payment. For a 15-year loan at the same rate, n=180, (1.0056667)^180 = about 2.857, numerator=0.01618, denominator=1.857, ratio=0.00871, payment=360,000×0.00871=$3,136. Higher payment, but less total interest.

The Lead-Gen Problem With Free Mortgage Calculators

Most sites that explain the mortgage formula are actually lead generation pages in disguise. They have a long article about the formula, then at the bottom: "Calculate your payment with our free calculator — enter your email to get started." They know that people who want to understand the formula are serious buyers, which makes them high-value leads.

Other sites simply copy the formula from Wikipedia and add no real examples. They do not show you how to actually compute (1+r)^n because that requires a calculator. They expect you to give up and use their calculator.

Truly Free Mortgage Calculator is not a lead generation tool. I am giving you the formula because I believe in transparency. You should not need to trust my calculator. You can verify the math yourself. That is the whole point of financial literacy.

Verify Your Math With the Free Calculator

No account. No email. Runs in your browser.

Frequently Asked Questions

Why does (1+r)^n require a scientific calculator?
Because raising a number to the 360th power is not possible on a basic calculator. You need a calculator with a y^x or ^ button. Most smartphones have scientific calculator mode. In iPhone, turn the calculator to landscape. In Android, look for the "exp" or "^" button.
Can I use Excel instead of doing it by hand?
Yes. Excel has a built-in PMT function: =PMT(rate/12, nper, -PV). For our example: =PMT(6.8%/12, 360, -360000) returns $2,347. That is easier than the manual formula.
Does this formula work for loans with PMI or taxes?
No. This formula is for principal and interest only. To include PMI, add the monthly PMI amount. To include taxes and insurance, add those as well. The formula only covers the loan amortization part.
How do I calculate the principal portion of a specific payment?
For payment number k, first calculate the interest for that month: remaining balance × r. Then principal = total payment − interest. To find remaining balance before payment k, use the formula: B = P × [(1+r)^n - (1+r)^k] / [(1+r)^n - 1]. This is more advanced.
Can I use this formula for an adjustable-rate mortgage?
No. ARMs have rates that change after the fixed period. You would need to recalculate after each adjustment. The formula works for each period, but you need to know future rates.
Why do online calculators give slightly different results than my manual calculation?
Rounding differences. The manual calculation uses rounded rates. Online calculators often use more precise decimals. The difference is usually less than $1 per $100,000.

Now you know the formula. You can check any lender's math. You do not need to trust anyone. That is financial independence.

Figures on this page are for educational purposes only. Rates vary by lender, location, and borrower profile. Consult a licensed lender for loan-specific figures. Truly Free Mortgage Calculator does not collect personal data and does not connect users with lenders.

George Smith
WRITTEN BY
George Smith
Founder, Klickify Agency
info@klickifyagency.comLinkedIn
George builds free web tools that respect user privacy. Founder of Klickify Agency.