BCBetter Calculators
← All posts

How to Calculate Fuel Cost for Any Trip (With Real Examples)

Calculating fuel cost before a trip takes 30 seconds and helps you budget accurately. Here's the exact formula, a complete fuel cost table by MPG and gas price, and the most effective ways to reduce what you spend at the pump.

The Fuel Cost Formula

Calculating the fuel cost for any trip requires three numbers: distance, fuel efficiency, and gas price. The formula is:

Fuel Cost = (Distance ÷ MPG) × Price per Gallon

Example: A 300-mile trip in a car that gets 30 MPG, with gas at $3.50/gallon:

(300 ÷ 30) × $3.50 = 10 gallons × $3.50 = $35.00

For multi-leg trips, different vehicles, or instant calculations, use the free Fuel Cost Calculator at BetterCalculators — enter your trip distance, vehicle MPG, and gas price to get the total fuel cost immediately.

Fuel Cost Per Mile

Cost per mile is a useful metric for comparing vehicles or evaluating the true cost of driving. The formula is:

Cost Per Mile = Price per Gallon ÷ MPG

At $3.50/gallon:

  • 20 MPG vehicle: $3.50 ÷ 20 = $0.175 per mile (17.5 cents/mile)
  • 25 MPG vehicle: $3.50 ÷ 25 = $0.140 per mile (14 cents/mile)
  • 30 MPG vehicle: $3.50 ÷ 30 = $0.117 per mile (11.7 cents/mile)
  • 40 MPG vehicle: $3.50 ÷ 40 = $0.088 per mile (8.8 cents/mile)
  • 50 MPG hybrid: $3.50 ÷ 50 = $0.070 per mile (7 cents/mile)

Fuel Cost Table by MPG and Gas Price

MPG$2.80/gal$3.20/gal$3.50/gal$3.80/gal$4.20/gal$4.80/gal
15 MPG$0.187/mi$0.213/mi$0.233/mi$0.253/mi$0.280/mi$0.320/mi
18 MPG$0.156/mi$0.178/mi$0.194/mi$0.211/mi$0.233/mi$0.267/mi
20 MPG$0.140/mi$0.160/mi$0.175/mi$0.190/mi$0.210/mi$0.240/mi
22 MPG$0.127/mi$0.145/mi$0.159/mi$0.173/mi$0.191/mi$0.218/mi
25 MPG$0.112/mi$0.128/mi$0.140/mi$0.152/mi$0.168/mi$0.192/mi
28 MPG$0.100/mi$0.114/mi$0.125/mi$0.136/mi$0.150/mi$0.171/mi
30 MPG$0.093/mi$0.107/mi$0.117/mi$0.127/mi$0.140/mi$0.160/mi
35 MPG$0.080/mi$0.091/mi$0.100/mi$0.109/mi$0.120/mi$0.137/mi
40 MPG$0.070/mi$0.080/mi$0.088/mi$0.095/mi$0.105/mi$0.120/mi
45 MPG$0.062/mi$0.071/mi$0.078/mi$0.084/mi$0.093/mi$0.107/mi
50 MPG$0.056/mi$0.064/mi$0.070/mi$0.076/mi$0.084/mi$0.096/mi

City vs. Highway: Why MPG Varies on Your Trip

Every vehicle has two MPG ratings: city and highway. City driving is less efficient because of stop-and-go traffic, frequent idling, and lower speeds that prevent optimal engine efficiency. Highway driving is more efficient because of steady speeds and minimal braking.

EPA-rated MPG examples for common vehicles:

  • Toyota Camry: 28 city / 39 highway / 32 combined
  • Ford F-150 (2.7L EcoBoost): 20 city / 26 highway / 22 combined
  • Honda CR-V: 28 city / 34 highway / 30 combined
  • Toyota Prius: 57 city / 56 highway / 57 combined (city is higher — regenerative braking)
  • Chevrolet Silverado (5.3L V8): 16 city / 23 highway / 18 combined

Factors That Affect Your Real-World Fuel Cost

