Fuel Cost & Gas Cost Calculator
Estimate the gas cost of a trip. Enter the distance, your car's fuel economy, and the price of fuel, and split the cost between the people traveling.
Fuel cost
29.17
Check the highlighted fields to see your result.
- Fuel needed
- 8.3 gal
- Cost per person
- 29.17
Results are estimates for information only and do not constitute financial, medical, or legal advice.
How the gas cost is calculated
First the calculator works out how much fuel the trip needs from the distance and your fuel economy, then multiplies it by the price. You can enter fuel economy in miles per gallon, kilometers per liter, or liters per 100 km.
The formulas
Gallons = miles ÷ mpg
Cost = gallons × price per gallon
Worked example
You drive 250 miles in a car that gets 30 mpg, and gas costs 3.50 a gallon.
- Fuel: 250 ÷ 30 = 8.33 gallons.
- Cost: 8.33 × 3.50 = 29.17.
- For a round trip it would be 58.33, or 29.17 each if two people share it.
Frequently asked questions
How do I convert mpg to liters per 100 km?
Divide 235.21 by the mpg. For example, 30 mpg is 235.21 ÷ 30 = 7.84 liters per 100 km. The same formula works the other way around.
Where do I find my car's fuel economy?
Many cars show it on the dashboard. You can also fill the tank, reset the trip meter, and at the next fill-up divide the miles driven by the gallons you put in.
Does it include tolls or other costs?
No. It only estimates fuel. Add tolls, parking, and other costs separately.