Road trip gas cost calculator
Enter how far you are driving, your car’s fuel economy and the price of gas. The calculator shows the fuel you need, the total cost and each person’s share.
Handy for long drives
As an Amazon Associate I earn from qualifying purchases. Links open Amazon search results; we don't pick or test specific products.
How the cost is worked out
The calculator converts everything to miles and US gallons, so you can mix units: one mile is 1.60934 km and one US gallon is 3.78541 liters. Fuel needed is the total distance divided by miles per gallon. A fuel economy in liters per 100 km is converted with 235.215 divided by the figure. The fuel cost is the gallons times the price per gallon, then split between the people sharing the ride.
Tips for a closer estimate
- Use your car’s real highway figure rather than the sticker number; roof boxes, heavy loads and speeds over 65 mph lower it.
- Gas prices vary a lot by state and along highways, so use an average for the route.
- Add tolls and parking separately; they are not included here.
How to use this calculator
- Enter the one-way distance and choose miles or kilometers.
- Enter your car's fuel economy in miles per gallon or liters per 100 km.
- Enter the gas price per gallon or per liter, and choose one way or round trip.
- Enter how many people are sharing the cost to see each person's share.
Worked example
A 350 mile drive each way is 700 miles for the round trip. At 28 mpg, the car uses 700 ÷ 28 = 25 gallons. At $3.25 a gallon, the fuel costs $81.25, or $40.63 each for two people.
The same trip in a car that averages 9 liters per 100 km uses about 26.8 gallons (101 liters), so the cost rises to about $87.
Getting a realistic fuel economy figure
The best number is your own: fill the tank, reset the trip meter, drive normally and divide the miles by the gallons at the next fill-up. Most cars also show an average on the dashboard, which tends to be slightly optimistic. Official ratings are measured under standard test conditions, and highway speeds above about 65 mph, air conditioning, roof racks and heavy loads all reduce economy.
For an electric car, the same idea applies with miles per kWh and the price per kWh, but charging costs vary so much between home and public chargers that a separate estimate is better.
Common mistakes to avoid
- Using the city fuel economy for a highway trip, or the other way round.
- Forgetting the return leg. Choose round trip if you are driving back.
- Mixing US and imperial gallons. This calculator uses US gallons (3.785 liters). A UK gallon is larger, so UK mpg figures look higher.
- Leaving out detours and driving at the destination. Add 5% to 10% to the distance if you will drive around once you arrive.
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.
How do I convert liters per 100 km to mpg?
Divide 235.215 by the liters per 100 km figure. 8 L/100 km is about 29.4 mpg (US).
Should I split gas money evenly?
Splitting fuel evenly is the simplest. Some groups also share tolls and parking, or have the driver pay less.
Does this include tolls?
No. Add tolls, parking and any charging or ferry fees separately.
Related calculators
- Daily travel budget calculator: How much you can spend per day after flights and lodging.
- Time zone converter: A time in one city shown in three others, with daylight saving handled.
- Luggage weight converter: Kilograms to pounds, checked against common bag limits.
Last reviewed November 24, 2026. Found a mistake? Let us know.