Fuel Cost Calculator
Enter the trip distance, your vehicle's fuel economy and the fuel price to see how much fuel the trip uses, what it costs and each person's share.
How to use the Fuel Cost Calculator
- Enter Trip distance (one way) and choose its unit.
- Enter Fuel efficiency.
- Choose Efficiency unit.
- Enter Fuel price.
- Choose Price per.
- Fill in the remaining fields, or keep their sensible defaults.
- Read your answer in the results panel. It updates as you type, and the breakdown, step-by-step working and any charts or tables appear below it.
- Use Share link to save or send the exact calculation, or Copy to paste the results elsewhere.
How the trip cost is calculated
The fuel a trip burns is the distance divided by your fuel economy. Multiply that by the price per gallon or liter and you have the cost. The only tricky part is that people quote fuel economy in four different ways, so the calculator converts everything to kilometers per liter behind the scenes.
fuel = distance ÷ economy · cost = fuel × price per unit
| Unit | Used in | Conversion |
|---|---|---|
| MPG (US) | USA | L/100 km = 235.21 ÷ mpg |
| MPG (UK) | UK | L/100 km = 282.48 ÷ mpg |
| L/100 km | Europe, Canada, Australia | lower is better |
| km/L | Asia, Latin America | km/L = 100 ÷ (L/100 km) |
UK miles per gallon look about 20% better than US figures for the same car, because an imperial gallon (4.546 L) is bigger than a US gallon (3.785 L).
Worked example
A 300 mile drive in a car that gets 25 mpg uses 300 ÷ 25 = 12 gallons. At $3.50 per gallon that is $42.00, or 14 cents a mile. Make it a round trip and you burn 24 gallons for $84.00. Split between two people, each pays $42.00. In metric terms: 500 km at 6 L/100 km uses 30 L, and at 1.80 per liter that costs 54.00.
Getting a realistic number
- Use your own measured fuel economy if you can (see the gas mileage calculator). Official ratings are often 5–15% optimistic in real driving.
- Highway driving above about 65 mph (105 km/h) cuts economy noticeably, because aerodynamic drag rises with the square of speed.
- Roof boxes, trailers, heavy loads, air conditioning in extreme heat and cold weather all increase consumption.
- The table under the results shows the cost at nearby fuel prices, which helps when prices vary along your route.
This tool only counts fuel. Wear and tear, tolls, parking and insurance add more, which is why the IRS business mileage rate is far higher than fuel cost alone.
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. For example, 300 miles ÷ 25 mpg = 12 gallons, and 12 × $3.50 = $42.
How do I convert mpg to L/100 km?
Divide 235.21 by the US mpg figure. 25 mpg is 9.41 L/100 km. For UK mpg, divide 282.48 by the mpg figure instead.
How do you split gas money on a road trip?
Work out the total fuel cost for the whole trip, including the return leg, and divide it by the number of people sharing. Some groups exclude the driver or add a share for wear and tear.
Is it cheaper to drive or fly?
For one person on a long trip, flying often wins. For two or more people sharing fuel, driving is usually cheaper on trips under 500–600 miles, before you count hotels, parking and time.