Fuel Cost Calculator
Fuel Cost Calculator: How to Work Out Your Trip, Monthly, and Annual Fuel Costs

Table of Contents
To calculate fuel cost, divide your trip distance by your vehicle’s fuel efficiency, then multiply the result by the current price per gallon or liter. A 300-mile trip in a car that gets 30 mpg, with gas at $3.50 a gallon, costs $35. That’s the whole formula everything else in this guide just helps you apply it accurately to your own car, bike, truck, or road trip.
Fuel is one of the few driving costs you can actually predict before you leave the driveway. You just need three numbers: distance, fuel efficiency, and price per unit of fuel. Get those right and the math takes seconds.
The Fuel Cost Formula (And How to Use It)
There are two versions of the formula, depending on how your vehicle’s efficiency is measured.
If you know miles per gallon (mpg): Fuel cost = (Distance ÷ MPG) × Price per gallon
If you know liters per 100 km (common outside the US): Fuel cost = (Distance ÷ 100 × Consumption per 100 km) × Price per liter
Both formulas do the same job in different units, they convert distance into gallons or liters consumed, then price that fuel out. A fuel cost calculator automates this so you don’t have to do the division by hand, but understanding the formula means you can sanity-check any number the calculator gives you.

Worked example: You’re driving 450 miles for a road trip. Your car averages 28 mpg, and gas along the route is running $3.60/gallon.
- Gallons needed: 450 ÷ 28 = 16.07 gallons
- Total cost: 16.07 × $3.60 = $57.85
Metric example: A 200 km trip in a car that uses 7 liters per 100 km, with fuel at $1.50/liter.
- Fuel needed: (200 ÷ 100) × 7 = 14 liters
- Total cost: 14 × $1.50 = $21.00
Fuel Cost Per Mile (Or Per Km)
Sometimes you don’t need a total you need a rate, especially if you’re comparing vehicles, tracking mileage reimbursement, or budgeting a commute. The formula strips distance out entirely:
Fuel cost per mile = Price per gallon ÷ MPG
So a car getting 25 mpg with gas at $3.50/gallon costs $0.14 per mile in fuel alone. Multiply that by your typical monthly mileage and you’ve got a fast estimate without running the full trip formula every time. This is also the number fleet managers and rideshare drivers watch most closely, since it’s the figure that scales directly with usage.
Freelancers and self-employed professionals can also use this figure to estimate travel expenses before calculating their billable rates with our Freelance Hourly Rate Calculator.
How to Use a Fuel Cost Calculator
- Enter your distance. Round-trip if you’re commuting or making a there-and-back journey; one-way if you’re calculating a single leg.
- Enter your vehicle’s fuel efficiency. Use the EPA-rated combined mpg from your window sticker or fueleconomy.gov if you don’t know your real-world number city driving and highway driving pull this figure in opposite directions.
- Enter the current fuel price. Local gas station pricing works better than a national average, since prices can swing 30–50 cents a gallon between neighboring states or even nearby stations.
- Read the output. A good calculator returns gallons or liters used plus the total dollar cost, not just one or the other.

The one input people get wrong most often is fuel efficiency. Manufacturer-rated mpg assumes ideal conditions — flat roads, moderate speeds, no cargo. Real-world mpg typically runs 10 – 15% lower, so if you want a conservative estimate, shave your input mpg down slightly rather than using the sticker number as-is.
Fuel Cost by Timeframe: Trip, Monthly, and Annual
Trip Fuel Cost
This is the calculation covered above — one distance, one fuel efficiency, one price. It’s what you want before a road trip, a delivery run, or a one-off drive to see family.
Monthly Fuel Cost
To estimate a month of driving:
Monthly fuel cost = (Daily distance × Days driven) ÷ MPG × Price per gallon
If you drive 30 miles a day, 22 days a month, in a car getting 27 mpg with gas at $3.55/gallon: (30 × 22) ÷ 27 × $3.55 ≈ $86.63/month. This number is far more useful for budgeting than a single trip estimate, since it captures your actual commuting pattern rather than a one-time drive.

