InfyCalculator
🛒

Fuel Trip Cost Calculator

Estimate what a road trip costs in gas, diesel or electricity — one way or round trip, extra stops, tolls and parking, split per person — with MPG, L/100 km, km/L or kWh figures.

Trip distance (miles)
Round trip (drive back the same way)
Extra legs or stops (optional)
Vehicle and fuel economy unit
Fuel economy (mpg)
Fuel consumption
Fuel economy
Fuel economy (UK gallons)
Gas price
Fuel price per litre
Electric car efficiency
Electricity price (home charging)
People splitting the cost
Tolls
Parking and other shared costs
Average speed incl. slowdowns (mph)
Fuel tank size
Fuel type (for CO₂)
Share of energy from public fast chargers
Fast-charging price
Charging losses to add
Loading calculator…

How it works

Fuel: gallons = miles ÷ MPG (or litres = km × L/100 km ÷ 100, or km ÷ km/L) · cost = fuel × price · Electric: kWh = distance × kWh per 100 ÷ 100 × (1 + charging losses) · cost = kWh × price per kWh · total distance = trip × 2 (round trip) + extra legs · per person = (energy cost + tolls + parking) ÷ people

The calculator turns the route length into fuel or electricity, then into money. Distance is the one-way trip, doubled if you drive back the same way, plus any extra legs you list (a detour, a side trip, driving around at the destination). For a gas or diesel car it divides the distance by your fuel economy — or multiplies by litres per 100 km, the way most of the world quotes it — and multiplies the fuel by the pump price. UK miles per gallon use the 4.546-litre imperial gallon, so 33.6 mpg (UK) is the same car as 28 mpg (US). For an electric car it multiplies the distance by the kWh per 100 miles or km and by your electricity price, optionally blending in a share of public fast charging, which usually costs two to three times home electricity. Tolls, parking and other shared costs are added before the split, so every passenger’s share covers the whole trip. The price and efficiency tables show how much the answer moves if gas is 50 cents dearer or the car does 10% worse loaded with luggage.

Worked example

A 400-mile trip at 28 MPG uses 400 ÷ 28 = 14.3 gallons. At $3.50 per gallon that is $50.00 in gas — $25.00 each with two people sharing, or about $0.125 per mile. Make it a round trip and it doubles to 800 miles and $100.00 ($50.00 each). The same 400 miles in an electric car using 30 kWh per 100 miles takes 120 kWh; at $0.17 per kWh at home that is $20.40, but charging half of it at a $0.45 fast charger raises it to $37.20.

Sources: fueleconomy.gov — Trip Calculator and fuel economy data (US DOE / EPA) · US EPA — Greenhouse gas emissions from a typical passenger vehicle (8,887 g CO₂ per gallon of gasoline)

Frequently asked questions

How do I convert L/100 km or km/L to MPG?

MPG (US) = 235.21 ÷ L/100 km, and MPG (US) = km/L × 2.352. So 8.4 L/100 km and 11.9 km/L are both about 28 MPG. You do not need to convert: pick the unit your car uses and the calculator handles it.

How should we split if someone rides only part of the way?

Split by distance ridden: take the cost per mile or km and multiply by the distance each person was in the car. Shared costs like tolls and parking can be split evenly on top.

Is gas the whole cost of the trip?

No — tires, oil and depreciation add up too. The IRS business mileage rate (70¢ a mile for 2025) is a fair proxy for the full cost of running an average car, several times the fuel-only number.

What MPG should I use for a highway road trip?

Use the EPA highway figure minus 5–10% for real conditions, or the trip computer reading from a similar drive. Roof boxes, heavy loads, towing and speeds over 70 mph can each cost several MPG.

How much does an electric car road trip cost?

Multiply the kWh you use by what you pay for it. Home electricity averages about 17¢ per kWh in the US, while public DC fast chargers often charge 40–60¢. A typical EV using 30 kWh per 100 miles costs about $5 per 100 miles on home power and $13–18 on fast chargers, so the mix matters more than the car.

Related calculators

This calculator is for educational purposes. Double-check important results before acting on them.