Smekys
Ad Space

Fuel Cost Per Mile Calculator

Divide gas price by MPG to find fuel cost per mile, trip fuel cost, gallons used and annual gas spend for any drive.

Enter Values

mpg

Miles your vehicle drives on one gallon of gas (its EPA or measured MPG).

$/gal

Price of one gallon of regular unleaded at your local station.

miles

Total miles for the trip, commute, or period you want to cost out.

Result

Fuel Cost Per Mile
$0.13
Cost Per 100 Miles
$12.50
Gallons Needed
35.71
Total Trip Fuel Cost
$125.00
Est. Annual Fuel Cost (12,000 mi)
$1,500.00

Gas is one of the largest recurring costs of owning a car, yet most people only notice it when they fill the tank. This fuel cost per mile calculator turns the two numbers you already know — your car's MPG and the price at the pump — into a single figure: how many dollars you burn every single mile. From there it also tells you how many gallons a trip needs, what that trip will cost in total, and roughly what you will spend on fuel over a full year of driving.

The math is deliberately simple. Divide the price of a gallon by your miles-per-gallon rating, and you get the cost of one mile. A car that gets 28 MPG when gas is $3.50 per gallon costs $3.50 / 28 = $0.125, or about 12.5 cents, for every mile. That single number is the foundation for comparing cars, planning a road trip, or judging whether a longer commute is affordable.

How to Use

  1. Enter your Fuel Efficiency (MPG). Use the combined (city/highway) figure from the window sticker or your dash. If you track fill-ups, your real-world MPG is more accurate than the EPA number — divide miles driven by gallons pumped and type that in.
  2. Set the Gas Price you actually pay. Check a station near home or near work, because prices can swing 20–50 cents between neighborhoods and even between pumps on opposite corners.
  3. Type the Trip Distance you want to cost out — a 40-mile round-trip commute, a 750-mile vacation drive, or 1,000 miles for a month. The result card updates instantly.
  4. Read the result card. Fuel Cost Per Mile is the headline number; Cost Per 100 Miles makes short hops easier to compare; Gallons Needed tells you how often you will need to stop; Total Trip Fuel Cost is what the whole drive will actually cost at the pump; and Est. Annual Fuel Cost projects the yearly bill at a typical 12,000 miles.

To compare two vehicles, run the calculator once for the car you have and again for the one you are considering. Keep the gas price and trip distance the same; only change the MPG. The gap between the two trip costs is exactly the fuel advantage (or penalty) of switching.

The Formula Behind the Number

Cost per mile follows directly from the definition of MPG:

Cost per mile = Price per gallon ÷ Miles per gallon

Why this works: MPG tells you how many miles you get from one gallon. If a gallon costs $3.50 and stretches 28 miles, each of those 28 miles carries one twenty-eighth of the gallon's price. The trip version extends the same idea:

Trip fuel cost = (Price per gallon ÷ MPG) × Trip miles

Worked example on a 1,000-mile trip at 28 MPG and $3.50/gal: cost per mile is $0.125, gallons needed are 1,000 / 28 ≈ 35.71 gallons, and the total fuel cost is $0.125 × 1,000 = $125.00. Spread over a year of 12,000 miles at the same efficiency, that is about $1,500 in gas.

Notice what happens when MPG improves. Going from 22 to 28 MPG at $3.50/gal drops the per-mile cost from $0.159 to $0.125 — a saving of roughly 3.4 cents per mile, or about $400 a year at 12,000 miles. Efficiency gains matter most on the lower end: jumping from 15 to 19 MPG saves far more dollars than moving from 45 to 55 MPG, because the big consumption is already behind you.

Why Per-Mile Cost Matters

Stating fuel cost as dollars per mile makes three decisions easier. First, budgeting a commute: a 50-mile round trip at $0.13/mile is about $6.50 a day, or roughly $1,400 a year. Second, comparing modes: knowing your car costs 13 cents a mile lets you weigh toll roads, parking, or public transit on the same scale. Third, evaluating a car purchase: a vehicle that costs $0.11/mile in fuel versus one at $0.18/mile is a multi-thousand-dollar lifetime difference, even before interest, insurance, and maintenance.