Annual Fuel Cost
Annual fuel cost = Annual miles driven ÷ MPG × Price per gallon
The US average driver covers roughly 12,000–14,000 miles a year. At 25 mpg and $3.50/gallon, that’s $1,680–$1,960 annually — in line with industry estimates that put average American fuel spending in the low thousands per year, though this shifts significantly with local gas prices and vehicle type. Annual figures are the ones worth comparing when you’re deciding between two vehicles, since a small mpg difference compounds a lot over 12 months.
Buying a vehicle from an auction? Don’t stop at fuel costs. Use our Copart Fee Calculator to estimate buyer fees, virtual bid fees, shipping, import duties, and your total landed cost before placing a bid.
Car, Bike, and Truck Fuel Costs Compared
The formula stays identical across vehicle types — only the efficiency figures and fuel type change. Bikes and small cars swing the numbers dramatically in your favor; trucks and SUVs swing them the other way.
| Vehicle Type | Typical Efficiency | Fuel Cost per 100 Miles (at $3.50/gal) |
|---|---|---|
| Motorcycle / scooter | 60–80 mpg | $4.40–$5.80 |
| Compact car | 32–38 mpg | $9.20–$10.90 |
| Midsize sedan | 28–32 mpg | $10.90–$12.50 |
| SUV | 20–25 mpg | $14.00–$17.50 |
| Pickup truck | 15–20 mpg | $17.50–$23.30 |
| Semi-truck (diesel) | 6–8 mpg | Roughly $54–$72 at $4.30/gal diesel |
For motorcycles and scooters, the math is identical to cars — distance divided by efficiency, times price per gallon or liter but the far higher mpg is why bike commuting shows up so often in fuel-cost comparisons for budget-conscious riders. For commercial trucking, fuel cost per mile is typically tracked as a cost-per-mile (CPM) metric rather than a trip total, since it feeds directly into freight pricing and fuel surcharge calculations with shippers.
What Actually Moves the Price of Fuel
Retail fuel prices aren’t set randomly, and knowing what drives them helps explain why your calculator output might look different from last month’s.
- Crude oil typically makes up the largest single share of what you pay per gallon — often over half the retail price, though this ratio shifts with oil market conditions.
- Refining, distribution, and marketing costs cover turning crude into finished gasoline and getting it to the pump.
- Taxes vary sharply by location — the federal gas tax has stayed flat at 18.4 cents per gallon since 1993, but state taxes range from single digits to well over 60 cents per gallon depending on where you live.
- Regional supply and geography matter too: coastal states with less refining capacity nearby, or regions with fewer pipelines, tend to run higher than the national average.
- Seasonal demand and disruptions — hurricanes, refinery outages, and summer travel spikes — cause short-term price jumps independent of long-term oil trends.
None of these factors are things you control day to day, which is exactly why a fuel cost calculator is more useful than trying to guess. It works off current, local pricing instead of a national average that may not reflect what you’re actually paying.
Driving Habits That Lower Your Fuel Cost
Assuming your fuel efficiency input is accurate, these changes move the needle most:
- Ease off aggressive acceleration and braking. Smooth driving can improve highway mileage noticeably compared to hard starts and stops — this is consistently one of the largest controllable factors in real-world mpg.
- Keep tires properly inflated. Underinflated tires increase rolling resistance and can cut mileage by a few percentage points; check pressure monthly, since tires lose roughly 1 psi per month naturally.
- Cut idling time. If you’ll be stopped more than a minute, turning the engine off usually saves more fuel than restarting costs.
- Watch your highway speed. Fuel efficiency for most vehicles peaks somewhere in the 50–60 mph range and drops off noticeably above that, largely due to wind resistance.
- Stay current on maintenance. A poorly tuned engine or a failed oxygen sensor can drag mileage down substantially — sometimes by double digits — until it’s fixed.
None of these require a new car. They’re adjustments to how you drive and maintain the one you already have, and they’re the fastest way to close the gap between EPA-rated mpg and what you’re actually getting.
Common Mistakes People Make With Fuel Cost Estimates
Using sticker mpg without adjustment. EPA ratings are a useful baseline, not a guarantee. City-heavy driving, cold weather, and cargo weight all pull real mileage below the rated number.
Ignoring round-trip distance. It’s an easy slip to calculate one-way mileage for a trip that’s actually there-and-back, which understates the total cost by half.
Using a stale fuel price. Gas prices can shift meaningfully in a matter of weeks. Pulling a current local price rather than relying on memory or an old receipt keeps the estimate accurate.
Forgetting that highway and city mpg differ. If your trip is mostly highway, use highway mpg; if it’s stop-and-go city driving, city mpg gives a more honest number. Combined mpg is a reasonable middle ground when a trip mixes both.
Electric and Hybrid Vehicles: A Different Kind of Fuel Cost
EVs don’t use gallons, but the same logic applies with electricity: cost = (distance ÷ efficiency in miles per kWh) × price per kWh. Because electricity is generally cheaper per mile than gasoline, EV “fuel” costs often run noticeably lower than a comparable gas car’s — though the upfront vehicle price and charging access change the full cost picture.
| Vehicle Type | Cost to “Fuel” 100 Miles (Approx.) |
|---|---|
| Gas sedan (30 mpg, $3.50/gal) | ~$11.70 |
| Hybrid sedan (50 mpg, $3.50/gal) | ~$7.00 |
| Electric sedan (3.5 mi/kWh, $0.15/kWh) | ~$4.30 |
Hybrids sit in between: they still burn gasoline but at a much better rate than a comparable gas-only vehicle, which is why the math above shows them roughly splitting the difference. Whether the fuel savings justify a higher purchase price depends on how many miles you drive and how long you plan to keep the vehicle — a hybrid that costs $3,000 more upfront but saves $1,000 a year in fuel pays for itself in three years, then keeps saving after that.
FAQs
What is the formula for fuel cost?
Fuel cost = (Distance ÷ Fuel efficiency) × Price per unit of fuel. Use mpg and price per gallon in the US, or liters per 100 km and price per liter almost everywhere else.
How do I calculate fuel cost per km per liter?
Divide the trip distance in km by 100, multiply by your car’s liters-per-100km consumption to get liters used, then multiply by the price per liter.
Can Google Maps calculate fuel cost?
Google Maps shows distance and estimated time but doesn’t calculate a dollar fuel cost directly. You still need to plug the distance it gives you into the standard fuel cost formula along with your vehicle’s mpg and local gas price.
How do I calculate fuel cost per month?
Multiply your average daily driving distance by the number of days you drive per month, divide by your vehicle’s mpg, then multiply by the price per gallon.
How much does a gallon of gas weigh?
Roughly 6.07 pounds in the US, though this varies slightly by region and fuel blend since gasoline additives differ.
Is 7 liters per 100 km good fuel economy?
Yes, that converts to roughly 33.6 mpg, which is solid for a mid-size gas car and better than average for the segment.
Is it cheaper to drive or fly for a long trip?
It depends heavily on group size and trip length. Driving usually wins for shorter distances or when costs are split among several people; flying often comes out cheaper for long distances once lodging and time are factored in, especially for a solo traveler.
What drains gas the most?
Aggressive acceleration and high highway speeds are the two biggest factors under a driver’s control, followed by excessive idling and carrying unnecessary weight.
Does cruise control save gas?
Generally yes, on flat highway driving, because it maintains a steady speed and avoids the small, repeated accelerations that come from manual speed adjustments. It’s less effective in hilly terrain, where it may downshift and accelerate harder to hold speed.