Methodology and sources
Everything here is computed in your browser from published data. The worked examples below are generated from the same code and test cases that check the calculators.
Data and freshness
- Gas prices: U.S. Energy Information Administration (EIA) weekly retail regular gasoline, week of Oct 12. 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, Jul 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
What changed: new and used results now use updated, cited 2026 depreciation curves with segment and model anchors, so resale values differ from earlier versions of this site.
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 64% 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. Years 1–10 are the site's v1 residual-value curve, whose year-5 points (EV 41%, gas 54%) approximate the iSeeCars 2026 5-year study averages (EV 57.2% and all vehicles 41.8% lost); 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 use today's average new price ($55,000 EV, $48,000 gas; source) scaled 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. It is still an average across all 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 use the typical price for its kind of vehicle, as of 2026-08. We try these in order and use the first one that exists: (1) the same powertrain, body type and tier (mainstream or luxury); (2) the same powertrain and body type, any tier; (3) for luxury cars only, the luxury price for that body type across all powertrains; (4) the powertrain's overall average, such as the EV average; (5) the all-powertrain price for that body type and tier; (6) the all-powertrain average for that body type; (7) the industry average. Type your own price whenever you know it.
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 |
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.