Gas cost calculator

Work out what a drive will cost in fuel, one way or there and back, and split it fairly between everyone in the car.

Units
Trip

Fuel cost

$29.38

8.93 gallons of fuel

Fuel used
8.93 gallons
Cost per mile
$0.12
Distance driven
250 miles

How it works

  1. Choose miles and gallons, or kilometers and liters.
  2. Enter the distance, your fuel economy and the fuel price.
  3. Choose one way or round trip and how many people share.

Questions

How do I work out the gas cost of a trip?

Divide the miles by your mpg to get gallons, then multiply by the price per gallon. 280 miles at 28 mpg is 10 gallons, which at $3 is $30.

Where do I find my car's mpg?

Your dashboard trip computer shows it, or fill the tank, reset the trip meter, and at the next fill divide the miles driven by the gallons you put in. Highway mpg is usually higher than the sticker's combined figure.

How do I find my car's mpg?

Fill the tank and reset the trip meter. At the next fill-up, divide the miles driven by the gallons you put in.

Is it cheaper to drive or fly?

For two or more people over a few hundred miles, driving often costs less in fuel, but add parking, tolls and the value of your time before deciding.

The formula

Fuel needed = distance ÷ miles per gallon. Cost = fuel needed × price per gallon.

In metric, fuel economy is quoted the other way round, as liters per 100 km: fuel = distance × L/100 km ÷ 100. To convert, mpg (US) = 235.2 ÷ L/100 km. 28 mpg is 8.4 L/100 km.

Getting a realistic number

  • Use your car's real mpg, not the sticker figure. Highway driving at 55 to 65 mph is usually the most efficient; at 75 mph many cars use 15% to 20% more.
  • Roof boxes, a full load and air conditioning all cost fuel.
  • Prices change along the route. Apps that show local prices can save several cents a gallon.
  • For an electric car, enter miles per kWh in place of mpg and the price per kWh in place of the fuel price. The sum is the same.

Splitting a trip

A fair split usually shares the fuel cost equally between everyone in the car, including the driver. Some groups also add a few cents a mile for wear on the car. The IRS mileage rate, which covers all running costs for business travel, is far higher than fuel alone.