Depot vs. Public Charging Cost per Mile Calculator
Where a fleet charges matters as much as what it drives. Depot power is cheap; public fast charging is not, and most fleets end up using some of each. This calculator blends depot and public electricity prices by the share of energy drawn from public chargers, then compares the resulting electric cost per mile against diesel — and finds the public share at which electric stops beating diesel.
Enter an all-in effective $/kWh, including demand charges.
Public DC fast charging typically runs $0.30–0.60/kWh.
Class 8 electric tractors typically run 1.5–2.5 kWh/mile depending on route and load.
Class 8 tractors typically return 5.5–7.5 mpg depending on load, route, and aerodynamics.
weighted by public share
blended price × efficiency
diesel price ÷ diesel MPG
diesel − electric
savings per mile × annual miles
public price × efficiency
share at which electric equals diesel
Results update live as you type. For planning and field-check estimates — always verify against applicable standards and equipment ratings.
How we calculate this →Where you charge matters as much as what you drive. Depot power often runs around $0.10-$0.18 per kWh while public fast charging runs $0.30-$0.60. In this example, a fleet that gets 30% of its energy from public chargers still saves about 15 cents a mile versus diesel, but one that relies on public charging alone pays about $0.90 a mile, roughly 46% more than diesel. See the Class 8 Electric vs. Diesel Truck TCO Calculator and the Megawatt Charging (MCS) Charge Time Calculator.
How depot vs. public charging cost per mile is calculated
This calculator blends two electricity prices by the share of energy a fleet draws from public chargers, then compares the resulting electric cost per mile against diesel and solves for the public share at which the two cross.
Blended Price ($/kWh) = (1 − Public Share (%) ÷ 100) × Depot Price + (Public Share (%) ÷ 100) × Public Price; at 30% public, $0.14 depot, and $0.45 public, that is 0.70 × $0.14 + 0.30 × $0.45 = $0.098 + $0.135 = $0.233/kWh. Electric Cost per Mile ($) = Blended Price × Efficiency (kWh/mile) — $0.233 × 2.0 = $0.466/mile. Diesel Cost per Mile ($) = Diesel Price ($/gal) ÷ Diesel MPG — $4.00 ÷ 6.5 = $0.615/mile. Savings per Mile ($) = Diesel Cost per Mile − Electric Cost per Mile — $0.615 − $0.466 = $0.149/mile. Annual Savings ($) = Savings per Mile × Annual Miles — $0.149 × 100,000 = $14,900.
All-Public Cost per Mile ($) = Public Price × Efficiency — $0.45 × 2.0 = $0.90/mile, the cost if every kWh came from public chargers. Break-Even Public Share (%) = ((Diesel Cost per Mile ÷ Efficiency) − Depot Price) ÷ (Public Price − Depot Price) × 100 — the public share at which electric cost per mile equals diesel; at the defaults, (($0.615 ÷ 2.0) − $0.14) ÷ ($0.45 − $0.14) × 100 = ($0.3077 − $0.14) ÷ $0.31 × 100 = 54.1%. Above that share, public charging dominates the blend and electric costs more per mile than diesel.
The model uses flat per-kWh prices and a single efficiency figure; it excludes demand charges (fold them into the depot price as an all-in effective rate), time-of-use energy pricing, charger losses, and maintenance differences, all of which shift real-world results. Data sources: U.S. DOE Alternative Fuel Data Center and NREL fleet charging cost studies; EIA diesel and electricity price data; public DC fast charging network pricing surveys. Verification: with defaults, blended price $0.233/kWh, electric $0.466/mile, diesel $0.615/mile, savings $0.149/mile, annual savings ≈ $14,900, all-public $0.90/mile, break-even public share 54.1%.
Frequently asked questions
Why is public charging so much more expensive?
Operators price in equipment, demand charges and lower utilization.
Does depot price include demand charges?
It should; enter an all-in effective $/kWh.
What is the break-even public share?
The share of public charging at which electric costs the same per mile as diesel.
How can I reduce public charging?
Add depot charging, shorten routes or add mid-route depot stops.