How to Calculate Fuel Cost for Any Trip
Calculating the fuel cost for a trip is straightforward once you know three numbers: the distance you plan to drive, your vehicle's fuel economy rating in miles per gallon (MPG), and the current price of gasoline per gallon. The formula is simple: divide the trip distance by your MPG to get the number of gallons needed, then multiply by the gas price per gallon to get the total fuel cost.
Fuel Cost = (Distance / MPG) × Gas Price per Gallon For example, a 300-mile road trip in a car that gets 25 miles per gallon with gas at $3.50 per gallon would require 12 gallons of fuel, costing $42.00. If you are making a round trip, simply double the distance before calculating. This calculator handles all of these computations automatically and also shows your cost per mile, which is a useful metric for comparing the true cost of driving different vehicles.
Understanding your fuel cost per mile is particularly valuable for people who drive for work, such as rideshare drivers, delivery workers, or independent contractors who claim mileage deductions on their taxes. The IRS standard mileage rate for 2026 is $0.70 per mile, which is meant to cover fuel plus wear and tear. Knowing your actual fuel cost per mile helps you determine whether that rate covers your expenses.
Average Gas Prices by State (2026)
Gas prices vary significantly depending on where you live and fill up. State taxes, proximity to refineries, environmental regulations, and local market competition all contribute to price differences that can exceed $1.50 per gallon between the cheapest and most expensive states. The table below shows approximate average gas prices as of early 2026 for selected states.
| State | Avg. Regular ($/gal) | State | Avg. Regular ($/gal) |
|---|---|---|---|
| California | $4.85 | Texas | $2.95 |
| Hawaii | $4.60 | Mississippi | $2.85 |
| Washington | $4.25 | Oklahoma | $2.90 |
| Nevada | $4.10 | Arkansas | $2.90 |
| Oregon | $4.05 | Missouri | $2.95 |
| Illinois | $3.85 | Kansas | $3.00 |
| Pennsylvania | $3.75 | South Carolina | $3.00 |
| New York | $3.70 | Alabama | $3.00 |
| Florida | $3.50 | Ohio | $3.15 |
| Colorado | $3.40 | Georgia | $3.10 |
These prices fluctuate based on crude oil markets, seasonal demand, and refinery output. Gas tends to be most expensive in summer months when travel demand peaks, and prices in states like California are consistently higher due to stricter fuel blend requirements and higher state fuel taxes.
Understanding Fuel Economy (MPG)
Fuel economy, measured in miles per gallon (MPG), tells you how far your vehicle can travel on one gallon of fuel. A higher MPG number means your car is more fuel-efficient and costs less to drive per mile. The average fuel economy across all passenger vehicles in the United States is approximately 25.4 MPG as of 2026, though this varies widely by vehicle type.
The EPA requires all new vehicles sold in the United States to display a fuel economy rating on the window sticker, showing estimated city MPG, highway MPG, and a combined figure. City driving typically produces lower MPG due to frequent stops, starts, and idling, while highway driving is more efficient because the engine operates at a steady RPM. The combined rating is a weighted average of 55 percent city and 45 percent highway driving.
Compact cars and hybrids commonly achieve 30 to 60 MPG combined, while full-size trucks and SUVs may get 15 to 22 MPG. Your actual fuel economy depends on driving habits, vehicle condition, road conditions, weather, and load. Real-world MPG is often 10 to 15 percent lower than the EPA estimate, especially if you drive aggressively or in heavy stop-and-go traffic.
Tips to Improve Your Fuel Economy
Small changes in driving habits and vehicle maintenance can meaningfully improve your fuel economy and reduce your annual fuel costs. Here are proven strategies that can boost your MPG by 10 to 30 percent.
- Maintain proper tire pressure. Under-inflated tires create more rolling resistance, forcing the engine to work harder. Keeping tires at the manufacturer-recommended pressure, usually found on a sticker inside the driver's door, can improve fuel economy by up to 3 percent. Check pressure monthly when tires are cold.
- Drive at moderate speeds. Fuel economy drops significantly at speeds above 50 mph. According to the Department of Energy, each 5 mph over 50 is roughly equivalent to paying an additional $0.20 to $0.30 per gallon of gas. Using cruise control on the highway helps maintain a consistent, fuel-efficient speed.
- Avoid aggressive driving. Rapid acceleration, hard braking, and excessive speeding can lower gas mileage by 15 to 33 percent on the highway and 10 to 40 percent in stop-and-go traffic. Smooth, gradual acceleration and anticipating stops ahead are among the most effective ways to save fuel.
- Reduce idling. Idling gets zero miles per gallon. Modern engines do not need to warm up before driving, and turning off the engine if you expect to wait more than 30 seconds uses less fuel than idling. Some newer vehicles have automatic start-stop systems that handle this for you.
- Remove excess weight. An extra 100 pounds in your vehicle can reduce MPG by approximately 1 percent. Remove roof racks, cargo carriers, and heavy items from the trunk when not in use. Roof racks and cargo boxes also increase aerodynamic drag, which further reduces fuel economy at highway speeds.
- Keep up with maintenance. Replace air filters, spark plugs, and oxygen sensors on schedule. A dirty air filter can reduce fuel economy by up to 10 percent on older carbureted engines, and fouled spark plugs can cause misfires that waste fuel. Regular oil changes with the manufacturer-recommended grade of motor oil also contribute to optimal engine efficiency.
- Plan and combine trips. Cold engines use more fuel during the first few miles after startup. Combining multiple short errands into one trip allows the engine to reach its efficient operating temperature and stay there, saving fuel compared to making several separate cold-start trips throughout the day.
Fuel Cost and Your Monthly Budget
For most American households, fuel is one of the top five recurring transportation expenses, alongside car payments, insurance, maintenance, and parking. Understanding your true monthly fuel cost helps you build a realistic budget and identify potential savings.
The average American drives approximately 13,500 miles per year, or about 1,125 miles per month. At an average fuel economy of 25 MPG and a gas price of $3.50 per gallon, that translates to roughly $158 per month in fuel costs. However, commuters who drive 50 or more miles per day can easily spend $250 to $400 per month on fuel alone, making it a significant budget line item.
If fuel costs are consuming a large portion of your monthly income, consider strategies like carpooling, using public transit for part of your commute, working remotely when possible, or switching to a more fuel-efficient vehicle. Our commute cost estimator above makes it easy to see exactly how much your daily drive is costing you on a weekly, monthly, and annual basis, so you can make informed decisions about transportation spending.
When evaluating whether to upgrade to a more fuel-efficient vehicle, compare the annual fuel savings against the cost of the new car. If switching from a 20 MPG vehicle to a 35 MPG vehicle saves you $1,200 per year in fuel, it would take many years to recoup the cost of a new car purchase through fuel savings alone. However, fuel savings combined with lower maintenance costs and potential tax credits on hybrid or electric vehicles can make the switch more financially attractive. Use our EV vs Gas calculator to compare total ownership costs.
Gas Cost vs. Other Transportation Options
Driving is not the only way to get around, and comparing fuel costs against alternatives can reveal surprising savings opportunities. Public transit passes in most major U.S. cities cost between $75 and $150 per month, which is often less than fuel alone for a long daily commute, not counting parking, insurance, and wear on your vehicle.
Carpooling cuts per-person fuel costs proportionally. Sharing a ride with one other person halves your fuel expense; a three-person carpool reduces it by two-thirds. Many employers offer carpool matching programs, and apps make it easy to find commute partners along your route. Some cities also offer HOV lane access and reduced tolls for carpoolers, adding time savings to the financial benefit.
For shorter trips, cycling and walking cost nothing in fuel and provide health benefits. E-bikes have gained popularity as a commuting option, with electricity costs of roughly $0.01 to $0.02 per mile compared to $0.10 to $0.20 per mile for a gasoline vehicle. While these alternatives are not practical for everyone, they are worth considering as part of a broader strategy to reduce transportation costs.
Frequently Asked Questions
How do I calculate fuel cost for a trip?
Divide the total trip distance in miles by your vehicle's fuel economy in miles per gallon (MPG) to get the gallons of fuel needed. Multiply that by the current gas price per gallon to get the total fuel cost. For example, a 300-mile trip at 25 MPG with gas at $3.50 per gallon costs 12 gallons times $3.50, which equals $42.00. If it is a round trip, double the distance first.
What is the average cost per mile to drive a car?
The average fuel cost per mile depends on gas prices and your vehicle's fuel economy. At $3.50 per gallon and 25 MPG, the fuel cost is about $0.14 per mile. The AAA estimates total driving costs, including fuel, insurance, maintenance, and depreciation, at roughly $0.65 to $0.80 per mile for an average sedan in 2026.
How can I improve my car's fuel economy?
Maintain proper tire pressure, avoid aggressive acceleration and braking, use cruise control on highways, remove excess weight from the vehicle, keep up with engine maintenance such as oil changes and air filter replacements, and minimize idling. These habits can improve MPG by 10 to 30 percent depending on driving conditions.
Is premium gas worth the extra cost?
Only if your vehicle requires it. Cars designed for regular unleaded gain no benefit from premium fuel. However, vehicles with high-compression or turbocharged engines that specify premium fuel may experience reduced performance and efficiency when using regular gas. Check your owner's manual for the recommended fuel grade and use that.