Keep in mind that this figure is fuel only. A full cost-per-mile analysis would also add depreciation, insurance, repairs, tires, and registration, which can easily push the all-in cost to 40–70 cents per mile. Use this calculator to isolate the gas piece before layering on the rest.

Examples

Example 1 — The baseline commute. A driver averages 28 MPG and pays $3.50 per gallon. Cost per mile is $0.125. A 1,000-mile month of commuting and errands burns about 35.7 gallons and costs $125.00. Over a 12,000-mile year, expect to spend near $1,500 on gas alone.

Example 2 — A less efficient SUV. The same driver borrows an SUV rated at 19 MPG at the same $3.50/gal. Cost per mile jumps to $3.50 / 19 = $0.184, and the same 1,000-mile month now costs $184.00 — about $59 more than the sedan, or roughly $700 extra over a year.

Example 3 — A long road trip. A 3,000-mile cross-country drive in a 32-MPG car at $3.70/gal costs $3.70 / 32 = $0.116 per mile, needs 3,000 / 32 = 93.75 gallons, and totals about $348.75 in fuel. Budget an extra 10% for Mountain State price spikes and detours.

FAQ

How do I calculate fuel cost per mile?

Divide the price of one gallon of gas by your vehicle's MPG. For example, at $3.50 per gallon and 28 MPG, the cost per mile is $3.50 / 28 = $0.125, or about 12.5 cents. Multiply that by trip miles to get the total trip fuel cost.

What is a good fuel cost per mile?

For a typical gasoline car in the United States, expect roughly 10–15 cents per mile in fuel alone at current pump prices. Hybrid or efficient cars often run 7–10 cents per mile, while large trucks and SUVs can reach 18–25 cents per mile. Anything above 20 cents per mile signals a thirsty vehicle or very expensive local gas.

How much gas will a 1,000-mile trip need?

Divide trip miles by your MPG. At 28 MPG, a 1,000-mile trip uses about 35.7 gallons. At 20 MPG it needs 50 gallons, and at 40 MPG only 25 gallons. Use the result card's "Gallons Needed" line to plan fill-up stops and your budget.

How accurate is this calculator?

It is as accurate as your two inputs. Real MPG usually differs from the EPA sticker by 10–20%, especially with highway speed, cold weather, cargo, and aggressive acceleration. Type in your actual measured MPG and the gas price you really pay, and the estimate will match your next few fill-ups closely.

How can I lower my fuel cost per mile?

Raise the MPG or lower the price. Practical steps: keep tires inflated, avoid rapid acceleration, use cruise control on highways, remove heavy cargo, combine trips, and choose a station with lower prices. Over the long term, switching to a more efficient vehicle or a hybrid reduces the per-mile rate by the largest amount.

Does this include insurance and maintenance?

No. This calculator isolates fuel cost only. Depreciation, insurance, repairs, tires, and registration typically add 30–55 cents per mile on top of fuel, so a true all-in cost per mile is usually 40–70 cents. Use this result to understand the gas component first.

What if I drive a hybrid or electric vehicle?

For a hybrid, use its combined MPG exactly as you would for a gasoline car — the formula is identical. For an EV, fuel cost per mile is computed from electricity price ($/kWh) divided by miles per kWh, not from MPG, so use a dedicated EV energy cost calculator instead of this one.

Disclaimer

This fuel cost per mile calculator is provided for informational purposes only and does not constitute financial, automotive, or tax advice. All estimates depend on the MPG, gas price, and trip distance you enter; actual fuel economy and pump prices vary by vehicle, weather, driving style, location, and day. Projected annual fuel cost assumes a typical 12,000 miles driven per year. Always verify current gas prices and your own vehicle's measured efficiency before making a vehicle purchase or travel-budget decision.

Related Calculators

Disclaimer

Results are estimates for illustration only. Verify important figures independently.