Gas Cost Calculator

Estimate the fuel cost of a road trip from distance, fuel economy and the price of gas.

$
people
Fuel cost
$42.00
Trip fuel cost
$0$10$20$30$40$50Whole trip — Cost: $42.00Whole tripPer person — Cost: $42.00Per personPer 100 miles — Cost: $14.00Per 100 miles
Fuel needed
12
Cost per person
$42.00
Cost per mile
$0.14
Cost per km
$0.087
Show the working
  1. Distance = 482.8 km (300.0 mi)
  2. Fuel = distance ÷ economy = 45.42 L (12.00 US gal)
  3. Cost = fuel × price = $42.00

Runs entirely in your browser. Nothing you enter is uploaded.

Formula

Fuel used = distance ÷ fuel economyCost = fuel used × price per unit of fuelWith L/100 km: fuel (L) = distance (km) × L/100 km ÷ 100

How it works

Trip fuel cost comes down to two numbers: how much fuel the journey burns and what that fuel costs. Divide the distance by your fuel economy to get gallons or litres, then multiply by the pump price.

Use a realistic fuel economy. Window-sticker figures are measured under gentle test cycles; sustained highway speeds above 65 mph, roof boxes, towing, heavy loads and air-conditioning can cut real-world mileage by 10–25%. Your car’s trip computer or a fill-up-to-fill-up calculation is the best source.

You can mix units freely — miles with L/100 km, or kilometres with a price per US gallon. Everything is converted internally, and the fuel needed can be shown in US gallons, litres or imperial gallons.

Frequently asked questions

What is the difference between US and UK mpg?

A UK (imperial) gallon is 4.546 L, about 20% larger than a US gallon of 3.785 L, so the same car shows a higher mpg figure in the UK. Pick the matching unit to avoid underestimating the cost.

How do I convert mpg to L/100 km?

Divide 235.21 by the US mpg figure. 25 mpg is about 9.4 L/100 km.

Does this include tolls or wear and tear?

No, only fuel. The IRS mileage rate is a common benchmark for the full per-mile cost of running a car.

esc