Class 8 Electric vs. Diesel Truck TCO Calculator
A Class 8 electric tractor costs more to buy but less to run — whether it wins depends almost entirely on how many miles it drives and what you pay for depot power. This calculator compares a diesel and an electric Class 8 truck over your ownership horizon, factoring in purchase price, charger cost, incentives, diesel fuel, electricity, and per-mile maintenance, then reports total cost of ownership and cost per mile for each, the five-year difference, the payback period, and the break-even diesel and electricity prices at which the two totals cross. For scaling the same tradeoff to a whole fleet, see our Fleet Electrification ROI Calculator.
High annual miles spread the electric truck's higher purchase price over more savings.
Class 8 tractors typically return 5.5–7.5 mpg depending on load, route, and aerodynamics.
Includes oil, brakes, drivetrain, and aftertreatment — typically $0.15–0.22/mile for Class 8.
Depot DC fast charging hardware and installation allocated per truck.
Federal credits have largely expired; enter any state or utility incentive.
Class 8 electric tractors typically run 1.5–2.5 kWh/mile depending on route and load.
EVs have far fewer moving parts — maintenance typically runs 30–50% below diesel.
Illustrative defaults; use your own quotes.
truck + fuel + maintenance
truck + charger − incentive + electricity + maintenance
diesel total ÷ total miles
electric total ÷ total miles
diesel − electric (electric saves)
Favorable payback for a high-mileage depot-charged tractor
diesel price at which totals are equal
electricity price at which totals are equal
Results update live as you type. For planning and field-check estimates — always verify against applicable standards and equipment ratings.
How we calculate this →At 100,000 miles a year, depot-charged electric tractors can edge out diesel even after paying $60,000 for a charger, but the margin is thin: the result flips if depot power costs more than about $0.18 per kWh or diesel falls below about $3.51 a gallon. Utilization is the lever: more miles per year spread the higher purchase price. Scale the same tradeoff to a whole fleet with the Fleet Electrification ROI Calculator.
How Class 8 electric vs. diesel TCO is calculated
This calculator compares the total cost of owning and operating a single Class 8 diesel tractor against an electric equivalent over a chosen ownership horizon, then solves for the payback period and the break-even fuel and electricity prices. The model holds utilization, fuel efficiency, and maintenance costs flat across the horizon.
Total Miles = Annual Miles × Years of Ownership; at 100,000 mi/yr and 5 years, 500,000 miles. Diesel Fuel Cost ($) = Total Miles ÷ Diesel MPG × Diesel Price ($/gal) — 500,000 ÷ 6.5 × $4.00 = $307,692. Diesel Maintenance ($) = Total Miles × Diesel Maintenance ($/mile) — 500,000 × $0.18 = $90,000. Diesel Total Cost ($) = Diesel Truck Price + Fuel + Maintenance — $220,000 + $307,692 + $90,000 = $617,692, or $1.24/mile.
Electricity Cost ($) = Total Miles × Efficiency (kWh/mile) × Electricity Price ($/kWh) — 500,000 × 2.0 × $0.14 = $140,000. Electric Maintenance ($) = Total Miles × Electric Maintenance ($/mile) — 500,000 × $0.10 = $50,000. Electric Total Cost ($) = Electric Truck Price + Charger Cost per Truck − Incentive + Electricity + Maintenance — $330,000 + $60,000 − $0 + $140,000 + $50,000 = $580,000, or $1.16/mile. The five-year difference is $617,692 − $580,000 = $37,692 in favor of electric.
Payback (years) = (Electric Truck Price + Charger − Incentive − Diesel Truck Price) ÷ (Annual Diesel Operating Cost − Annual Electric Operating Cost), where annual operating cost is annual fuel/electricity plus annual maintenance. At the defaults the upfront premium is $170,000 and the annual operating savings is about $41,538, giving a payback of roughly 4.1 years. Break-Even Diesel Price ($/gal) is the diesel price at which the two totals are equal, holding everything else fixed — about $3.51 at the defaults; below it, diesel wins. Break-Even Electricity Price ($/kWh) is the depot power price at which the totals cross — about $0.178; above it, electric loses its edge.
The model excludes residual/resale value (still uncertain for electric trucks), financing costs, electricity demand charges at the depot, and any road-use or weight-based fees. Data sources: U.S. DOE Alternative Fuel Data Center and NREL heavy-duty vehicle efficiency and cost studies; ACT Research and CALSTART commercial EV cost benchmarks; EIA diesel and electricity price data; fleet operator maintenance cost surveys. Verification: with defaults, diesel total $617,692 / $1.24 per mile, electric total $580,000 / $1.16 per mile, five-year difference ≈ $37,700, payback ≈ 4.1 years, break-even diesel ≈ $3.51/gal, break-even electricity ≈ $0.178/kWh.
Frequently asked questions
Do electric trucks cost less to run?
Usually yes per mile, because electricity and maintenance cost less than diesel, but the purchase price is higher.
Why does mileage matter?
High annual miles spread the purchase premium over more savings.
Are incentives included?
Only what you enter. Check current federal, state and utility programs.
Does this include residual value?
No. Resale values for electric trucks are still uncertain.