Methodology and sources
The calculators run in your browser using published data and your inputs. The worked examples below use the same calculation functions as the calculators and their tests.
Energy prices and vehicle data
- Gas prices: U.S. Energy Information Administration (EIA) weekly retail regular gasoline, week of Nov 16. EIA publishes state prices for nine states (CA, CO, FL, MA, MN, NY, OH, TX, WA). Other states use their EIA region's average, and the calculators label which one you're seeing.
- Electricity prices: EIA average residential price by state, Aug 2026 (EIA publishes about two months behind).
- Vehicle efficiency: fueleconomy.gov (EPA) combined ratings, model years 2016 and newer. EV ratings are kWh per 100 miles measured at the wall, so home charging losses are included.
- Prices refresh automatically every week. If a refresh fails our checks, the previous data stays live and the dates above show how old it is.
Cost-equivalent MPG and electric gas price
EV cost per mile = kWh per 100 mi ÷ 100 × your blended electricity price × (1 + real-world adjustment).
Cost-equivalent MPG = local gas price ÷ EV cost per mile. Electric gas price = EV cost per mile × your gas car's MPG.
MPGe (shown for reference) = 3,370 ÷ kWh per 100 mi. It compares energy, not cost.
Blended charging price
Blended price = home share × home price + Level 2 share × Level 2 price + DC fast share × DC fast price. On a time-of-use plan, home price = off-peak share × off-peak rate + (1 − off-peak share) × peak rate. DC fast charging is modeled per kWh; per-minute billing isn't modeled yet.
Total cost of ownership
We simulate each month. Month 0 is the cash price (price − point-of-sale discounts, plus sales tax and fees) or your down payment. Each month after that adds loan payments, fuel (optionally rising each year), maintenance per mile, insurance, and annual registration, including your state's EV surcharge for the EV. A rebate arrives in the month you choose. In the final month we pay off any remaining loan balance and credit the resale value (price × resale %, see used cars below). Break-even is the first month after which the EV's running total stays at or below the gas car's.
The federal $7,500 clean vehicle credit ended for vehicles acquired after September 30, 2025, so incentives default to $0. Check your state and utility's current incentives.
Used cars, mileage and depreciation
October 2026 update: depreciation curves now retain more value in the first few years. Starting prices were also added for older model years of several EVs. These changes increase some used-price and resale estimates compared with earlier versions.
Value curves
Each vehicle gets a value curve (the share of its new price it keeps at each age, 0 to 20 years). We pick the most specific cited 5-year figure that applies, in this order: the exact model, then its segment and tier (mainstream or luxury), then its segment, then the powertrain average. Hybrids use the gas curve shape.
A base shape sets the profile (steep early losses, flattening later). We bend it so that it hits the chosen 5-year figure exactly: curve(t) = shape(t)(ln r5 ÷ ln shape(5)), where r5 is the share of new value kept at 5 years. For example, bending the EV shape to a 30% 5-year value gives 73% kept after 1 year and 13% after 10. The curve always starts at 100% and always falls with age.
Years 11–20 are extrapolated (a constant extra yearly loss). Beyond 20 years the value curve is flat. Site estimate (Oct 2026). Years 3, 5, 7 and 10 are least-squares fits to iSeeCars per-model resale pages (13 models: Tesla Model Y and Model 3, Mustang Mach-E, Ioniq 5, Equinox EV, Rivian R1S and R1T, RAV4, RAV4 Hybrid, CR-V, Camry, Grand Cherokee, BMW 3 Series), each first bent to its own 5-year figure. Year 1 is less certain: gas 87% follows the iSeeCars 2024 lightly-used study (1-year-old cars averaged 12.8% below new), and EV 80% sits above that study's EV models (67–72%), reflecting the 2026 used-EV price rebound. EV year 2 (67%) follows The Charge Port Q3 2026 report (2024 EVs at 61% of MSRP), also less certain; gas year 2 and years 4, 6, 8 and 9 are interpolated. The curve is re-bent to each anchor's 5-year value. Years 11–20: extrapolated at a constant 12%/yr (EV) and 10%/yr (gas) further loss. Source.
EV segment averages are unweighted per-model means taken from iSeeCars resale pages, while the all-EV average (ev:any:any) is the sales-weighted figure from the iSeeCars depreciation study. Entries labeled "Site estimate" are medians we computed from the cited pages.
The model year can be up to next year, because next-year models go on sale in the fall.
Mileage
A typical car is driven 11,200 miles a year (Same basis as annualMiles: AFDC average annual vehicle miles traveled per vehicle (cars 11,026 mi, light trucks/vans 11,360 mi; FHWA Highway Statistics 2024 Table VM-1)). We adjust value by 0.5% for every 1,000 miles above or below typical for the car's age, capped at a floor of 60% and a ceiling of 115% of the age-only value so extreme odometers can't produce absurd numbers. Site estimate: about 0.5% of value per 1,000 miles above or below typical, capped at -40% / +15%. Kelley Blue Book states it compares each car with the typical mileage for its age and adjusts value down for higher mileage and up for lower mileage, but does not publish the rate Source.
Maintenance
Maintenance per mile rises as a car ages. We multiply the base per-mile rate by a factor that depends on the odometer reading. The factor is normalized so its average over 0–150,000 miles equals the lifetime-average rate in the default assumptions below (EV 1.00, gas 1.00). That means new cars now show maintenance rising over time: below the average at first, above it later. Site estimate shaped by Argonne National Laboratory (2021) Section 3.5, which finds per-mile maintenance and repair cost rises with vehicle age and mileage (gasoline fleet cars from about $0.06-0.08 per mile in year 1 to $0.29-0.34 in year 15); normalized so the average over 0-150,000 mi equals the lifetime per-mile rate Source.
| Odometer | EV factor | Gas factor |
|---|---|---|
| 0 mi | ×0.58 | ×0.53 |
| 36,000 mi | ×0.77 | ×0.75 |
| 60,000 mi | ×0.92 | ×0.88 |
| 100,000 mi | ×1.16 | ×1.18 |
| 150,000 mi | ×1.40 | ×1.49 |
| 200,000 mi | ×1.59 | ×1.75 |
Battery
- Degradation: 2.3% of capacity per year (Geotab EV battery health analysis: average annual degradation rate of 2.3%), never below 60% health. A 4-year-old EV is at about 91%.
- Range, not cost per mile: battery wear mostly reduces range, not cost per mile, so we leave efficiency unchanged and show the expected range today instead (EPA range × battery health).
- Warranty: 8 years or 100,000 miles, whichever comes first (Kelley Blue Book: federal law requires automakers to cover EV and hybrid batteries for at least eight years or 100,000 miles). A 4-year-old EV at 48,000 mi is covered now and leaves warranty in month 48.
- Replacement cost: $5,000 to $16,000 (Recurrent: out-of-warranty EV battery replacement typically ranges from $5,000 to $16,000). We never assume a replacement; instead you can set an optional battery reserve, a one-time cost added in the month the battery leaves warranty (month 1 if it already has). It defaults to $0.
Used price estimate
Estimated price = new price × value curve at the car's age × mileage adjustment, rounded to the nearest $100. You can always type your own price.
Price when new
If you don't enter what a used car cost new, we start from the same default price a new car gets: the manufacturer's starting price for that model and model year, then the same model's nearest listed year (scaled by average new-vehicle prices), then the typical price for its kind of vehicle (see "Typical new-vehicle prices" above). The first two are already specific to the model year, so we use them as is. A typical segment price, or a manual car with no catalog entry, is today's average ($55,000 EV, $48,000 gas; source), so we scale it back to the car's model year by the average new-vehicle transaction price: default new price = today's average × ATP(model year) ÷ ATP(2025), rounded to the nearest $100. Model years before 2016 use 2016; model years after 2025 use 2025. New-car prices rose 43% from 2016 to 2025, so without this step older cars would be overvalued. A segment average is still an average across many vehicles, so the calculator asks you to enter the car's own MSRP when you know it. Kelley Blue Book (Cox Automotive): U.S. new light-vehicle average transaction price in December of each year, as published in that December's report (2020 from the industry row of the December 2021 report's table). Used to scale the average new price back to a used car's model year.
| Year | Average new price (December) | Default gas / EV new price |
|---|---|---|
| 2016 | $35,309 | $33,700 / $38,600 |
| 2017 | $36,113 | $34,400 / $39,500 |
| 2018 | $37,577 | $35,800 / $41,100 |
| 2019 | $38,948 | $37,100 / $42,600 |
| 2020 | $41,335 | $39,400 / $45,200 |
| 2021 | $47,077 | $44,900 / $51,400 |
| 2022 | $49,507 | $47,200 / $54,100 |
| 2023 | $48,759 | $46,500 / $53,300 |
| 2024 | $49,740 | $47,400 / $54,400 |
| 2025 | $50,326 | $48,000 / $55,000 |
Resale at the end of your ownership period uses the same curve and the odometer at that point, as a share of what you paid. A resale percentage you type overrides it. Beyond 20 years the value curve is flat, and the mileage adjustment is capped at its floor and ceiling.
Real-world efficiency
An EV's dashboard reads battery-side energy: what left the battery. Your electric bill and EPA ratings are wall-side: what came out of the outlet, including charging losses. To compare them fairly, we convert what the display shows to what the wall supplies.
Wall kWh/100 mi = 100 ÷ (display mi/kWh × charging efficiency). Charging efficiency is 0.88 (Recurrent: a typical Level 2 home charger operates at about 83-94% efficiency grid-to-battery (midpoint 88.5%, rounded down to 0.88); the article also cites the 2014 Sears et al. field study, which measured 89.4% for Level 2).
- We use one blended factor for home and public charging. DC fast charging losses differ, so treat it as an average.
- An observed MPG replaces the EPA MPG for a gas car. The real-world adjustment sliders still apply on top, so don't use both for the same effect.
Comparing cars
The Compare cars page puts two to four vehicles side by side. Settings that describe you rather than the car (ZIP, miles per year, years of ownership, electricity and gas prices, charging mix) are shared by every car. Each car has its own price, fees, financing, running costs and resale.
Cars are ranked by total cost of ownership over your period, cheapest first. A crossover is the month when one car's running total goes below another's and stays at or below it for the rest of your period, such as when a pricier EV's lower running costs make up for its higher purchase price. If a car never overtakes another by the end, no crossover is shown. The "Real-world adjustments" (EV and gas car efficiency) you set on the EV vs. gas page apply on Compare cars too; this page has no control for them.
Default EV efficiency is 30.0 kWh/100 mi · 3.3 mi/kWh (fueleconomy.gov: combined kWh/100 mi of popular 2025-2026 electric compact SUVs).
Typical new-vehicle prices
When you pick a car from the catalog and don't type a price, we pick a default price for it. We try these in order and use the first one that exists:
- The manufacturer's starting price for that exact model and model year, from the hand-checked table below. If your trim is listed, we use that trim's price.
- The same model's starting price from the nearest model year in the table (the newer year if two are equally close), scaled by the change in the average new-vehicle price between the two years and rounded to the nearest $100.
- The typical price for its kind of vehicle, as of 2026-08. We try these in order and use the first one that exists: (a) the same powertrain, body type and tier (mainstream or luxury); (b) the same powertrain and body type, any tier; (c) for luxury cars only, the luxury price for that body type across all powertrains; (d) the powertrain's overall average, such as the EV average; (e) the all-powertrain price for that body type and tier; (f) the all-powertrain average for that body type; (g) the industry average.
Starting prices include the destination fee but not taxes, options or dealer fees. For a used car, a price from step 1 or 2 is used as is, because it is already for that model year; prices from step 3 are today's averages, so they are scaled back to the car's model year as described above. Type your own price whenever you know it.
Hand-checked starting prices
Each figure was checked against the manufacturer's page on the date shown. We re-check them at least every 183 days.
Typical price by kind of vehicle
Default assumptions
State EV registration fees
| State | Annual EV fee |
|---|---|
| Alabama | $203 (Ala. Code §40-12-242 (Rebuild Alabama Act); rises $3 every 4 years starting 2027) · source, checked 2026-10-12 |
| Alaska | None · source, checked 2026-10-12 |
| Arizona | None · source, checked 2026-10-12 |
| Arkansas | $200 · source, checked 2026-10-12 |
| California | $121 (Road Improvement Fee, model year 2020+ ZEVs, indexed annually for inflation; $121 for 2026) · source, checked 2026-10-12 |
| Colorado | $89 ($63.05 Plug-In Electric Vehicle fee + $26 Electric Motor Vehicle Road Usage fee for July 2026-June 2027 under SB21-260; both increase annually) · source, checked 2026-10-12 |
| Connecticut | None · source, checked 2026-10-12 |
| Delaware | $110 (Alternative-fuel vehicle surcharge for BEVs <=6,000 lbs MGVWR under 2025 HB 164, effective 10/1/2025; heavier vehicles pay $150-$900) · source, checked 2026-10-12 |
| District of Columbia | None (DC gives new BEVs under 5,000 lbs a reduced Class V rate ($40/yr as of 3/30/2026, up from $36) for their first two years instead of standard weight-based Class I/II fees ($70-$175); this is a discount, not an added surcharge) · source, checked 2026-10-12 |
| Florida | None (A $250/yr BEV fee bill (SB 804, 2026) died in committee March 2026) · source, checked 2026-10-12 |
| Georgia | $239 (Non-commercial alternative fuel vehicle fee effective July 2026 (Ga. Code §40-2-151); adjusted annually by a CPI/fuel-efficiency formula) · source, checked 2026-10-12 |
| Hawaii | $50 · source, checked 2026-10-12 |
| Idaho | $140 · source, checked 2026-10-12 |
| Illinois | $100 (Public Act 101-32; frozen at $100 since 2022) · source, checked 2026-10-12 |
| Indiana | $242 (Electric Vehicle Supplemental Fee, BMV fee chart revised 1/1/2026; indexed every 5 years to CPI) · source, checked 2026-10-12 |
| Iowa | $130 · source, checked 2026-10-12 |
| Kansas | $165 (K.S.A. 8-143, effective 1/1/2026 under HB 2122 (2025); up from $100) · source, checked 2026-10-12 |
| Kentucky | $120 · source, checked 2026-10-12 |
| Louisiana | $110 · source, checked 2026-10-12 |
| Maine | None · source, checked 2026-10-12 |
| Maryland | $125 (Zero-emission vehicle annual surcharge, Transportation Code §13-956, effective 7/1/2025) · source, checked 2026-10-12 |
| Massachusetts | None · source, checked 2026-10-12 |
| Michigan | $267 (EV fee is tied to Michigan's motor fuel tax; rose from $160 to $267 after the 2025 gas-tax increase (PA 17-20 of 2025)) · source, checked 2026-10-12 |
| Minnesota | $75 · source, checked 2026-10-12 |
| Mississippi | $150 · source, checked 2026-10-12 |
| Missouri | $150 · source, checked 2026-10-12 |
| Montana | $130 (For vehicles <=5,999 lbs unladen; heavier classes pay more. Scheduled 30% reduction for private residents starting 7/1/2028) · source, checked 2026-10-12 |
| Nebraska | $150 · source, checked 2026-10-12 |
| Nevada | None · source, checked 2026-10-12 |
| New Hampshire | $100 · source, checked 2026-10-12 |
| New Jersey | $270 (Annual ZEV fee schedule: $250 (7/1/24), $260 (7/1/25), $270 (7/1/26-6/30/27, current), $280 (7/1/27+, cap)) · source, checked 2026-10-12 |
| New Mexico | None (No current EV fee; pending SB-2 would add $70 (CY2027), $80 (2028), $90 (2029+) if enacted) · source, checked 2026-10-12 |
| New York | None · source, checked 2026-10-12 |
| North Carolina | $215 (N.C. Gen. Stat. §20-87; indexed every 4 years to CPI since 7/1/2020) · source, checked 2026-10-12 |
| North Dakota | $120 · source, checked 2026-10-12 |
| Ohio | $200 · source, checked 2026-10-12 |
| Oklahoma | $110 (For vehicles <=6,000 lbs GVWR; heavier classes pay more) · source, checked 2026-10-12 |
| Oregon | $188 (Standard 2-year Passenger Electric registration (not enrolled in OReGO) is $376, i.e. $188/yr, per DMV fee chart eff. 7/1/2026; OReGO per-mile enrollees pay up to $86/2yr instead) · source, checked 2026-10-12 |
| Pennsylvania | $250 (Indexed annually for inflation) · source, checked 2026-10-12 |
| Rhode Island | $200 · source, checked 2026-10-12 |
| South Carolina | $60 ($120 biennial) · source, checked 2026-10-12 |
| South Dakota | $100 · source, checked 2026-10-12 |
| Tennessee | $200 (Current rate for renewals before 1/1/2027 (Pub. Ch. 159, 2023); rises to $274 for renewals on/after 1/1/2027, then CPI-adjusted) · source, checked 2026-10-12 |
| Texas | $200 (Plus $400 at initial registration) · source, checked 2026-10-12 |
| Utah | $180 (Flat EV fee effective 1/1/2026 (Utah Code §41-1a-1206); EV owners may instead enroll in the Road Usage Charge program at 1.25 cents/mile capped at $180; cap rises to $240 in 2032) · source, checked 2026-10-12 |
| Vermont | $89 (EV Infrastructure Fee, effective 1/1/2025) · source, checked 2026-10-12 |
| Virginia | $136 (Highway Use Fee for all-electric vehicles, July 2026-June 2027 chart) · source, checked 2026-10-12 |
| Washington | $225 ($150 EV fee + $75 EV transportation electrification fee) · source, checked 2026-10-12 |
| West Virginia | $200 · source, checked 2026-10-12 |
| Wisconsin | $175 · source, checked 2026-10-12 |
| Wyoming | $100 · source, checked 2026-10-12 |
Keep your gas car or switch to an EV
Historical ownership begins in the purchase month and ends before the current valuation month. Model year is descriptive and is not the start of ownership. A 2022 car bought in January 2023 starts accumulating your ownership costs in January 2023. Historical economic cost = original purchase total (including taxes/fees) − today's sale/trade value + fuel + insurance + maintenance/repairs + registration + interest paid. Loan principal is not added again.
Historical fuel uses EIA monthly regular-gas averages for the selected state or its region. The initial mileage estimate is the odometer change distributed evenly over completed ownership months. Within each year, fuel = miles ÷ MPG × the mean price of owned months. Actual fuel spending overrides that estimate, including an explicit zero. Missing prices require a manual price or actual spending; today's prices are never substituted for historical data. The selected location is assumed constant throughout ownership. Partial years show only owned months; annual gas prices are not represented as actual receipts.
Initial historical insurance ($1,800/year), registration ($150/year), and maintenance ($0.101/mile, the cited Argonne lifetime gas benchmark above) are editable illustrations, not reconstructed bills. They are prorated to owned months/miles. Interest paid starts at zero and must be entered from records. Yearly entries can override miles, prices and expenses; changing purchase month clears these overrides. Historical results are therefore estimates unless replaced with actual records.
The forward comparison uses equal years and miles from today. Keep cost = current gas-car value − future gas-car resale + future operating costs + remaining-loan interest. Switch cost = EV purchase total − verified incentives − future EV resale + charging setup + operating costs + new-loan interest. Past ownership costs are common to both paths and never change the forward verdict. Resale, maintenance, repairs, insurance, registration and the EV deal are user assumptions; this calculator does not generate appraisals or automatically add EV fees.
Net trade equity = current sale/trade value − current loan payoff. Net upgrade transaction = EV purchase total − incentives + charging setup − net trade equity. If financed, new principal = max(0, net upgrade − additional cash down). Otherwise the transaction is paid in cash, with negative amounts shown as cash returned. Loans use fixed-rate amortization, and interest is counted only through the forecast horizon. Remaining balances are disclosed; principal is already represented by the asset's depreciation and is not double-counted. No extra trade-in credit is subtracted from economic cost. The EV purchase total should already reflect actual taxes, fees and any applicable trade-in tax treatment. Incentives are assumed available at purchase, so delayed reimbursements can change cash needed.
This is a scenario comparison, not an instruction to buy a car. It excludes investment returns, inflation, future energy-price changes and cash-flow timing. Charging-setup costs are assumed eligible for the modeled financing; verify lender terms. CFPB explains trade-in equity and outstanding loans.
Cash purchase, financing and leasing on the same horizon
The Keep or switch calculator shows four options together: keep the gas car, buy an EV for cash, finance the same EV purchase, or lease an EV using your quoted terms. The comparison length is entered in whole months (12–180). Annual operating costs and mileage are prorated to those months. This allows terms such as 39 months without rounding to years. All EV options share the entered energy, insurance, maintenance and registration assumptions; use coverage and cost estimates appropriate to the quoted contracts.
Cash and financed purchases use the same purchase total, incentives and final market value. Financing changes cash required today, interest, payments and final loan balance. Economic cost includes depreciation and interest rather than counting principal payments twice. Final equity is vehicle market value minus any remaining loan balance; it is shown separately and is not subtracted a second time from the total.
Lease contract cost per term = total due at signing − refundable deposit + quoted monthly payment × (term months − 1 if the first payment is included at signing). Monthly payments include tax and lease financing charges. Signing includes the quote's upfront taxes, nonrefundable fees and down payment. Deposit refunds are assumed complete at scheduled term end. Purchase incentives are never deducted from a lease quote that already reflects lease discounts. Enter quotes before applying trade equity; positive or negative trade equity is settled in cash today in the lease option and is not subtracted again from economic lease cost.
Return-only requires the common comparison length to equal one full lease term. Repeating leases requires an exact number of complete terms and assumes the same payment, signing amount, refundable deposit and return charges each time. Excess miles = max(0, annual miles − annual allowance) × term months ÷ 12, charged at the quoted rate for each returned lease, plus entered wear and disposition charges. Returned leases have no owned vehicle, final equity or resale credit. Partial-term early termination and unpriced transportation after a lease ends are not estimated.
A cash buyout is available when the common horizon reaches or exceeds the lease term. That option adds the entered buyout total (including taxes/fees), continues operating costs through the comparison end, and credits the EV's final market value once. The buyout amount is distinct from that final market value. It does not finance the buyout. Return-only mileage, wear and disposition charges are assumed waived on buyout; include any required charges in the buyout quote. The initial lease signing amount still applies.
Average monthly economic cost = total economic cost ÷ comparison months. It is not the contract payment. Cash due/returned today, scheduled payments, operating-cost averages and final equity are displayed separately. Later repeat-lease signing payments and a cash buyout are future expenses included in total cost, not today's cash requirement. Investment returns on cash, inflation, changing repeat-lease terms and exact cash-flow timing are not modeled. See CFPB's leasing-versus-buying guidance and FTC's explanation of financing and leasing.
Limitations
- Prices are state or regional averages. Your own bill and local pump prices will differ, so enter them for the best answer.
- Plug-in hybrids, per-minute fast-charging pricing, and utility-specific rate plans aren't modeled yet.
- Resale values and insurance are estimates; get quotes for your situation.
- Used-car estimates are not appraisals. Condition, trim, options and local demand all move real prices.