HomeDaily LifeAutomotive › Fuel Cost

Fuel Cost Calculator

Calculate trip fuel cost for any vehicle — gas, diesel, or EV. Includes scenario analysis and 5-year savings projector.

Fuel Type
Vehicle Presets
Trip Details
GOOD — 32 MPG
Total Fuel Cost
$27.34
250 mi · 32 MPG · $3.50/gal
Fuel Used
7.8 gal
Cost/Mile
$0.109
Per Person
$27.34
Drive Time
4h 33m
CO₂ Emitted
153 lbs
IRS Rate Gap
$0.591
Fuel = Dist ÷ MPG
Cost = Gal × $/gal
CO₂ = Gal × 19.6 lbs
Chart: chart sensitivity.
Chart: chart compare.
Gas PriceFuel UsedTotal CostPer Mile
Gas Price Scenarios — Your Current Trip
🐻 Bear
Historical low ($2.80/gal)
trip cost
at 15k mi/yr
📍 Base
Your current price
trip cost
at 15k mi/yr
Current
🐂 Bull
Summer surge ($4.50/gal)
trip cost
at 15k mi/yr
Cost Per 100 Miles — MPG × Gas Price

Amber border = your current inputs. Green = lower cost, red = higher cost.

Vehicle Upgrade Break-Even

How long until a more efficient vehicle pays for itself?

Annual Savings
Break-Even
5-Year Net
Annual Cost at 15,000 mi/yr

Your vehicle vs common alternatives at current gas price.

Chart: chart savings.
US Average Gas Price History
YearAvg $/galvs TodayAnnual Cost at 15k mi / 28 MPG
Commute Details
EV Upgrade Analysis

Purchase premium over your current car

Goal Seeker
Optional
Annual Commute Cost
$1,969
15 mi each way · 5 days · 50 weeks · 32 MPG
Daily Cost
$3.28
Monthly Cost
$164
Annual Miles
7,500
Annual Gallons
234
CO₂/Year
4,594 lbs
vs 28 MPG
5-Year Cumulative Cost
Chart: chart projection.
EV Upgrade Analysis
Break-Even Year
10-Yr Net Savings
CO₂ Avoided (10yr)
To stay under $200/mo
You need at least MPG
10-Year Cost Comparison
Year Your Car Hybrid (50 MPG) EV ($0.04/mi) vs Hybrid
📋

How to Use This Calculator

1

Enter Trip Details

Input your total distance in miles or kilometers, your vehicle's fuel economy (MPG or L/100km), and the current gas price per gallon.

2

Choose Your Vehicle

Select a vehicle preset or enter custom MPG. Switch between gas and EV mode to compare fuel types side by side.

3

Review Your Results

See your total fuel cost, cost per mile, gallons used, and CO2 emissions. Use the scenario tab to compare multiple trips.

4

Project Long-Term Costs

Switch to the Projector tab to estimate 5-year fuel expenses with gas price escalation and mileage adjustments.

Frequently Asked Questions

Basics How is fuel cost calculated?
Fuel cost = (Distance / MPG) x Gas Price. For example, a 250-mile trip in a 32 MPG car at $3.50/gallon costs (250 / 32) x $3.50 = $27.34.
Basics What is the average cost per mile for fuel?
Cost per mile = Gas Price / MPG. At $3.50/gallon with 32 MPG, fuel costs $0.109/mile. The IRS standard mileage rate ($0.70/mile for 2025) includes depreciation, insurance, and maintenance in addition to fuel.
Advanced How much CO2 does driving produce?
Burning one gallon of gasoline produces approximately 19.6 lbs (8.9 kg) of CO2 according to the EPA. A 250-mile trip using 7.8 gallons emits about 153 lbs of CO2.
Basics How do I convert L/100km to MPG?
MPG = 235.21 / L per 100km. For example, 8.4 L/100km = 235.21 / 8.4 = 28 MPG. The factor 235.21 accounts for both liter-to-gallon and km-to-mile conversions.
Basics What is a good MPG for a car?
The EPA fleet average is about 27-28 MPG. Compact cars: 30-40 MPG. Midsize sedans: 25-35 MPG. SUVs: 20-30 MPG. Trucks: 15-25 MPG. Hybrids: 40-60 MPG.
Advanced How much does the average American spend on gas per year?
The average American drives about 14,000 miles/year. At 28 MPG and $3.50/gallon, that is about $1,750/year. Higher-consumption vehicles or longer commutes can push this to $3,000-$5,000/year.
Advanced Does driving faster increase fuel costs?
Yes, significantly. Peak fuel efficiency is around 50-55 mph. Driving at 70 mph reduces economy by 15-20% vs 55 mph, and speeds above 80 mph can cut efficiency by 25% or more due to aerodynamic drag.
Strategy Does premium gas improve fuel economy?
Only if your engine requires it. Using premium in an engine designed for regular gas provides no MPG benefit and wastes 20-40 cents per gallon. Check your owner's manual for the recommended octane rating.
Strategy Why does my real-world MPG differ from the EPA sticker?
The EPA tests vehicles in a lab under controlled conditions (75°F, no A/C, specific drive cycles). Real-world MPG is typically 10–20% lower due to temperature extremes, A/C use, varying speeds, cold starts, cargo weight, and driving style. For the most accurate results, enter your actual fill-up MPG: divide miles driven by gallons used on your last fill-up, rather than using the EPA sticker value.

