everyday calculator

Fuel Cost Calculator

Estimate total fuel cost for a road trip given distance, MPG, and fuel price.

Results

Gallons needed
21.43
Total fuel cost
$80 USD

How to use this calculator

  1. Enter the trip distance in miles. For a round‑trip, either enter the total there-and-back distance or run the calculator on a one‑way distance and double the results.
  2. Enter your vehicle’s average fuel efficiency in miles per gallon. You can use the EPA rating, your own long‑term average from the trip computer, or a conservative estimate if the route is hilly or stop‑and‑go.
  3. Enter the current or expected fuel price per gallon in your area or along your planned route.
  4. Review the calculated gallons needed and total fuel cost for the trip.
  5. Optionally adjust MPG or fuel price up and down to see best‑case and worst‑case scenarios and build a buffer into your budget.

Inputs explained

Distance
The total route length in miles that you plan to drive. For a there‑and‑back trip, include both directions, or double the one‑way distance. For multi‑stop routes, add up the segments to get a total.
Fuel efficiency (MPG)
Your vehicle’s average miles per gallon. Use a realistic figure based on your driving mix (city vs highway), load, and driving style—your real MPG may be lower than the official rating if you drive fast, haul cargo, or sit in traffic.
Fuel price per gallon
The cost of fuel per gallon in dollars. You can use today’s local price, an average along your route, or a slightly higher number to build in a safety margin for future price increases.

How it works

You enter a total trip distance in miles, your vehicle’s fuel efficiency in miles per gallon (MPG), and the fuel price per gallon in dollars.

The calculator computes gallons needed as Distance ÷ MPG. This is how many gallons of fuel your vehicle would consume if it maintained that average efficiency over the entire trip.

Total fuel cost is then calculated as Gallons needed × Fuel price per gallon.

Because the math is linear, you can use it for one‑way trips, round‑trips (by doubling distance), or multi‑leg routes by summing distances first.

The result is an estimate, not a guarantee. Real‑world fuel consumption varies with speed, terrain, weather, load, and driving style, but this gives you a solid starting point for planning.

Formula

Gallons needed = Distance (miles) ÷ Fuel efficiency (MPG)\nTotal fuel cost = Gallons needed × Fuel price per gallon\n\nExample: For a 600‑mile trip at 28 MPG and $3.75 per gallon, Gallons ≈ 600 ÷ 28 ≈ 21.43, Cost ≈ 21.43 × 3.75 ≈ $80.36.

When to use it

  • Budgeting a long road trip and estimating how much of your travel budget will go to fuel versus lodging, food, and activities.
  • Comparing potential vehicles (for example, a compact car vs an SUV) by seeing how much more fuel the less efficient option will use on the same route.
  • Estimating the fuel cost for recurring delivery, rideshare, or service routes so you can price jobs or understand the true cost of driving.
  • Helping roommates or carpool groups split fuel costs fairly by turning trip distance into a clear dollar amount before dividing.
  • Planning refueling strategy on sparsely served routes by knowing roughly how many gallons you will use between major stops.

Tips & cautions

  • Use a conservative (lower) MPG if you expect heavy traffic, lots of stop‑and‑go driving, hills, trailers, or strong headwinds—real‑world conditions often lower efficiency compared with ideal ratings.
  • If fuel prices vary along your route, use an average price or run multiple scenarios (for example, lower price near home, higher price in remote areas) to get a range of likely fuel costs.
  • For round‑trips with different routes out and back (for example, scenic out, direct return), add up both distances first or run each leg separately and sum the results.
  • Remember that even small improvements in driving habits (smoother acceleration, proper tire inflation, moderate speeds) can improve MPG and reduce total fuel spend over many miles.
  • If you track your real fuel use over time, plug your actual MPG back into this calculator to improve future estimates for similar routes or driving conditions.
  • Assumes fuel efficiency (MPG) and fuel price remain constant over the entire trip; in reality, both can change with speed, terrain, weather, and where you refuel.
  • Does not include non‑fuel travel expenses such as tolls, parking, maintenance, depreciation, or insurance—those can be significant on long trips.
  • Uses miles and MPG only; metric units like kilometers and liters per 100 km are not directly supported in this version.
  • Does not account for factors like elevation changes, cargo weight, or idling time beyond what you approximate in your MPG input.

Worked examples

Standard road trip: 600 miles, 28 MPG, $3.75/gal

  • Distance = 600 miles, MPG = 28, Fuel price = $3.75/gal.
  • Gallons needed ≈ 600 ÷ 28 ≈ 21.43 gallons.
  • Total fuel cost ≈ 21.43 × 3.75 ≈ $80.36.
  • Interpretation: budgeting around $80–85 for fuel gives you a bit of buffer for small price or MPG variations.

Less efficient SUV on a 900‑mile route

  • Distance = 900 miles, MPG = 20, Fuel price = $4.20/gal.
  • Gallons needed = 900 ÷ 20 = 45 gallons.
  • Total fuel cost = 45 × 4.20 = $189.
  • Comparing this to a more efficient car can reveal meaningful savings over long distances.

Comparing two vehicles for the same commute

  • Daily round‑trip commute distance = 40 miles; assume 22 work days per month → about 880 miles per month.
  • Car A: 30 MPG; Car B: 20 MPG; fuel price = $3.90/gal.
  • Car A monthly gallons ≈ 880 ÷ 30 ≈ 29.33; cost ≈ 29.33 × 3.90 ≈ $114.39.
  • Car B monthly gallons = 880 ÷ 20 = 44; cost = 44 × 3.90 = $171.60.
  • Interpretation: the less efficient car costs roughly $57 more per month in fuel for the same commute.

Deep dive

This fuel cost calculator divides trip distance by your vehicle’s MPG and multiplies by fuel price to estimate gallons needed and total fuel cost.

Enter miles, MPG, and price per gallon to budget a road trip, compare vehicles, or estimate the fuel spend for delivery and service routes.

Use it to build a realistic travel budget, plan refueling stops, and understand how changes in gas prices or vehicle efficiency affect your bottom line.

FAQs

Can I add tolls, lodging, or other trip costs?
This calculator focuses on fuel only. To build a full trip budget, add estimates for tolls, parking, lodging, food, and maintenance on top of the fuel cost shown here.
How should I handle round‑trips or multi‑stop journeys?
Either enter the total miles for all legs as a single distance or run the calculator separately for each leg and add the fuel costs together. For simple out‑and‑back trips, you can usually double the one‑way distance.
What if I use kilometers and liters per 100 km?
This version works in miles and MPG. To approximate metric use, convert kilometers to miles and L/100 km to MPG first, or use a dedicated metric fuel-cost calculator if available.
How accurate will this estimate be in real life?
The accuracy depends on how realistic your MPG and fuel price inputs are. If you base MPG on your own driving history and use current prices, you’ll usually get a solid estimate—but road, weather, and driving style can still move the actual result up or down.
Can I use this for electric vehicles (EVs)?
Not directly. EVs use kWh per mile and electricity prices instead of MPG and gas prices. You can adapt the idea by substituting kWh and cost per kWh in a separate calculator designed for EV energy costs.

Related calculators

This fuel cost calculator provides an approximate estimate of gallons used and fuel spend based on user-entered distance, MPG, and fuel price. Real-world results can vary with speed, terrain, weather, traffic, load, vehicle condition, and driving style. It does not account for other trip costs such as maintenance, tolls, parking, or time. Use these figures for planning and budgeting only, and rely on your own driving history and current local prices for the most accurate expectations.