Gas Mileage Calculator

Work out your vehicle’s fuel economy in MPG or L/100 km and the cost per distance from distance, fuel volume, and price.

The formula this calculator uses

Gas Mileage Calculator

MPG = Miles ÷ Gallons
L/100 km = (Liters ÷ Kilometers) × 100
Cost per distance = (Fuel × Price) ÷ Distance

Example: 300 miles on 12 gallons → 25 MPG

Tracking real-world fuel economy

Manufacturer ratings are measured under controlled conditions. Your actual MPG or L/100 km depends on driving style, load, weather, and traffic. Recording fill-ups over several tanks gives a reliable personal average.

How to use this calculator

  1. Enter the required values in the fields above.
  2. Results update automatically as you type.
  3. Adjust any input to explore different scenarios.

Frequently asked questions

How do I improve MPG?

Maintain proper tire pressure, avoid rapid acceleration, reduce idling, and keep the vehicle well serviced.

Is city or highway MPG different?

Yes. Highway driving usually yields higher MPG because of steadier speeds and less stop-and-go.

Should I use the trip computer or manual calculation?

Manual fill-up calculation (distance ÷ fuel added) is more accurate over multiple tanks than most dashboard estimates.

What is a good MPG?

It depends on the vehicle. Modern hybrids often exceed 40–50 MPG; large SUVs may be under 20 MPG.