EPA ratings are measured under controlled conditions. Your actual fuel economy — and therefore your actual fuel cost — varies based on several real-world factors:

  • Speed: Fuel economy peaks for most vehicles around 45–55 mph and drops significantly above 65 mph. Driving 75 mph instead of 65 mph reduces fuel economy by approximately 10–15%.
  • Load: Carrying extra weight (passengers, cargo, a loaded roof rack) increases fuel consumption. Every 100 pounds of added weight reduces MPG by roughly 1–2%.
  • Tire pressure: Underinflated tires increase rolling resistance. Tires inflated 10 PSI below recommended can reduce fuel economy by 3–4%.
  • Air conditioning: AC increases fuel consumption by 5–25% depending on the vehicle and outside temperature. Maximum impact at low speeds in intense heat.
  • Temperature: Cold weather reduces fuel economy — cold engines run less efficiently, and cold air is denser, increasing aerodynamic drag. Short trips in cold weather can reduce MPG by 20% or more.
  • Driving style: Hard acceleration and late braking waste significant fuel. Smooth, anticipatory driving can improve real-world fuel economy by 10–30% versus aggressive driving.
  • Fuel grade: Using regular unleaded in a car rated for it vs. premium makes no meaningful difference. Using premium in a car requiring it (like many performance and luxury vehicles) is necessary for rated performance — using regular will reduce MPG and potentially performance.

Planning Road Trip Fuel Costs

For a road trip, use a more detailed calculation that accounts for the route's mix of city and highway driving:

  • Step 1: Find total trip distance (Google Maps or similar).
  • Step 2: Estimate the city/highway split. Interstate highway trips are mostly highway; drives through cities and suburbs have more city miles.
  • Step 3: Calculate fuel used: (city miles ÷ city MPG) + (highway miles ÷ highway MPG) = total gallons.
  • Step 4: Multiply total gallons by your expected gas price. Check GasBuddy for current prices along your route.
  • Step 5: Add a 10% buffer for detours, traffic, and gas price variation along the route.

Fuel Cost: Gas vs. Hybrid vs. EV Comparison

The fuel cost gap between a conventional gas car, hybrid, and EV is significant over time — especially at current electricity rates.

Example: 14,000 miles/year at $3.50/gallon and $0.15/kWh electricity:

  • 25 MPG gas car: 560 gallons × $3.50 = $1,960/year
  • 50 MPG hybrid: 280 gallons × $3.50 = $980/year (saves $980/yr)
  • EV (3.5 mi/kWh, home charging): 4,000 kWh × $0.15 = $600/year (saves $1,360/yr)
  • EV (public DC fast charging at $0.35/kWh): 4,000 kWh × $0.35 = $1,400/year (saves $560/yr)

How to Reduce Your Fuel Costs

  • Maintain steady speeds on highways: Use cruise control on flat highway stretches. Avoiding speed variations saves 5–10% in fuel.
  • Accelerate and brake gently: Smooth driving is the single biggest controllable factor in real-world MPG — can improve efficiency 10–30%.
  • Check and maintain tire pressure monthly: Properly inflated tires are one of the easiest, cheapest ways to maintain rated MPG.
  • Remove roof racks and cargo boxes when not in use: A rooftop cargo box at highway speed can reduce MPG by 5–25% depending on size and vehicle.
  • Use apps to find cheap gas: GasBuddy and Waze Gas Prices show stations by price. On a 10-gallon fill-up, a $0.20/gallon difference saves $2 — worth 2 minutes of route adjustment.
  • Buy gas on Tuesday or Wednesday: Gas prices tend to be lowest mid-week and spike on weekends in most markets.
  • Don't idle unnecessarily: Modern fuel-injected engines use no more fuel restarting than idling for 30+ seconds.

Calculate Your Trip Fuel Cost Before You Leave

Knowing your fuel cost in advance helps you budget accurately for any trip — from a weekend drive to a cross-country road trip. The free Fuel Cost Calculator at BetterCalculators computes your total fuel cost, cost per mile, gallons needed, and a comparison across different MPG vehicles — all in one step.

Calculate the fuel cost for any trip based on distance, MPG, and gas price.

Fuel Cost Calculator