Skip to content
Free everyday tool

Trip fuel cost calculator

This calculator estimates how much fuel a drive will use and what it will cost. You can use miles or kilometers, mpg or liters per 100 km, and price per gallon or per liter. Road trippers and carpoolers use it to budget and split gas money.

  • Runs in your browser
  • Free, no account needed
  • Copy or download the result

Your input

One way
Distance unit
Economy unit
Per gallon or liter
Price per
Round trip
Yes doubles the distance
1 to 100

Result

Fuel cost$62.50
Per person
$31.25 (2 people)
Fuel used
17.86 US gallons (67.6 liters)
Distance
500 miles (804.7 km), round trip
Cost per mile
$0.125

This is an estimate. Real fuel use changes with speed, traffic, terrain, weather and load.

The short answer

Fuel used is the distance divided by your miles per gallon, and the cost is the fuel used times the price per gallon. For a round trip, double the one-way distance first. Actual use varies with speed, traffic, terrain and load, so treat the result as an estimate.

FormulaFuel used = distance / fuel economy (mpg). Cost = fuel used x price per gallon. Cost per person = cost / number of people

Worked exampleA 250 mile trip each way (500 miles round trip) at 28 mpg uses 17.86 gallons, which at $3.50 a gallon costs $62.50, or $31.25 each for 2 people.

Example

Input
Distance
250
Distance unit
Miles
Fuel economy
28
Economy unit
mpg (US)
Fuel price
3.50
Price per
Gallon
Round trip
Yes
People sharing
2
Result
Fuel cost$62.50
Per person
$31.25 (2 people)
Fuel used
17.86 US gallons (67.6 liters)
Distance
500 miles (804.7 km), round trip
Cost per mile
$0.125

This is an estimate. Real fuel use changes with speed, traffic, terrain, weather and load.

How to use the trip fuel cost calculator

  1. Enter the one way Distance and pick the Distance unit.
  2. Enter the Fuel economy and its Economy unit, then the Fuel price and whether it is Price per gallon or liter.
  3. Set Round trip and People sharing.
  4. Results update as you type. Press Run any time, then use Copy result or Download.

How it works

Fuel used equals distance divided by miles per gallon, or distance times liters per 100 km divided by 100.

Cost equals fuel used times the fuel price, with gallons and liters converted at 3.785411784 liters per US gallon.

Round trip doubles the distance, and the cost per person divides the total evenly.

This is an estimate. Real fuel use changes with speed, traffic, hills, weather and load.

Everything runs in your browser. Your input is not uploaded or stored. If you use Copy link, what you entered is placed in the link.

Questions and answers

How do I calculate gas cost for a trip?

Divide the miles by your car's mpg to get gallons, then multiply by the price per gallon. 250 miles at 28 mpg and $3.50 a gallon is about $31.25.

Can I use liters per 100 km?

Yes. Choose Liters per 100 km for Fuel economy and set the price per liter if that is how fuel is priced where you are.

Does it include tolls or wear on the car?

No. It covers fuel only.

Last updated November 1, 2026. Maintained by SnowRock. How our tools work

All 220 SnowRock tools