Repair or Replace Calculator
Cost examples updated November 14, 2026. By Driveonomics.
The shop hands you a big repair quote, and the question is whether to pay it or buy another car. Enter your numbers below and see which one costs less over the years you keep it.
Pre-filled for you. Fields marked typical start with typical national averages so you see a result right away, change any number you know to make it yours.
Go ahead, play with it. Change any number and watch the total move.
Your two choices
Keep the car, pay the repair
Replace it with another car
What each choice costs
Repair and keep it
Replace it
Where the numbers come from: maintenance, AAA, 2025 edition, $1,656 a year for maintenance, repair and tires · depreciation, iSeeCars, March 2026, the average car loses 41.8% of its value in five years · used-car yearly loss, our depreciation page, schedule starts near 10% a year · fuel, EIA, week ending November 16, 2026, $3.805 a gallon, 27.2 mpg EPA fleet average.
Calculation transparency
Jurisdiction and assumptions: United States. The comparison covers the years you pick, from 3 to 10. The repair is counted once, on the keep side. Sales tax, title, registration, and loan interest are left out of both sides, because they vary by buyer and by state. The opportunity cost of the money is also left out. A second big repair belongs in the yearly upkeep line, not hidden.
Scope and limits: This is an educational estimate, not a quote or financial advice. Repair quotes and resale values vary by car, shop, and place. Get a written quote for your car and a real offer for what it is worth before you decide.
Source links checked: November 14, 2026.
Figures: maintenance, AAA, 2025 edition, $1,656 a year for maintenance, repair and tires · depreciation, iSeeCars, March 2026, the average car loses 41.8% of its value in five years · fuel, EIA, week ending November 16, 2026, $3.805 a gallon.
Primary sources: AAA Your Driving Costs 2026; iSeeCars, cars that hold their value study; EIA, U.S. weekly retail gasoline prices. How the numbers are calculated is written down on the methodology page, and every source is listed on the sources page.
Get the free Car Buyer’s Cheat Sheet, 7 things to know before you sign anything. The numbers that matter, in plain English, on one page.
Join the Driveonomics email list. Occasional useful updates, no spam, unsubscribe anytime.
How the repair or replace comparison works
1. Enter what your car is worth today and the repair quote. 2. Enter what the replacement would cost. 3. Set the years you plan to keep either car. 4. Fill in each car's yearly upkeep, insurance, fuel, and value lost, changing the starting figures to your own numbers. 5. Read the two totals and the saving at the top. The comparison updates as you type.
Formula
- Keep it: repair cost, plus the value the old car loses, plus upkeep, insurance, and fuel for each year you keep it.
- Replace it: the replacement price minus what your old car is worth, plus the value the replacement loses, plus upkeep, insurance, and fuel for each year.
- Value lost each year compounds: a car worth $25,000 losing 10.3% a year is worth about $14,550 after five years, so about $10,450 is gone.
- The side with the lower total wins. If the two totals are within $100, it is close enough to call a tie, and the better car decides.
The worked example, step by step
With the starting inputs, the car is worth $8,000 today, the repair quote is $4,500, the replacement costs $25,000, and either car is kept for five years. Repairing and keeping it costs about $31,171: the $4,500 repair, about $3,276 of value lost, $9,000 of upkeep, $6,000 of insurance, and $8,395 of fuel. Replacing it costs about $50,365: $17,000 out of pocket after selling the old car, about $10,450 of value lost, $8,280 of upkeep, $7,500 of insurance, and $7,135 of fuel. Repairing wins by about $19,194. The replacement's price is the whole story here: the old car still has years in it, and $17,000 of new-car price buys a lot of repairs.
The answer flips when the repair is big and the old car costs a lot to run. Take a car worth $3,000 with a $10,000 repair, against a $15,000 replacement, kept five years. Keeping it costs about $42,229: the $10,000 repair, about $1,229 of value lost, $15,000 of upkeep, $6,000 of insurance, and $10,000 of fuel. Replacing it costs about $38,405: $12,000 out of pocket, about $6,270 of value lost, $6,000 of upkeep, $7,000 of insurance, and $7,135 of fuel. Replacing wins by about $3,824. On the first example, the two sides tie when the repair costs about $23,694. Below that, repair. Above it, replace.
Definitions
- Repair cost: the quote from the shop for the repair in front of you now.
- Current value: what your car is worth today, before the repair. It is what the replacement side subtracts.
- Net price: the replacement price minus your old car's value, the money you actually pay out of pocket.
- Value lost: how much each car's value falls over the years you keep it, from the yearly loss you set.
- Upkeep: maintenance and repairs each year, from your own bills on the old car and the AAA average on the replacement.
- Total cost: everything above it added up, the number that decides which choice wins.
Repair or replace questions, answered
When is it worth repairing an old car?
When the repair plus the old car's yearly costs still come in below replacing it. On the worked example, a $4,500 repair on a car worth $8,000 costs $31,171 over five years against $50,365 to replace it, so repairing wins by $19,194. The repair would have to cost more than about $23,694 before replacing wins on those numbers.
What if the repair costs more than the car is worth?
That alone does not settle it. The comparison is the repair plus five years of running the old car against the replacement's net price plus its own five years. A $10,000 repair on a car worth $3,000 loses when the replacement is $15,000 and the old car's yearly costs run high: $42,229 to keep against $38,405 to replace, so replacing wins by $3,824. Run your own numbers before you decide on the rule.
Does the calculator count the loan or sales tax?
No. Tax and loan interest are left out of both sides because they vary by buyer and by state, the same as the new vs. used calculator. Use the homepage calculator for the full five-year picture with tax and interest included, and check the tax line on the buyer's order.
What should I put for the old car's yearly upkeep?
Your estimate from your last year of bills: routine maintenance plus the repairs you actually paid for. The starting $1,800 is only a placeholder, change it to your number. If another big repair is likely next year, add it to this line or raise it until the comparison reflects it.
Why does the replacement side subtract what my old car is worth?
Because selling it or trading it in is money back toward the replacement. The $25,000 replacement in the worked example costs $17,000 out of pocket after the $8,000 old car, and that net price is what the comparison counts.
Does the calculator count what the car is worth at the end?
Yes, through the value lost on each side. The old car loses about $3,276 over five years in the worked example and the replacement loses about $10,450, and both losses sit inside the totals. What is left at the end is not added back, because the loss already counts it.
Educational estimates only, not financial advice. Repair quotes, resale values, and yearly costs vary by car, shop, and place. Get a written quote for your car before you decide.
Was this page helpful?
Thanks for letting us know.