How to Calculate Loan Payments and Amortization (the Right Way)
A practical guide to loan math: the formula, what amortization actually means, the difference between APR and APY, what extra payments really save, and how to get a full amortization schedule in your browser without sending your numbers to a bank.
A loan payment is calculated from three numbers: the principal (how much you borrow), the annual interest rate, and the term (how long you take to repay). The standard formula gives the same fixed payment every month: principal times monthly rate times (1 + r)^n, divided by ((1 + r)^n − 1), where n is the number of months. The result is the same number the bank quotes — but the bank's quote usually also includes fees rolled into the APR. A browser loan calculator shows the monthly payment, total interest, total cost, and a full amortization schedule, all without sending your numbers anywhere.
Loan math is one of those things that looks mysterious until you have seen the formula once, and then it is obviously just math. This post covers the formula, what amortization actually means, the difference between APR and APY, what extra payments really save, and how to get a full amortization schedule in your browser without sending your numbers to a bank or a comparison site.
The three numbers every loan has
Every loan, from a mortgage to a car loan to a personal loan to a student loan, is defined by three numbers:
- Principal (P): How much you borrow. A $200,000 mortgage is a principal of $200,000.
- Annual interest rate (r): The percentage the lender charges per year. A 6% mortgage has r = 0.06.
- Term (n): How long you take to repay, in months. A 30-year mortgage is n = 360 months.
From these three numbers, the monthly payment is fully determined. There is no negotiation, no "special" rate, no bank-specific magic. The formula is the formula.
The formula
For a fixed-rate loan with level monthly payments, the monthly payment M is:
M = P × [ r(1+r)^n / ((1+r)^n − 1) ]
where r is the monthly rate (annual rate divided by 12) and n is the total number of monthly payments. For a $200,000 mortgage at 6% over 30 years:
r = 0.06 / 12 = 0.005
n = 360
M = 200,000 × [ 0.005 × 1.005^360 / (1.005^360 − 1) ]
M = 200,000 × [ 0.005 × 6.0226 / 5.0226 ]
M = 200,000 × 0.005996
M ≈ $1,199.10
That is the number the bank will quote you for principal and interest. The total you pay over 30 years is $1,199.10 × 360 = $431,676, of which $231,676 is interest.
The Loan Calculator on this site gives the same number in under a second, plus a full amortization schedule showing how each payment splits between principal and interest.
What amortization actually means
Every fixed-rate loan has an amortization schedule — a table that shows, for each month of the loan, how much of your payment is interest and how much is principal. The split changes every month.
For the $200,000 mortgage above:
- Month 1: Interest is 0.5% of the balance ($1,000). Principal is $199.10. New balance: $199,800.90.
- Month 12: Interest is about $992. Principal is about $207. New balance: $197,503.
- Month 360: Interest is about $6. Principal is about $1,193. New balance: $0.
The payment is the same every month, but the split is not. Early in the loan, most of the payment is interest. Late in the loan, most of it is principal. This is why "I have been paying for 5 years, how can I still owe almost the full amount?" is a real feeling — the first 5 years of a 30-year mortgage are mostly interest.
APR vs. APY — the two rates that show up on the quote
Loan quotes show two rates that look similar but mean different things:
- APR (Annual Percentage Rate): The interest rate plus most of the fees rolled in, expressed as an annual rate. This is the rate to use for comparing loans to each other, because it includes the lender's fees.
- APY (Annual Percentage Yield): The effective annual rate after compounding. This is the rate to use when comparing a loan to a savings account, because it shows the actual interest effect over a year.
For a mortgage quoted at 6% APR with $5,000 in fees rolled in, the APY is slightly higher than 6% because the fees are spread over a smaller effective principal. The difference is small (often 0.05-0.15%), but it is the right number to use when comparing two loan offers.
When you put numbers into the Loan Calculator, the "rate" field is APR. If you want to model the effect of fees separately, add them to the principal — the result is conservative (the loan will be slightly more expensive than the calculator shows, because the fees are not really part of the principal, but the difference is in the noise).
What extra payments really save
The most useful thing a loan calculator can do is show what happens when you add an extra $100 or $200 to the monthly payment. The result is almost always surprising. For the $200,000 / 6% / 30-year mortgage:
- +$100/month: Loan paid off in 27 years 9 months instead of 30. Total interest saved: about $32,000.
- +$200/month: Loan paid off in 25 years 8 months. Total interest saved: about $58,000.
- +$500/month: Loan paid off in 21 years 1 month. Total interest saved: about $114,000.
The reason the savings are so large is that early in the loan, every extra dollar goes almost entirely to principal. The compounding effect is not what makes the savings — it is the faster reduction of the balance that the interest is calculated on. This is also why a one-time extra payment early in the loan is more powerful than the same payment late in the loan.
Most loan calculators let you add a fixed extra amount per month. A few let you model one-time extra payments. The Compound Interest Calculator is a useful companion: it shows what the saved interest would have earned if it had been invested instead, which is the right comparison for "do I pay down the loan or invest the difference?".
The four numbers worth knowing about any loan
- Monthly payment (P&I). The number the bank quotes. The Loan Calculator shows it instantly.
- Total interest paid. The total cost of the loan, minus the principal. For a 30-year mortgage at 6% on $200,000, this is about $231,000 — more than the original loan.
- Total cost. Principal + interest. The full dollar amount you will pay over the life of the loan.
- Effective cost (with fees). If the loan has fees (origination, points, mortgage insurance), add them to the total cost. The effective APR is slightly higher than the quoted rate.
For any non-trivial loan, the second number is the one that changes the decision. Most people focus on the monthly payment; the total interest is the better measure of cost.
Common loan decisions the calculator helps with
15-year vs. 30-year mortgage
A 15-year mortgage at the same rate has a much higher monthly payment but a much lower total interest. For the $200,000 example at 6%:
- 30-year: $1,199/mo, $231,000 total interest.
- 15-year: $1,688/mo, $103,000 total interest.
The 15-year saves $128,000 in interest at the cost of $489 more per month. Whether the trade is worth it depends on the alternative use of the difference — investing it, paying off other debt, or keeping the cash flow flexibility.
Refinancing
Refinancing makes sense when the new rate is low enough that the monthly savings pay back the refinancing fees within a reasonable horizon (usually 2-3 years). The Break-Even Calculator is the right tool here: it shows how many months of savings it takes to recover the cost of the refi.
Auto loan term
The same principle applies. A 5-year auto loan has higher monthly payments than a 7-year loan, but lower total interest. The right term is the one where the monthly payment is comfortable and the total interest is acceptable. The Loan Calculator shows both numbers.
Student loan acceleration
Student loans are usually amortized over 10 years. Adding even $50/month to the payment cuts the term by years and saves thousands. The calculator makes the savings visible.
How to use the calculator without uploading your data
The Loan Calculator on this site runs entirely in your browser. The principal, rate, term, and any extra payment are entered in the page, the math runs in JavaScript, and the result is rendered locally. There is no submission, no API call carrying your numbers, no log of what you calculated. If you close the tab, the inputs are gone.
The same is true for the amortization schedule: it is generated in the page from the inputs, displayed as a table you can scroll or copy, and is not sent anywhere. For sensitive numbers (a mortgage you have not yet closed, a business loan you are still negotiating), the privacy of the calculation matters. The browser approach is the right tool for those cases.
A short pre-loan checklist
- Confirm the rate is APR, not APY, and includes the lender's fees.
- Use the Loan Calculator to confirm the monthly payment matches the quote.
- Look at the total interest over the life of the loan — that is the real cost.
- Model one extra payment per quarter and one larger payment per year. The result is the realistic savings if you ever have cash to spare.
- If the loan is for a purchase that could be delayed, model the interest the down payment would earn if it sat in a savings account instead. The break-even point is when the loan interest exceeds the savings interest — anything below that and the cash is more valuable sitting on the side.
That is the whole job. The formula is the same formula the bank uses. The browser calculator is faster than the bank's quote sheet and the numbers never leave your device.