Back to Heavy-Duty & Fleet Electrification
Heavy-Duty & Fleet Electrification tools

Hydrogen vs. Battery Electric Truck Cost per Mile Calculator

On fuel cost alone, hydrogen is the expensive option at today's pump prices. This calculator compares the per-mile fuel cost of a hydrogen fuel cell truck, a depot-charged battery electric truck, and a diesel tractor, then finds the hydrogen price at which hydrogen finally matches diesel.

Dispensed price varies widely by region and supplier.

Class 8 electric tractors typically run 1.5–2.5 kWh/mile depending on route and load.

Enter an all-in effective $/kWh, including demand charges.

Class 8 tractors typically return 5.5–7.5 mpg depending on load, route, and aerodynamics.

Fuel cost only; excludes vehicle price, maintenance and stack replacement.

Hydrogen cost per mile
$1.67/mile

hydrogen price ÷ miles per kg

Battery electric cost per mile
$0.28/mile

efficiency × electricity price

Diesel cost per mile
$0.62/mile

diesel price ÷ diesel MPG

Hydrogen annual fuel cost
$166,667

cost per mile × annual miles

Battery electric annual fuel cost
$28,000

cost per mile × annual miles

Diesel annual fuel cost
$61,538

cost per mile × annual miles

Hydrogen as multiple of battery
6.0×

hydrogen ÷ battery cost per mile

Break-even hydrogen vs diesel
$5.54/kg

diesel cost per mile × miles per kg

Results update live as you type. For planning and field-check estimates — always verify against applicable standards and equipment ratings.

How we calculate this →
Insight

On fuel cost alone, hydrogen trucks are the expensive option at today's pump prices: about $1.67 a mile in this example versus $0.28 for a depot-charged battery truck. Hydrogen has to fall to roughly $5.50 per kg just to match diesel fuel cost. Its case rests on use cases where battery weight, range or charging downtime rules out electric.

How hydrogen vs. battery electric truck cost per mile is calculated

This calculator compares the per-mile fuel cost of three heavy-duty truck powertrains — hydrogen fuel cell, battery electric, and diesel — then expresses hydrogen as a multiple of battery electric and solves for the hydrogen price at which hydrogen matches diesel.

Hydrogen Fuel Cost per Mile ($) = Hydrogen Price ($/kg) ÷ Fuel Cell Truck Range (miles/kg); at $15/kg and 9 miles/kg, that is 15 ÷ 9 = $1.667/mile. Battery Electric Cost per Mile ($) = Efficiency (kWh/mile) × Electricity Price ($/kWh) — 2.0 × $0.14 = $0.28/mile. Diesel Cost per Mile ($) = Diesel Price ($/gal) ÷ Diesel MPG — $4.00 ÷ 6.5 = $0.615/mile. Annual Fuel Cost ($) for each = Cost per Mile × Annual Miles — $166,667, $28,000, and $61,538 respectively at 100,000 miles/year.

Hydrogen as a Multiple of Battery Electric = Hydrogen Cost per Mile ÷ Battery Electric Cost per Mile — $1.667 ÷ $0.28 = 6.0×, meaning hydrogen fuel costs about six times what depot-charged battery electric costs per mile at the defaults. Break-Even Hydrogen Price vs Diesel ($/kg) = Diesel Cost per Mile × Miles per kg — $0.615 × 9 = $5.54/kg; hydrogen must fall to roughly $5.54/kg just to match diesel fuel cost per mile, far below today's dispensed pump prices.

The model uses flat per-unit fuel prices and a single efficiency figure for each powertrain; it excludes vehicle purchase price, maintenance, fuel cell stack replacement, battery degradation, demand charges (fold them into the electricity price as an all-in effective rate), and any road-use or weight-based fees. Data sources: U.S. DOE Alternative Fuel Data Center and NREL heavy-duty vehicle efficiency and fuel cost studies; EIA diesel and electricity price data; hydrogen dispensed fuel price surveys. Verification: with defaults, hydrogen $1.67/mile, battery $0.28/mile, diesel $0.62/mile; annual $166,667, $28,000, $61,538; hydrogen 6.0× battery; break-even hydrogen $5.54/kg.

Frequently asked questions

Why is hydrogen so expensive per mile?

Producing, compressing and delivering hydrogen costs far more than the electricity a battery truck uses.

When might hydrogen make sense?

Heavy loads, long ranges or tight refueling windows where batteries struggle.

What is a kg of hydrogen worth?

About the energy of a gallon of gasoline, but a fuel cell truck gets roughly 9 miles per kg in this example.

Does this include vehicle cost?

No, only fuel.