Loan Calculator
Payment, interest, and payoff time.
Details
Monthly payment
$506.91
60 payments · paid off in 5 yr
Total principal
$25,000
Total interest
$5,415
Total paid
$30,415
Payments
60
This works out the monthly payment, total repaid and total interest on any fixed-rate loan.
It shows how the term changes both the payment and the total cost, which are the two figures that move in opposite directions.
How loan payments are calculated
Almost every fixed-rate loan works the same way. You make equal payments; each one covers the interest accrued since the last, and whatever is left reduces the balance. That is amortisation, and it is the same maths for a mortgage, a car loan or a personal loan.
Three inputs determine the payment: amount, rate and term. Amount and rate are largely set by the lender and your credit. The term is usually the one you choose, and it is where the trade lives.
A longer term always lowers the payment and always raises the total cost. $20,000 at 8% costs $626.73 a month over 3 years or $311.72 over 7, and the interest goes from $2,562 to $6,185. Half the payment, and more than double the interest.
The payment and the total cost move in opposite directions. Choosing on the monthly figure alone always picks the more expensive loan.
What to enter
- Loan amount
- What you borrow, after any deposit and including any fees rolled into the loan.
- Interest rate (APR)
- Use APR rather than the note rate where they differ, since APR includes fees.
- Term
- How long you repay over. The input you usually control, and the one that decides total cost.
- Extra payments
- Anything above the required amount goes entirely to principal, so it removes all the future interest that money would have generated.
Loan types and where they differ
- [Mortgage](/financial/mortgage-calculator)
- Secured on property. Lowest rates, longest terms, and the payment usually includes tax and insurance.
- [Auto loan](/financial/auto-loan-calculator)
- Secured on the car. Rates sit between mortgages and personal loans, and the collateral depreciates.
- Personal loan
- Unsecured, so the rate depends heavily on credit score. Terms are usually two to seven years.
- [Student loan](/financial/student-loan-calculator)
- Federal loans have their own repayment plans and protections that no private loan matches.
- Credit card
- Revolving rather than amortising, compounds daily, and there is no fixed end date.
What this assumes
A fixed rate for the whole term. A variable-rate loan re-amortises whenever the rate changes.
Fees are excluded unless you add them to the loan amount. APR is the measure that includes them.
How to calculate your loan payment
One formula covers every fixed-rate amortising loan.
- P
- Loan amount
- i
- Rate per period, so the annual rate divided by 12 for monthly payments
- n
- Total number of payments
Convert the annual rate to a monthly one. Divide by 12. 8% becomes 0.006667 a month.
Count the payments. Years times 12. Five years is 60 payments.
Apply the formula. That gives the fixed monthly payment, which does not change across the term.
Multiply out for the total cost. Payment times the number of payments, minus the loan amount, is the interest. That is the number to compare between offers.
See a worked example: the same loan over three terms
- Amount
- $20,000
- Rate
- 8% APR
36 months: $626.73 a month, $2,562 of interest.
60 months: $405.53 a month, $4,332 of interest.
84 months: $311.72 a month, $6,185 of interest.
Going from 3 years to 7 halves the payment and adds $3,623 of interest. Whether that is worth it depends on what the freed-up cash is doing.
$405.53 a month over 60 months
Frequently asked questions
The shortest you can comfortably afford. A longer term always costs more in total, and the difference is larger than most people expect.
One exception is worth naming: if the rate is very low and you would genuinely invest the difference at a higher return, a longer term can make sense. That only works if you actually invest it.
More than the amount itself, because every extra dollar goes entirely to principal and removes all the future interest that dollar would have accrued.
The effect is strongest early, while the balance is large. Check first that the loan has no prepayment penalty, which is uncommon but not extinct.
Because interest is charged on the outstanding balance, and that balance is at its largest at the start.
The split shifts every month as the balance falls. On a long loan this takes a surprisingly long time: see the amortization page for how slowly.
APR for comparing loans, because it includes fees. The note rate for calculating the payment, because that is what the payment is based on.
Where a loan has no fees the two are identical. Where they differ, the gap is exactly what the lender's fees cost you.
It lowers the amount borrowed, so it lowers both the payment and the total interest. On some loans it also improves the rate or removes insurance requirements.
The counterweight is liquidity. Emptying your savings to reduce a loan leaves you borrowing again, probably at a worse rate, the next time something goes wrong.
Contact the lender before you miss it, not after. Most have hardship options such as deferment, forbearance or a modified schedule, and they are far more willing to use them before a default.
Federal student loans have the strongest protections of any consumer debt, including income-driven repayment. Those options disappear if the loan is refinanced privately.
The lender does, but inside a market it does not control. The Federal Reserve sets a target for the federal funds rate, banks set their prime rate from it, and most variable consumer lending is priced as prime plus a margin.
Mortgages are the exception: they track long-term bond yields rather than the Fed directly, which is why mortgage rates sometimes move the opposite way to a Fed announcement.
Your individual rate is then set by that lender from your credit, the loan type and the term. Two lenders on the same day will quote you differently, which is the whole argument for shopping around.
A fixed rate never changes, so the payment is predictable for the whole term. A variable rate is an index plus a fixed margin, so it moves when the index does. Most US variable lending now references SOFR or the prime rate.
Fixed costs slightly more at the start and removes the risk. Variable starts cheaper and gives you the risk.
The test worth applying: could you still afford the payment if the rate rose two or three points? If not, the cheaper variable rate is not actually cheaper, it is a bet.
A secured loan is backed by an asset the lender can take if you stop paying — a house on a mortgage, the car on an auto loan. An unsecured loan has no collateral, which covers credit cards, most personal loans and student loans.
Security is why the rates differ so much. A mortgage is among the cheapest borrowing available and a credit card among the most expensive, for the same borrower on the same day.
The trade is what happens if things go wrong. Defaulting on unsecured debt damages your credit; defaulting on secured debt can cost you the asset.
It is usually the single biggest factor within your control. Scores run 300 to 850, and lenders price in bands, so crossing a boundary can move your rate more than the points suggest.
The score is built mostly from paying on time and how much of your available credit you are using, then length of history, recent applications and credit mix.
Before applying for anything large, check your reports from all three national bureaus. Errors are common, disputing them is free, and a corrected report is the cheapest rate reduction there is.
Instalment loans have a fixed payment and an end date: mortgages, car loans, personal loans, student loans. Revolving credit has no end date and a payment that varies with the balance, which is how credit cards and lines of credit work.
Within instalment loans the useful split is secured against unsecured, and fixed against variable. Those two questions tell you most of what you need to know about any loan before looking at the rate.
Rarely, for personal borrowing. Mortgage interest is deductible if you itemise, and student loan interest has a separate deduction that does not require itemising.
Interest on credit cards, car loans and personal loans is not deductible at all. Since the standard deduction roughly doubled in 2018, most filers do not itemise, so even the mortgage deduction goes unused.
The Consumer Financial Protection Bureau writes and enforces the main consumer lending rules, including the Truth in Lending Act, which is why every offer must disclose an APR in a standard form.
Beyond that it is layered: banks are supervised by the OCC, the Federal Reserve or the FDIC depending on charter, credit unions by the NCUA, and state regulators license and supervise non-bank lenders. Usury caps are set state by state, not federally.
Problems people actually run into
Choosing a loan on the monthly payment
"Can you get it under $400 a month?" is answered by lengthening the term, which is how the more expensive loan gets sold as the affordable one.
Compare total repaid. $311.72 over 84 months is $26,185; $626.73 over 36 months is $22,562. The cheaper monthly payment costs $3,623 more.
Ignoring fees when comparing offers
Origination fees of 1-8% are common on personal loans and are often deducted from the amount you receive, so a $20,000 loan can arrive as $19,000.
You still repay $20,000 with interest. Compare APR rather than the quoted rate, since APR is designed to expose exactly this.
Results are estimates for general information only and are not professional financial, medical, or legal advice. Read our full disclaimer.
Sources
- Regulation Z, Truth in Lending · Consumer Financial Protection Bureau
- What is the prime rate, and does the Federal Reserve set it? · Federal Reserve Board
- What is a credit score? · Consumer Financial Protection Bureau
- Topic no. 505, Interest expense · Internal Revenue Service
Last updated: September 4, 2026