Learn how loan payments are calculated, with the amortizing-loan formula, a worked example, and how the interest-to-principal split changes over time.
Every loan payment is really two things bundled together: a portion that pays down what you borrowed (principal) and a portion that pays the lender for the privilege of borrowing it (interest). Knowing how that split is calculated explains a lot about how loans actually work.
On a standard amortizing loan, the kind most personal loans, auto loans, and mortgages use, you pay the same fixed amount every period for the life of the loan. What changes behind the scenes is the mix: early payments are weighted more heavily toward interest, since interest is calculated on the current outstanding balance, and that balance is largest at the start.
| Term | Meaning |
|---|---|
| Principal | The amount borrowed, or the part of it still owed, before interest. |
| Interest rate | The yearly rate the lender charges on the outstanding balance. The payment formula uses this rate. |
| APR | Annual Percentage Rate: the yearly cost of borrowing, including interest and most fees, expressed as a percentage. It is used to compare loans. |
| Term | How long you have to repay the loan, such as 5 years (60 monthly payments). |
| Amortization | Paying off a loan through fixed, regular payments that cover both interest and principal over time. |
| Compounding | Owing or earning interest on both the original amount and previously accumulated interest. On an amortizing loan paid on time, each payment covers that month’s interest, so interest does not build on interest. |
| Equity | The portion of an asset’s value you actually own, after subtracting any remaining loan balance. |
| APY | Annual Percentage Yield: the annual return on savings including compounding. It applies to savings, not loan payments; see Compound Interest Explained. |
Where M is the monthly payment, P is the loan amount (principal), r is the monthly interest rate (the annual rate divided by 12, written as a decimal), and n is the total number of payments (years × 12).
The same formula works for auto loans, personal loans and the principal-and-interest part of a home loan. If the interest rate is 0%, the formula divides by zero, and the payment is simply P ÷ n.
Loan amount: $20,000
Annual interest rate: 6%
Term: 5 years (60 monthly payments)
Result: a monthly payment of $386.66. Over 60 payments, that totals about $23,199.36, meaning about $3,199.36 of the total is interest. (Lenders round each payment to the cent and adjust the final one, so the exact total can differ by a few cents.)
Once you know the payment, the totals follow directly:
For the example above: $386.66 × 60 ≈ $23,199 repaid, of which $23,199 − $20,000 ≈ $3,199 is interest. Stretching the same loan to 7 years lowers the payment but raises the total interest, because the balance is outstanding for longer.
Because interest is calculated on whatever balance remains, the same fixed payment covers less interest and more principal as the loan matures. Each month:
In the $20,000 example, the first month’s interest is 20,000 × 0.005 = $100.00, so $286.66 goes to principal and the balance falls to $19,713.34. By month 12, the principal part has grown to about $302.82.
The effect is much larger on long loans. On a $300,000 mortgage at 6% over 30 years, the very first monthly payment of $1,798.65 splits roughly into $1,500.00 interest and $298.65 principal. By payment 180, the last payment of year 15 and the halfway point of the loan, that same $1,798.65 payment covers about $1,069.38 interest and $729.27 principal, more than double the principal share of the first payment. For more on long-term schedules, see Understanding Mortgage Amortization.
If you know the payment you can afford and want the loan length instead, rearrange the formula to solve for n:
Example: paying $500 a month on $20,000 at 6%: n = −ln(1 − 0.005 × 20,000 ÷ 500) ÷ ln(1.005) = −ln(0.8) ÷ ln(1.005) ≈ 44.74. That is 44 full payments plus a smaller 45th one. If M is not larger than P × r (here $100), the payment never covers the interest and the loan is never repaid.
The Loan Calculator works out the monthly payment, total interest, and a full amortization schedule from a loan amount, annual rate and term in years or months. It also takes an optional extra monthly payment and shows how much sooner the loan is paid off. For a home loan, the Mortgage Calculator is built for that case.
Loan Calculator
The standard formula is M = P × [r(1 + r)^n] ÷ [(1 + r)^n − 1], where P is the amount borrowed, r is the annual rate divided by 12, and n is the number of monthly payments. For $20,000 at 6% over 60 months, r = 0.005 and the payment comes to $386.66. Spreadsheet apps have the same calculation built in as the PMT function.
The interest rate is what the lender charges on the balance, and it sets your monthly payment. The APR adds most upfront fees, such as origination fees, and spreads them over the term as a yearly rate. A loan with no fees has an APR equal to its rate. A loan with fees has a higher APR, which is why APR is the better number for comparing offers.
Interest is calculated on the outstanding balance, which is highest at the beginning of the loan. As the balance shrinks, less of each fixed payment is needed for interest, leaving more to reduce the principal. On a $20,000 loan at 6%, the first payment includes $100 of interest; by the final year, the monthly interest is under $25.
For the same loan amount and term, yes. A lower rate reduces both the payment and the total interest paid over the life of the loan. A lower payment does not always mean a cheaper loan, though: a longer term also lowers the payment while increasing the total interest you pay.
An extra payment reduces the outstanding balance directly, which reduces the interest charged on every later payment. On a fixed-rate loan the scheduled payment usually stays the same, so the loan ends sooner and the total interest falls. Check that your lender applies extra money to principal and does not charge a prepayment penalty.
Yes, for the principal and interest. Any standard amortizing loan, where a fixed payment covers principal and interest over a set term, uses the same formula. A mortgage bill often adds property tax and insurance held in escrow, which the formula does not include. Loans with interest-only periods or balloon payments follow different math.
Find the right tool, or keep reading Brekzy's other guides.