Fuel Cost Calculator

Find how much a trip costs in fuel

Frequently Asked Questions

(Distance ÷ MPG) × price per gallon. For example, a 300-mile trip at 30 MPG and $3.50/gallon costs (300 ÷ 30) × $3.50 = $35.
On a 30 MPG car, adding 5 MPG (to 35) cuts fuel cost per mile by about 14%, since cost scales with 1/MPG, not MPG directly — small MPG gains matter more at the low end (e.g. 15→20 MPG) than the high end (35→40 MPG).
Simply double the one-way trip cost, assuming you drive the same distance back.
Multiply the one-way trip cost by how many one-way trips you make per week, then by 52 weeks — useful for commute-cost planning.

How to calculate fuel cost for a trip

Fuel cost depends on distance, your car's fuel economy and the price of gas:

  • Gallons used = miles ÷ miles per gallon (MPG)
  • Trip cost = gallons × price per gallon
  • Cost per mile = price per gallon ÷ MPG

Tick round trip to double the cost, and enter trips per week for weekly and yearly totals, useful for commuting budgets.

Example

A 300-mile trip in a car that gets 28 MPG uses about 10.7 gallons. At $3.50 a gallon, it costs $37.50, or 12.5 cents a mile; a round trip costs $75. A 25-mile commute each way, five days a week, adds up to about $812 a year in the same car.

Cost per mile at $3.50 per gallon

Fuel economyCost per mileCost per 1,000 miles
15 MPG (large truck or SUV)23.3 cents$233
25 MPG (midsize car)14.0 cents$140
35 MPG (compact car)10.0 cents$100
50 MPG (hybrid)7.0 cents$70

For comparison, an electric car driving 3.5 miles per kWh at $0.17 per kWh costs about 4.9 cents a mile when charged at home.

Getting a realistic estimate

  • Highway MPG is usually better than city MPG; use your car's real-world average if you track it.
  • Speed matters: fuel economy drops noticeably above about 50 to 60 mph.
  • Roof boxes, heavy loads, cold weather and short trips all reduce MPG.
  • Gas prices vary by state; California and Hawaii are typically highest.

Fuel is only part of driving cost

The IRS standard mileage rate, which covers fuel, maintenance, insurance and depreciation, is several times higher than fuel cost alone. Self-employed drivers can deduct business miles at that rate instead of tracking every receipt.

Compare two vehicles with the fuel economy comparison calculator, plan the whole trip with the travel budget calculator, and see whether flying is better with the flight mileage calculator.