How our calculators work
We publish every formula and assumption so you can check our numbers yourself.
Car payment calculator
1. Sales tax
If your state lets the trade-in reduce the taxable amount, tax is charged on the price minus the trade-in value. Otherwise it's charged on the full price. The taxable amount is never below zero.
Taxable amount = max(0, Price − Trade-in value*)
Sales tax = Taxable amount × Tax rate
We don't yet include state-by-state tax rates or trade-in rules. You enter your own rate. When we add state data, every figure will cite its official source and the date it was checked.
2. Trade-in equity
Net trade-in = Trade-in value − Amount still owed on it
This can be negative if you owe more than the car is worth. In that case the shortfall is added to the new loan.
3. Amount financed
Amount financed = Price − Down payment − Net trade-in
+ Sales tax (if financed) + Fees (if financed)
Fees are the documentation fee, title and registration, and any other fees you enter. If the amount financed is zero or less, there is no loan and we say so instead of showing a payment.
4. Monthly payment
With P = amount financed, r = APR ÷ 12 ÷ 100 and n = number of months:
Payment = P × r ÷ (1 − (1 + r)−n)
If APR is 0%: Payment = P ÷ n
The payment is rounded to the nearest cent.
5. Amortization schedule and rounding
- Each month, interest = remaining balance × r, rounded to the nearest cent.
- Principal paid = payment − interest. The balance goes down by that amount.
- The last payment is adjusted so the balance ends at exactly $0.00. Because the regular payment is rounded, the last payment can differ from it by a few cents (or, on large or long loans, by a little more).
- All money is calculated in whole cents to avoid rounding drift.
Example: $30,000 at 6% APR for 60 months gives 59 payments of $579.98 and a last payment of $580.27. Total interest is $4,799.09.
6. Totals
Total of loan payments = sum of every payment in the schedule
Total interest = Total of loan payments − Amount financed
Cash due at signing = Down payment + Tax (if not financed) + Fees (if not financed)
Estimated total cost = Price + Sales tax + All fees + Total interest
Tax and fees are counted once, whether you pay them up front or finance them. As a check, our tests confirm that total cost = cash due at signing + total of loan payments + net trade-in.
If you owe more on your trade-in than it's worth, that old debt is not part of the new car's cost, but it does increase the amount financed and the interest you pay.
7. Limits
- Loan terms from 1 to 120 whole months.
- APR and sales tax rate from 0% to 100%.
- Amounts can't be negative, and the down payment can't exceed the price.
Car loan payoff calculator (extra payments)
This calculator compares paying your current loan as scheduled with paying it faster.
- A one-time extra payment is subtracted from the balance today.
- Each month, interest = remaining balance × APR ÷ 12 ÷ 100, rounded to the cent. Your payment (plus any extra monthly amount) covers that interest first; the rest reduces the balance.
- The last payment is whatever is left. If a rounded payment would leave less than 1% of a payment unpaid, that amount is added to the last payment instead of creating an extra month, as with a real final payment.
- "Interest saved" = interest as scheduled − interest with extra payments.
- Payoff dates assume your next payment is due next month.
- If your payment doesn't cover the first month's interest, the loan would never be paid off, so we show an error instead of a result.
We assume all extra money goes to principal and that there's no prepayment penalty. Our tests check that, with no extra payments, this calculator gives exactly the same result as the car payment calculator, and that payoff times match the standard loan-term (NPER) formula.
How much car can I afford calculator
- Monthly payment budget = take-home pay × the share you choose, rounded down to the cent.
- Largest loan = the amount that budget repays at your APR and term: budget × (1 − (1 + r)−n) ÷ r, or budget × n at 0% APR.
- Largest price: we solve price − down payment − net trade-in + sales tax + fees = largest loan, with sales tax applied to the price (minus the trade-in value if your state allows it). We assume tax and fees are financed.
- We then run that price through the car payment calculator to get the exact interest and total cost, and our tests check that the resulting payment never exceeds your budget.
- The 10% to 15% share is a common rule of thumb, not an official standard. You can change it.
Total cost of ownership calculator
- Depreciation = out-the-door price − your expected resale value.
- Loan interest = the interest in the car payment calculator's amortization schedule for the months you own the car (up to the end of the loan). If you sell before the loan ends, the remaining balance is repaid from the sale and isn't counted again.
- Fuel = miles per year × years ÷ miles per gallon × price per gallon.
- Insurance, maintenance & repairs, registration and other costs = yearly amount × years.
- Per month = total ÷ (years × 12). Per mile = total ÷ total miles driven.
- We don't supply averages for insurance, fuel, repairs or resale value: every figure is your own estimate. Amounts are in today's dollars, with no adjustment for inflation.
What these calculators don't do
- They don't check your credit or predict the APR you'll be offered.
- They assume a simple fixed-rate loan with equal monthly payments and no prepayment.
- They don't include insurance, fuel, maintenance, depreciation or rebates.
- Lenders may calculate interest daily or round differently, so small differences are normal.
All results are estimates for educational purposes. They are not financial advice or a loan offer.
Testing
Every formula on this page is covered by automated tests, including checks against independent hand calculations. We don't publish a calculator until its tests pass.