Fuel Cost Calculator
Work out what a trip costs in fuel, and split it between passengers.
Fuel cost
$36.43
Driving 300 miles at 28 mpg uses 10.7 gallons.
- Fuel used
- 10.71 gallons
- Cost per person
- $36.43
- Cost per mile
- $0.12
- Distance driven
- 300 miles
How to use this calculator
- Enter the one-way distance of your trip in miles or kilometers. Tick “Round trip” to double it.
- Enter your vehicle’s fuel economy in miles per gallon, liters per 100 km or kilometers per liter.
- Enter the fuel price per gallon or per liter.
- If you are sharing the cost, enter how many people are splitting it.
- Read the total fuel cost, the fuel used and the cost per person and per mile.
The formula
Fuel cost is fuel used times the price:
Fuel used = distance ÷ fuel economy
Cost = fuel used × price per unit
With L/100 km the first step becomes fuel used = distance (km) × L/100 km ÷ 100. When the units are mixed, such as miles with a price per liter, everything is converted through liters and kilometers first:
| Conversion | Value |
|---|---|
| 1 US gallon | 3.785411784 liters |
| 1 mile | 1.609344 kilometers |
| mpg to L/100 km | 235.21 ÷ mpg |
Worked example
Three friends drive 240 miles each way to a concert and back, in a car that gets 32 mpg on the highway, with fuel at $3.15 a gallon.
- Round-trip distance: 240 × 2 = 480 miles
- Fuel used: 480 ÷ 32 = 15 gallons
- Fuel cost: 15 × 3.15 = $47.25
- Per person: 47.25 ÷ 3 = $15.75
- Per mile: 47.25 ÷ 480 ≈ $0.098, just under 10 cents
If the same trip were in a pickup that averages 18 mpg, it would use about 26.7 gallons and cost about $84.
Understanding your result
The result is a solid estimate for planning and for splitting costs fairly, but real fuel use depends on how and where you drive. Expect your actual cost to land within 10% to 15% of the estimate on a typical trip.
What changes your real mpg
Speed has the biggest effect on the highway: most cars use noticeably more fuel above about 50 to 60 mph, because air resistance rises quickly with speed. Roof boxes, heavy loads, towing, under-inflated tires, air conditioning on hot days and stop-and-go traffic all lower mileage too. Mountain driving costs more going up than it saves coming down.
Comparing cars
Fuel economy matters more than it looks over a year. Driving 12,000 miles at $3.40 a gallon costs about $1,457 in a 28 mpg car and about $2,267 at 18 mpg, a difference of over $800 a year. When you shop for a car, set that against the price difference, and pair it with the auto loan calculator to see the full monthly cost.
Splitting costs fairly
Fuel is only part of a car's running cost. If someone regularly drives a group, many people add a share for wear and tear on top of fuel; the IRS standard mileage rate is a common reference for the full per-mile cost of driving. For one-off trips, splitting the fuel evenly is the usual courtesy.
Frequently asked questions
How do I calculate the fuel cost of a trip?
Divide the distance by your fuel economy to get the fuel used, then multiply by the price. A 300-mile trip in a car that gets 28 mpg uses 300 ÷ 28 ≈ 10.7 gallons; at $3.40 a gallon that is about $36.43.
What mpg should I use?
For road trips, use your car’s highway figure, which is usually higher than city or combined. The official ratings for US vehicles are on fueleconomy.gov and the window sticker. Your own records are best: fill the tank, note the miles driven until the next fill-up, and divide by the gallons added.
How do I convert mpg to L/100 km?
Divide 235.21 by the mpg figure. 30 mpg is about 7.8 L/100 km. The calculator accepts either unit, so you can also use a European or Canadian rating directly. Note that UK mpg uses the larger imperial gallon, so UK figures look about 20% better than US ones for the same car.
Does this include wear and tear?
No, it is fuel only. Tires, maintenance and depreciation add to the real cost of driving. The IRS standard mileage rate, which covers all of these, is a useful comparison for the full per-mile cost.