Before a road trip, one of the first questions is what it will cost in fuel. The answer comes from three numbers: how far you are going, how much fuel your vehicle uses, and the price of that fuel. The complication is units. Fuel economy is quoted in miles per gallon in the United States, in litres per 100 kilometers in much of Europe and Asia, and in kilometers per litre elsewhere, and fuel is sold by the gallon or the litre. This fuel cost calculator accepts any of those. It works out the fuel needed, the total cost, the cost per mile and per kilometer, and what each person pays if the cost is shared.
How to use the fuel cost calculator
- Enter the trip distance and choose miles or kilometers. Choose round trip if you are coming back.
- Enter your fuel economy and choose the unit it is in.
- Enter the fuel price and whether it is per US gallon or per litre.
- Enter the number of people sharing the cost. Read the total and the cost per person.
Fuel cost formulas
Fuel cost = fuel needed × price per unit of fuel
L/100 km = 235.215 ÷ mpg (US) · km/L = 100 ÷ (L/100 km)
Cost per mile = price per gallon ÷ mpg
1 mile = 1.609344 km · 1 US gallon = 3.785412 L · 1 imperial gallon = 4.54609 L
The calculator converts everything to litres and kilometers internally, so you can mix units, such as a distance in miles with a fuel economy in L/100 km. If you choose imperial mpg, the larger imperial gallon is taken into account.
Worked examples
- US units: 300 miles at 28 mpg uses 300 ÷ 28 = 10.71 gallons; at $3.60 that costs $38.57, or $0.129 per mile.
- Metric round trip: 450 km each way at 7.5 L/100 km: 900 × 7.5 ÷ 100 = 67.5 L; at 1.75 per litre the cost is $118.12, or $39.38 for each of three people.
- Mixed units: 120 miles at 14.5 km/L = 193.1 km ÷ 14.5 = 13.32 L, costing $21.31 at 1.60 per litre.
- Long trip: a 1,800-mile round trip at 24 mpg uses 150 gallons, costing $577.50, or $144.38 per person with four people.
Cost of fuel by distance and fuel economy
Gas at $3.60 per gallon, one way.
| Distance | 20 mpg | 25 mpg | 30 mpg | 40 mpg |
|---|---|---|---|---|
| 50 miles | $9.00 | $7.20 | $6.00 | $4.50 |
| 100 miles | $18.00 | $14.40 | $12.00 | $9.00 |
| 250 miles | $45.00 | $36.00 | $30.00 | $22.50 |
| 500 miles | $90.00 | $72.00 | $60.00 | $45.00 |
| 1000 miles | $180.00 | $144.00 | $120.00 | $90.00 |
| 2000 miles | $360.00 | $288.00 | $240.00 | $180.00 |
Planning a trip budget
- Add a margin. Real-world economy is often lower than the rating, particularly with loads, speed and weather.
- Remember the return leg. Choose round trip to double the distance in one step.
- Check prices along the route. Fuel can differ noticeably between regions and highway stations.
- Include other costs. Tolls, parking, food and lodging are separate from fuel.
- Share costs fairly. Splitting fuel among passengers is simple; wear and depreciation are less visible but real.
Related tools
Find your actual fuel economy with the Gas Mileage Calculator and compare vehicles with the Fuel Savings Calculator. Convert economy units using the L/100 km Fuel Consumption Calculator and the Kilometers per Liter Converter, and price an electric trip with the Electric Vehicle Charging Cost Calculator.
Frequently asked questions
How do I calculate the fuel cost of a trip?
Fuel needed = distance ÷ fuel economy (in miles per gallon), and cost = fuel needed × price per gallon. A 300-mile trip at 28 mpg uses 10.71 gallons, which costs $38.57 at $3.60 per gallon. With L/100 km, fuel = distance in km × L/100 km ÷ 100.
How do I convert between mpg, L/100 km and km/L?
L/100 km = 235.215 ÷ mpg (US), and km/L = mpg × 0.425144. So 28 mpg is 8.40 L/100 km or 11.90 km/L. Imperial gallons are bigger (4.546 L), so an imperial mpg figure is about 20% higher than the same economy in US mpg.
Is the real cost higher than the calculation?
Often. Highway speed, headwinds, hills, air conditioning, cargo, roof racks, cold weather and stop-and-go traffic reduce fuel economy below the rated figure. Use your own measured mpg and add a margin for a long trip.
How do I split the cost between passengers?
Enter the number of people sharing, and the total is divided equally. For the 1,800-mile round trip with four people, each pays $144.38 for fuel alone. Add tolls, parking and wear if you share those too.
What does it cost per mile to drive?
Fuel alone is price per gallon ÷ mpg: $0.129 per mile at $3.60 and 28 mpg. The full cost of driving also includes maintenance, tires, insurance and depreciation, which together are usually many times the fuel cost per mile.