Gasoline
Distance and fuel economy determine gallons or litres needed. That quantity is multiplied by the entered price per US gallon or litre.
Estimate gasoline or EV energy use and driving cost with US or Canadian units. Enter the complete distance, vehicle efficiency, and a local fuel or electricity price.
Quick answer: US gas cost is miles ÷ MPG × price per US gallon. Canada gas cost is kilometres × L/100 km ÷ 100 × price per litre. EV cost uses the selected region’s kWh efficiency unit and your electricity rate.
Enter the complete distance you want priced. Values are not converted when the region changes, so inputs reset on a region switch.
Enter your trip details
Estimated energy use and cost will appear here.
This calculator provides an energy-cost estimate for general planning. Actual consumption and prices can vary with the vehicle, route, weather, driving conditions, fees, and charging losses. It is not a live-price or route-planning service.
The calculator uses values you supply; it does not retrieve a route, vehicle specification, or live energy price.
| Vehicle mode | Required information | Typical source | Result produced |
|---|---|---|---|
| US gasoline | Total miles, MPG, USD per US gallon | Route planner or odometer; dashboard or vehicle rating; local station price | Gallons, energy cost, and cost per mile |
| Canada gasoline | Total kilometres, L/100 km, CAD per litre | Route planner or odometer; dashboard or vehicle rating; local station price | Litres, energy cost, and cost per kilometre |
| US electric vehicle | Total miles, kWh/mile, USD per kWh | Route planner or odometer; dashboard or recent charging record; chosen charging rate | kWh, energy cost, and cost per mile |
| Canada electric vehicle | Total kilometres, kWh/100 km, CAD per kWh | Route planner or odometer; dashboard or recent charging record; chosen charging rate | kWh, energy cost, and cost per kilometre |
The calculator first derives fuel or electricity use from the entered distance and efficiency. It then multiplies that quantity by the user-entered price. Full precision is kept during calculation; rounding is applied only when results are displayed.
US gas: gallons = miles ÷ MPG; cost = gallons × USD/gallon.
Canada gas: litres = km × L/100 km ÷ 100; cost = litres × CAD/litre.
US EV: kWh = miles × kWh/mile; cost = kWh × USD/kWh.
Canada EV: kWh = km × kWh/100 km ÷ 100; cost = kWh × CAD/kWh.
Per-distance cost: total cost ÷ entered distance.
MPG measures distance travelled per US gallon, so a higher MPG usually means better fuel economy. L/100 km measures fuel consumed over 100 kilometres, so a lower L/100 km usually means better fuel economy.
For example, a 300-mile trip at 30 MPG uses 10 US gallons. In Canada mode, a 500 km trip at 8 L/100 km uses 40 litres. The calculator uses the unit shown and does not convert between these inputs.
There is no round-trip switch. Enter exactly the total distance you want priced: a one-way commute needs its one-way distance, while a return journey needs outbound and return distance combined.
The same rule applies to a weekend road trip with several legs. Add every planned driving segment before entering the total because distance is a direct multiplier in the energy calculation.
Distance and fuel economy determine gallons or litres needed. That quantity is multiplied by the entered price per US gallon or litre.
Distance and energy consumption determine kWh needed. That quantity is multiplied by the entered electricity price per kWh.
The structure is similar, but the consumption units are different. The result compares neither total ownership cost nor environmental impact, and it does not assume that either vehicle type is cheaper.
Automatic: The production formula automatically handles only the entered distance, efficiency, energy price, selected vehicle mode, and regional unit convention.
Not automatic: It does not automatically adjust for traffic, idling, cold weather, heating or air conditioning, elevation, towing, cargo, tire pressure, driving speed, vehicle condition, or charging losses. These factors may already influence a real-world efficiency number, but they are not separate model inputs.
The result covers gasoline or electricity expense derived from the entered values. It excludes tolls, parking, depreciation, maintenance, insurance, vehicle rental, charging-network or idle fees not included in the entered rate, meals, and lodging. Add those separately when building a complete travel budget.
A recent dashboard average or a measured fuel-and-distance record may better reflect your vehicle, route, season, and driving style than a laboratory or official rating.
If an official rating is the only value available, it can still support an initial planning estimate. Because efficiency directly controls calculated consumption, use a value from conditions similar to the planned trip when possible.
All three examples call the same calculation function as the interactive calculator and retain full precision until display formatting.
300 miles · 30 MPG · USD 3.50/US gal
500 km · 8 L/100 km · CAD 1.70/L
300 km · 18 kWh/100 km · CAD 0.15/kWh
Enter the complete distance, the vehicle's efficiency in the unit shown, and your fuel or electricity price. The calculator does not fetch a route, vehicle rating, or live price for you.
MPG measures distance per gallon, so a higher number usually means less fuel use. L/100 km measures litres consumed over 100 kilometres, so a lower number usually means less fuel use. Do not compare the raw numbers as though they run in the same direction.
Yes. US EV mode accepts kWh per mile, while Canada EV mode accepts kWh per 100 km. Both multiply estimated energy use by the entered electricity rate.
Enter the distance you want priced. For a return journey, include both outbound and return travel in the entered total because the calculator does not apply a round-trip multiplier.
Traffic, speed, hills, temperature, tire pressure, cargo, HVAC use, and driving style can change real-world consumption.
No. It estimates gasoline or electricity expense only. Tolls, parking, maintenance, depreciation, insurance, rentals, meals, and lodging remain outside the result.
A recent dashboard or measured average often reflects your vehicle and driving conditions more closely. An official rating can still be useful for initial planning when no real-world average is available.
Traffic can change real consumption through idling and repeated acceleration, but the calculator does not model traffic automatically. Use an efficiency value that reflects similar driving when possible.
Reviewed against the production calculation logic on August 22, 2026. Fixed-case checks covered US MPG and price-per-gallon math, Canadian L/100 km and price-per-litre math, both EV efficiency units, decimals, zero-priced energy, invalid divisors, and derived overflow.
This is an energy-cost estimator, not a route planner. It does not choose a route, calculate distance, fetch live prices, split costs between passengers, apply exchange rates, or model charging stops.