Fuel Cost Per Mile Calculator

Work out how much it costs to drive your car per mile or per kilometre, what a road trip will cost in fuel, and your yearly fuel bill. Enter your car's fuel economy in MPG (US or UK), L/100 km or km/L and the fuel price per litre or gallon, or switch to electric and enter kWh per 100 miles and your electricity price. Round trips and splitting the cost between passengers are built in.

  • 100% free
  • No sign-up
  • Private & local
  • Works on mobile

Private by design: every calculation runs locally in your browser. Nothing you type is sent to a server or stored by us.

Results are estimates for general information only and are not financial advice. Read our disclaimer.

How to Calculate Fuel Cost Per Mile

Fuel cost per mile is simply fuel price ÷ miles per gallon. With petrol at $3.45 a gallon and a car that does 32 MPG, every mile costs 3.45 ÷ 32 = $0.108, about 11 cents. A 250-mile trip therefore costs about $27 in fuel. In metric countries the formula is L/100 km × price per litre ÷ 100: a car using 6.5 L/100 km with fuel at €1.80 per litre costs €0.117 per km.

This fuel cost calculator handles every combination of units used around the world, including US and UK (imperial) gallons, which differ by 20%, as well as electric vehicles, so you can budget road trips, compare cars, split costs with passengers, claim mileage or estimate your yearly fuel bill.

How to Use It

  1. Choose petrol/diesel or electric.
  2. Enter your fuel economy in the unit you know: MPG (US), MPG (UK), L/100 km or km/L. For an EV, use kWh/100 mi, kWh/100 km, mi/kWh or km/kWh.
  3. Enter the fuel price per litre or gallon, or the electricity price per kWh.
  4. Enter the trip distance, and tick round trip if you're coming back.
  5. Optional: split the cost between passengers, or enter your yearly mileage for an annual fuel budget.

Fuel Economy Units Explained

UnitUsed inBetter economy is…
MPG (US), 3.785 L gallonUSAHigher
MPG (UK / imperial), 4.546 L gallonUKHigher
L/100 kmEurope, Australia, Canada, most of the worldLower
km/LIndia, Japan, Latin AmericaHigher
kWh/100 mi or kmElectric carsLower

Useful conversions: L/100 km = 235.2 ÷ MPG (US) and = 282.5 ÷ MPG (UK). 40 MPG in the UK is only 33.3 MPG in US gallons, so always check which gallon a figure uses.

Electric Car Running Costs

An EV's "fuel" cost depends on its efficiency and where you charge. A typical EV uses 25–35 kWh per 100 miles. At a home rate of $0.16 per kWh plus about 10% charging losses, 30 kWh/100 mi costs roughly $0.053 per mile, about half the cost of a 32 MPG petrol car at $3.45 a gallon. Public rapid chargers can cost two to four times more than home electricity, and off-peak EV tariffs can cost much less, so try different prices to compare.

Ways to Reduce Your Fuel Costs

  • Drive smoothly: gentle acceleration and braking can improve economy by 10–20%.
  • Watch your speed: fuel use rises sharply above about 55–60 mph (90–100 km/h).
  • Check tyre pressure monthly, because under-inflated tyres waste fuel.
  • Remove roof boxes and unnecessary weight when you're not using them.
  • Share rides and split the cost with the calculator's passenger option.
  • Compare fuel prices with a fuel-price app before long trips.

Fuel Cost vs the Total Cost of Driving

Fuel is only part of what a car costs per mile. Insurance, tax, servicing, tyres, depreciation and parking often add up to more than the fuel itself. Official mileage allowances, such as the IRS standard mileage rate in the US or HMRC's approved mileage rates in the UK, include these costs, which is why they're much higher than fuel cost alone.

Budgeting a Road Trip

For a 1,200-mile road trip in a 30 MPG car with fuel at $3.50 a gallon, the fuel bill is about $140. Split between three friends, that's roughly $47 each. Add a margin of 10–15%, because motorway speeds, air conditioning, roof boxes and a full load of passengers and luggage all reduce real-world economy compared with official figures.

Frequently Asked Questions

Why is my real fuel economy worse than the official figure?

Official tests use gentle driving in ideal conditions. Speed, traffic, cold weather and extra load all increase real consumption.

How much does it cost to drive 100 miles?

At 32 MPG and $3.45 per gallon, about $10.78. Enter your own figures above.

How do I convert MPG to L/100 km?

Divide 235.21 by US MPG, or 282.48 by UK MPG.

Is an electric car cheaper per mile?

Usually, when charged at home. Rapid charging can narrow or remove the difference.

How do I split petrol costs with friends?

Enter the round-trip distance and the number of people. The per-person cost is shown automatically.

What's the difference between US and UK gallons?

A UK (imperial) gallon is 4.546 L, and a US gallon is 3.785 L, about 20% smaller.