Formula & Methodology

Fuel Cost
Fuel Cost = (Distance / MPG) x Price per Gallon
Divides total distance by fuel economy to find gallons burned, then multiplies by gas price.
Cost per Mile
Cost per Mile = Gas Price / MPG
At $3.50/gallon and 32 MPG, you pay $0.109 per mile. The IRS rate ($0.70/mile) includes depreciation and maintenance.
Gallons Used
Gallons = Distance / MPG
A 300-mile trip at 25 MPG uses 12 gallons. At 35 MPG, the same trip uses only 8.6 gallons.
CO2 Emissions
CO2 (lbs) = Gallons Used x 19.6
Each gallon of gasoline produces approximately 19.6 lbs of CO2 according to the EPA.
📖

Key Terms Explained

MPG Miles Per Gallon — how far your vehicle travels on one gallon of fuel. Higher is more fuel-efficient.
L/100km Liters per 100 kilometers — the metric equivalent of MPG. Lower is better (opposite of MPG). Convert: MPG = 235.21 / L per 100km.
Cost per Mile The fuel cost for each mile driven, calculated as gas price divided by MPG. A key metric for comparing vehicles.
CO2 Emissions Burning one gallon of gasoline releases approximately 19.6 lbs (8.9 kg) of CO2 according to the EPA.
EPA Fuel Economy Official government estimates for city, highway, and combined MPG tested under standardized lab conditions.
MPGe Miles Per Gallon equivalent — used to compare EV efficiency to gas vehicles. 1 gallon of gas = 33.7 kWh of electricity.
Octane Rating A measure of fuel's resistance to engine knock. Regular (87), mid-grade (89), premium (91-93). Using higher octane than required does not improve MPG.
👥

Real-World Examples

💼

Weekend Road Trip

Distance
450 mi
Fuel Economy
32 MPG
Gas Price
$3.60/gal
Gallons Used
14.1 gal
Total Fuel Cost
$50.63
Cost per Mile
$0.113
CO₂ emitted: 276 lbs (14.1 gal × 19.6 lb/gal). Each passenger in a 4-person carpool reduces their personal share to $12.66 and 69 lbs CO₂.
📄

How to Reduce Your Fuel Costs

Under-inflated tires increase rolling resistance and can reduce fuel economy by 0.5% per PSI below the recommended level. Keeping tires inflated to the manufacturer's specification — typically 32-35 PSI — is one of the easiest and cheapest ways to improve MPG. A set of tires that is 8 PSI low can cost you an extra 4% in fuel, which adds up to $70-$100 per year for the average driver.

Most vehicles achieve better fuel economy on the highway than in city driving because constant acceleration and braking burns more fuel. However, there is a speed sweet spot. Most vehicles hit peak fuel efficiency between 45-55 mph. Above 60 mph, aerodynamic drag increases rapidly. Driving at 75 mph instead of 65 mph can reduce fuel economy by up to 15%. Using cruise control on the highway helps maintain a steady speed and improves efficiency by 5-7% compared to manual speed management.

Vehicle weight directly affects fuel consumption. Every 100 pounds of extra cargo reduces MPG by approximately 1-2%. If you are carrying roof racks, bike mounts, or cargo boxes when not in use, removing them can save 2-5% on fuel. Similarly, keeping your trunk clear of unnecessary heavy items makes a measurable difference over thousands of miles.

Gas prices vary significantly by station, neighborhood, and day of the week. Apps like GasBuddy show real-time prices nearby. Stations near highway exits and airports typically charge 10-30 cents more per gallon. Warehouse clubs (Costco, Sam's Club) consistently offer 10-25 cents per gallon less than surrounding stations. For a driver using 500 gallons per year, a 15-cent savings per gallon equals $75 annually.

Engine maintenance has a direct impact on fuel efficiency. A dirty air filter can reduce MPG by up to 10% on older engines. Worn spark plugs cause incomplete combustion, wasting 2-4% of fuel. A malfunctioning oxygen sensor — one of the most common check-engine-light triggers — can reduce efficiency by up to 40% because the engine cannot properly optimize its air-fuel mixture. Regular maintenance is one of the highest-return investments for reducing fuel costs.

For drivers considering a vehicle upgrade, the difference between 20 MPG and 30 MPG saves far more money than the difference between 30 MPG and 40 MPG. At $3.50/gallon and 15,000 miles/year, going from 20 to 30 MPG saves $875/year, while going from 30 to 40 MPG saves only $437. This diminishing return is important when evaluating whether a more expensive fuel-efficient vehicle will actually pay back its premium in fuel savings.