Planning a road trip and want to know what gas will cost? Divide the miles by your car's MPG to get gallons, multiply by the price per gallon and add tolls. This gas trip calculator does it for one way or round trip, splits the total between passengers and also works in kilometers with km/L or L/100 km.
Formula
Fuel = distance ÷ fuel economy (km/L or MPG), or distance × L/100 km ÷ 100. Total = fuel × price + tolls (doubled for a round trip). Per person = total ÷ people.
How it works
Pick the units you use, enter the one-way distance from your map app, your car's real highway fuel economy and the current fuel price. Tolls are entered one way and doubled automatically for a round trip.
How to calculate gas cost for a trip
Step 1: get the driving distance from your map app. Step 2: use your car's real highway MPG (the trip computer or a fill-up log is more accurate than the window sticker). Step 3: gallons = miles ÷ MPG. Step 4: fuel cost = gallons × price per gallon. Step 5: add tolls and parking, double everything for a round trip, and divide by the number of people sharing.
Metric works the same way: liters = km ÷ km/L, or liters = km × L/100 km ÷ 100 if your car shows consumption per 100 km. To switch between MPG, km/L and L/100 km, use the fuel consumption converter.
Worked example: 300 mile round trip
A 300 mile drive each way in a car that gets 30 MPG, with gas at $3.20 a gallon and no tolls: the round trip is 600 miles, which takes 600 ÷ 30 = 20 gallons and costs 20 × 3.20 = $64. Split between 2 people, that is $32 each, or about 10.7 cents per mile.
The calculator's default example is in metric: 430 km one way at 12 km/L with fuel at 6.20 per liter and 60 in tolls gives 35.83 liters, 222.17 in fuel and 282.17 in total, or 70.54 each for 4 people.
What changes your real fuel economy
Highway speed matters most: above about 50 to 60 mph, MPG drops quickly, and driving at 75 instead of 65 mph can cost 10 to 15% more fuel. A loaded car or roof box, AC on full, under-inflated tires and mountain roads also cut efficiency. For a safety margin, lower your MPG by 10% on long trips with luggage.
Gas prices vary by state and along the route, so use an average of the prices you expect. Electric vehicles can use the same idea with miles per kWh and the charging price, or the electricity cost calculator.
Splitting costs fairly
Most groups split fuel and tolls equally. If the driver owns the car, some groups add a few cents per mile for wear and tear (the IRS mileage rate is a common reference for total car costs, though it is much higher than fuel alone). Agree on it before leaving.
For restaurant bills on the road, the tip calculator splits the check, and the percentage calculator helps compare gas prices.
Frequently Asked Questions
- How do I calculate gas cost for a trip?
- Divide the miles by your MPG to get gallons, then multiply by the price per gallon. 300 miles at 30 MPG is 10 gallons; at $3.20 that is $32.
- How much gas will I use for 500 miles?
- Divide 500 by your MPG. At 25 MPG that is 20 gallons; at $3.50 a gallon, $70.
- How do I calculate cost per mile for gas?
- Divide the price per gallon by your MPG. At $3.20 and 30 MPG, gas costs 10.7 cents per mile.
- Should I count the round trip?
- Yes, if you drive back. Select round trip and the calculator doubles both the distance and the tolls.
- Is the EPA MPG accurate for road trips?
- The EPA highway figure is a good start, but real-world MPG at 70 mph with luggage is often 10 to 20% lower.