The basic formula: miles divided by fuel economy, multiplied by current gas price
To find out what you'll spend on gas for a trip, you need three numbers: the distance you're driving, your car's fuel economy (how many miles it travels per gallon), and the current price of gas where you'll be filling up. Multiply the distance by the gas price, then divide by your car's fuel economy. That gives you the total fuel cost.
The formula looks like this: (Total miles ÷ Miles per gallon) × Price per gallon = Total gas cost. If you're driving 300 miles, your car gets 25 miles per gallon, and gas costs $3.50 per gallon, you'd calculate (300 ÷ 25) × $3.50 = $42.
The catch is that fuel economy changes based on how you drive and road conditions. Highway driving uses less fuel than city driving. Idling in traffic, rapid acceleration, and carrying heavy cargo all reduce your miles per gallon. Cold weather also lowers fuel economy. So your actual cost may be higher or lower than the estimate.
Key Takeaways
- Find your car's fuel economy from the window sticker, owner's manual, or fueleconomy.gov, which lists EPA estimates for every vehicle made since 1984.
- Use the highway fuel economy number for road trips, not the city number, because highway driving is more efficient.
- Check current gas prices along your planned route using GasBuddy or your phone's maps app, since prices vary by region and station.
- Add 10 to 15 percent to your estimate to account for real-world driving conditions like traffic, hills, and cargo weight.
- Divide your total estimated cost by the number of people in the car to see what each person's share of fuel will be.
Finding your car's actual fuel economy
The EPA fuel economy rating on your car's window sticker or in the owner's manual is a starting point, not a may provide. The EPA tests vehicles under controlled conditions on a dynamometer (a machine that simulates driving), so real-world results usually differ. You can find the official EPA rating for any vehicle made since 1984 on fueleconomy.gov by entering the year, make, and model.
Your actual fuel economy depends on your driving habits. If you want a more accurate number for your specific car, track it yourself over several fill-ups. Divide the miles you drove by the gallons you added at the pump. Do this over at least 500 miles of mixed driving to get a reliable average. Many modern cars also display fuel economy on the dashboard or through a mobile app, though these readings can be optimistic.
For a road trip, use the highway fuel economy number, not the combined or city number. Highway driving is steadier and more efficient than city driving because you're not stopping, starting, or idling. If the EPA rating shows 22 city / 28 highway / 25 combined, use 28 for your calculation.
Checking gas prices along your route
Gas prices vary significantly by region and even by station. A gallon might cost $3.20 at one exit and $3.60 at the next. For a long trip, this difference adds up. Use GasBuddy (available as a website or app) to see current prices at stations along your route. You can also use Google Maps or Apple Maps—enter your destination, and the maps app will show gas stations near your route with their current prices.
Plan to fill up at stations where prices are lower, but don't drive far out of your way chasing a few cents per gallon. Burning extra fuel to save money defeats the purpose. If you're driving through areas where you know prices are high (like mountain passes or rural highways), fill up before you enter those zones.
Gas prices change daily and sometimes hourly, so check them the day before or the morning of your trip, not a week in advance. If prices are unusually high, you might decide to delay the trip or adjust your route.
Accounting for real-world driving conditions
Your calculated estimate assumes steady highway driving at moderate speeds. Real trips include traffic, hills, detours, and cargo. Each of these reduces fuel economy. Idling in traffic can cut your miles per gallon by 20 percent or more. Driving uphill burns more fuel than driving on flat ground. Carrying a roof rack, trailer, or a trunk full of luggage increases weight and wind resistance, lowering fuel economy by 5 to 25 percent depending on the load.
Cold weather also reduces fuel economy—your engine works harder to warm up, and cold air is denser. Winter driving can lower your miles per gallon by 10 to 20 percent. If you're driving in winter or carrying significant cargo, add 15 percent to your estimate. For a typical summer road trip with light luggage, add 10 percent.
If your trip includes city driving at the start or end, use the city fuel economy number for those segments and the highway number for the highway portion, then add them together. This gives you a more realistic total.
Breaking down the cost by person
If you're splitting the trip cost with passengers, divide your total estimated fuel cost by the number of people in the car. If the trip costs $60 in gas and four people are going, each person's share is $15. Some people prefer to split based on distance—if one person is getting out halfway, they pay half the fuel cost.
Keep receipts from every fill-up during the trip so you can show the actual cost to your passengers. The real cost may be higher or lower than your estimate, and splitting the actual receipts is fairer than splitting the estimate.
Using online calculators and trip planning tools
Several websites do the math for you. GasBuddy has a trip cost calculator where you enter your starting point, destination, vehicle, and current gas prices. It estimates the total fuel cost and shows you gas stations along the way. Google Maps shows estimated fuel cost when you enter a destination, though the estimate varies by the vehicle type you select.
These tools are convenient, but they're only as accurate as the information you feed them. Make sure you've entered your car's correct fuel economy and that the gas prices reflect current rates. If you're driving a vehicle you don't own (a rental or borrowed car), look up that specific vehicle's fuel economy rather than guessing.
Maintenance and fuel economy: why it matters for your estimate
A car that's not well maintained burns more fuel. A clogged air filter, worn spark plugs, low tire pressure, or misaligned wheels all reduce fuel economy. If your car is due for an oil change or air filter replacement before your trip, doing that maintenance now will improve your fuel economy and lower your trip cost. Properly inflated tires alone can improve fuel economy by 3 percent.
Check your tire pressure before the trip. The correct pressure is printed on a sticker inside the driver's door frame, not on the tire itself. Underinflated tires create more rolling resistance and waste fuel. If your car hasn't had a tune-up in a while, a mechanic can check whether spark plugs, filters, or other components are affecting efficiency.
Frequently Asked Questions
What if I don't know my car's fuel economy?
Look it up on fueleconomy.gov by entering your vehicle's year, make, and model. If you own the car, check the window sticker in your owner's manual or search online for your specific vehicle. For a rental car, ask the rental company or check the paperwork they give you.
Should I use my car's dashboard fuel economy display for my calculation?
Dashboard displays can be optimistic and often show better fuel economy than you'll actually achieve. Use the EPA rating from fueleconomy.gov or your own tracked average instead. If you've been tracking your actual fuel economy over several fill-ups, that's your most reliable number.
Does driving faster use more gas?
Yes. Fuel economy drops significantly above 50 mph. For every 5 mph you drive over 50, fuel economy decreases roughly 7 to 14 percent. Driving at 65 mph instead of 55 mph will noticeably increase your fuel cost. If you're trying to minimize gas spending, driving at a steady 55 mph on the highway saves fuel compared to 70 mph.
What if gas prices change between when I calculate and when I take the trip?
Your estimate will be off, but you won't know by how much until you fill up. Calculate based on current prices the day before you leave. If prices spike, your actual cost will be higher. If prices drop, you'll spend less. Building a 10 to 15 percent buffer into your budget accounts for small price swings.
Can I improve my fuel economy during the trip to lower my actual cost?
Yes. Maintain steady speeds, avoid rapid acceleration and hard braking, remove roof racks or cargo you don't need, and keep your tires properly inflated. These habits can improve fuel economy by 5 to 15 percent. Combining them with highway driving at moderate speeds will bring your actual cost closer to your estimate.