Fuel Cost Calculator
Estimate how much fuel a trip needs and what it costs, in miles and mpg or kilometers and liters.
How much will my trip cost in gas?
Miles, miles per gallon and price per gallon.
Trip fuel cost
$35.00
- Fuel needed
- 10 gal
- Cost per mile
- $0.117
How we calculated it
- 1Fuel needed300 mi ÷ 30 mpg = 10 gal
- 2Multiply by the price10 × $3.5 = $35.00
Formulas and examples
Gallons needed (US)
gallons = miles ÷ mpg
A 300-mile trip at 30 mpg uses 10 gallons; at $3.50 that's $35.
Liters needed (L/100 km)
liters = km × L/100 km ÷ 100
500 km at 7 L/100 km uses 35 liters; at 1.60 per liter that's 56.00.
Liters needed (km/L)
liters = km ÷ km per liter
500 km at 14 km/L uses about 35.71 liters.
Trip cost
cost = fuel needed × price per unit
10 gallons at $3.50 per gallon costs $35.00.
Cost per distance
cost per mile = price ÷ mpg
At $3.50 per gallon and 30 mpg, each mile costs about $0.12.
About This Tool
Enter distance, vehicle efficiency, and fuel price. US mode uses miles, miles per gallon, and price per gallon. Metric mode uses kilometers, liters per 100 km or km per liter, and price per liter. Outputs total fuel needed and total cost for the trip.
Frequently asked questions
How do I calculate the fuel cost of a trip?
Work out how much fuel the trip needs, then multiply it by the fuel price. A 300-mile trip at 30 mpg needs 300 ÷ 30 = 10 gallons; at $3.50 per gallon it costs $35.
How do I convert mpg to L/100 km?
Divide 235.21 by the mpg figure. 30 mpg (US) is about 235.21 ÷ 30 = 7.8 L/100 km. The same formula works the other way: 235.21 ÷ L/100 km gives mpg.
What is the difference between L/100 km and km/L?
L/100 km says how many liters a car burns over 100 km, so lower is better. km/L says how far a car goes on one liter, so higher is better. 7 L/100 km equals about 14.3 km/L.
How do I calculate the cost of a round trip?
Double the one-way distance before entering it. A 150-mile drive each way is a 300-mile round trip.
How do I split the fuel cost between passengers?
Divide the trip cost by the number of people sharing it. A $35 trip shared by 4 people costs $8.75 each.
Why is my real fuel cost higher than the estimate?
Official efficiency figures are measured in ideal conditions. Traffic, high speeds, air conditioning, cargo and cold weather can raise consumption by 10–30%.