Gas Mileage Calculator (MPG)

Measure your car's real fuel economy from one full tank and convert it between mpg and L/100 km.

Since the last full tank.
To see the cost per mile or km.
Your fuel economy31.3 mpg
  • US mpg31.3 mpg (US)
  • UK mpg37.5 mpg (UK)
  • Liters per 100 km7.53 L/100 km
  • Kilometers per liter13.29 km/L
  • Fuel cost per distance$0.109 / mi

Your car averages 31.3 mpg. Track it over a few full tanks for the most accurate number.

100% private. Everything is calculated in your browser. Nothing you type is sent or stored on a server.

Estimates for guidance only. Real-world results depend on your car, driving and local prices.

How to calculate your gas mileage

  1. Fill the tank completely and reset the trip meter.
  2. Drive normally until you need fuel again.
  3. Fill up again and note the gallons (or liters) added and the miles (or km) on the trip meter.
  4. Enter both numbers here.
mpg (US) = miles ÷ gallons L/100 km = 235.215 ÷ mpg (US) mpg (UK) = mpg (US) × 1.201

Worked example

You drove 350 miles and needed 11.2 gallons to fill up: your car gets 31.3 mpg, which is 7.53 L/100 km, 13.3 km per liter or 37.5 UK mpg.

Why your mpg differs from the sticker

Real-world fuel economy depends on speed, traffic, temperature, tire pressure and load. Measuring over two or three full tanks gives the most reliable number. Use it in the fuel cost calculator to price your next trip.

Getting an accurate number

A single tank can be misleading: one long highway trip or a week of short cold-start journeys can move the result by 20% or more. For a reliable figure, repeat the full-tank method over three or four fills and add up the total miles and total gallons before dividing. Always fill to the same point — the first automatic click of the pump — so each measurement starts and ends the same way.

What lowers your mpg

  • Speed: aerodynamic drag rises sharply above about 60 mph.
  • Short trips: engines use more fuel until they are warm.
  • Under-inflated tires and extra weight in the trunk.
  • Roof racks and boxes, even when empty.
  • Cold weather, winter fuel blends and running the heater or A/C.

Watching mpg over time is also an early warning: a sudden drop with the same driving can point to a dragging brake, a sensor fault or low tire pressure.

Frequently asked questions

How do I calculate mpg?

Divide the miles driven by the gallons used to refill the tank. For example, 350 miles ÷ 11.2 gallons = 31.3 mpg.

How do I convert mpg to L/100 km?

Divide 235.215 by the US mpg figure. 30 mpg is about 7.8 L/100 km.

Why is UK mpg higher than US mpg?

A UK (imperial) gallon is about 20% larger than a US gallon, so the same car shows a higher mpg in the UK.

What is good gas mileage?

It depends on the vehicle. Many compact cars get 30–40 mpg on the highway, while large SUVs and pickups often get 15–25 mpg.

Is the trip computer accurate?

It is usually close but can be a few percent optimistic. Measuring at the pump is the most reliable method.

More lease calculators

Car leasing

Buying & car loans

Running costs & taxes

Tires & conversions