Layover Time Check

Road trip gas cost calculator

Enter how far you are driving, your car’s fuel economy and the price of gas. The calculator shows the fuel you need, the total cost and each person’s share.

Handy for long drives

As an Amazon Associate I earn from qualifying purchases. Links open Amazon search results; we don't pick or test specific products.

How the cost is worked out

The calculator converts everything to miles and US gallons, so you can mix units: one mile is 1.60934 km and one US gallon is 3.78541 liters. Fuel needed is the total distance divided by miles per gallon. A fuel economy in liters per 100 km is converted with 235.215 divided by the figure. The fuel cost is the gallons times the price per gallon, then split between the people sharing the ride.

Tips for a closer estimate

How to use this calculator

  1. Enter the one-way distance and choose miles or kilometers.
  2. Enter your car's fuel economy in miles per gallon or liters per 100 km.
  3. Enter the gas price per gallon or per liter, and choose one way or round trip.
  4. Enter how many people are sharing the cost to see each person's share.

Worked example

A 350 mile drive each way is 700 miles for the round trip. At 28 mpg, the car uses 700 ÷ 28 = 25 gallons. At $3.25 a gallon, the fuel costs $81.25, or $40.63 each for two people.

The same trip in a car that averages 9 liters per 100 km uses about 26.8 gallons (101 liters), so the cost rises to about $87.

Getting a realistic fuel economy figure

The best number is your own: fill the tank, reset the trip meter, drive normally and divide the miles by the gallons at the next fill-up. Most cars also show an average on the dashboard, which tends to be slightly optimistic. Official ratings are measured under standard test conditions, and highway speeds above about 65 mph, air conditioning, roof racks and heavy loads all reduce economy.

For an electric car, the same idea applies with miles per kWh and the price per kWh, but charging costs vary so much between home and public chargers that a separate estimate is better.

Common mistakes to avoid

Frequently asked questions

How do I calculate gas cost for a trip?

Divide the distance by your car's miles per gallon to get gallons, then multiply by the price per gallon.

How do I convert liters per 100 km to mpg?

Divide 235.215 by the liters per 100 km figure. 8 L/100 km is about 29.4 mpg (US).

Should I split gas money evenly?

Splitting fuel evenly is the simplest. Some groups also share tolls and parking, or have the driver pay less.

Does this include tolls?

No. Add tolls, parking and any charging or ferry fees separately.

Related calculators

Last reviewed November 24, 2026. Found a mistake? Let us know.