Fuel Cost Calculator
How much will that road trip cost in fuel? Distance, MPG, and price per gallon — answered.
About this calculator
Before you plan a road trip — or quote a delivery — you need to know what the fuel will actually cost. This calculator handles both US (miles, MPG, dollars per gallon) and metric (kilometres, L/100km, currency per litre), so it works for cross-country trips, daily commutes, and freight estimates alike.
How it works
The math is straightforward. In metric: fuel needed (litres) = distance (km) × consumption (L/100km) / 100. In imperial: fuel needed (gallons) = distance (miles) / fuel economy (MPG). Total cost = fuel needed × price per unit.
Use real-world fuel economy, not the EPA or WLTP sticker number. Most modern cars achieve about 80-85% of their advertised efficiency on average — and significantly less in city traffic, with a heavy load, in cold weather, or with a roof rack adding aerodynamic drag.
For a round trip, double the one-way distance. The calculator computes whatever distance you enter; if you're going there and back, enter the round-trip total.
If you're trying to decide between driving and flying or taking the train, also factor in tolls, parking, wear-and-tear (the IRS standard mileage rate of 67 cents per mile in 2026 is a decent rough proxy), and time. Pure fuel cost almost always favours driving for short trips and longer trips with multiple passengers.
Formula
Metric: litres = (distance_km × L_per_100km) / 100
Imperial: gallons = distance_miles / mpg
total_cost = fuel_needed × price_per_unit
cost_per_unit_of_distance = total_cost / distance Examples
300-mile trip, 30 MPG, $3.50/gallon
A 300-mile trip in a 30-MPG car at $3.50/gallon costs $35 in fuel — about 12 cents per mile.
Result: Fuel needed 10 gallons — Total cost $35 — Cost per mile $0.117
500 km trip, 7 L/100km, €1.75/L
A 500-km drive at 7 L/100km and €1.75 per litre costs €61.25 in fuel.
Result: Fuel needed 35 L — Total cost €61.25 — Cost per km €0.123