Gas Mileage Calculator

Calculate fuel economy from distance traveled and fuel used.

Enter your values, then select the button.
Gas Mileage Calculator method
Distance ÷ fuel used.

How to use the gas mileage calculator

  1. Distance: Distance traveled in miles or kilometers.
  2. Fuel used: Gallons or liters used over that distance.
  3. Units: Select the units used for both inputs.
  4. Select the button and review the result.

Worked example

350 miles using 12 US gallons is about 29.17 mpg.

Method and limitations

Distance ÷ fuel used.

Fill-to-fill measurement over several tanks is usually more representative.

Common questions

Why might another result be different?

Inputs, rounding, policies, rates, and assumptions can differ. Compare like-for-like values and use current official information when a rate or rule can change.

Does NidXee save my entries?

No. The calculation runs in your browser. Reloading or closing the page may clear it.