Skip to calculator
Automotive

MPG Calculator

Calculate miles per gallon, gallons per 100 miles and liters per 100 kilometers from distance and fuel used.

Free online toolWorks in your browserNo sign-up required

MPG Calculator

Enable JavaScript to use the interactive calculator; the example and formula are described below.

Roadmap #31–60

Automotive calculator collection

Use the connected calculators in this build for related estimates without starting over.

Category hub →

How to use this mpg calculator

Enter the requested values above and select Calculate. Change any input to compare scenarios.

Formula and method

MPG = miles driven ÷ gallons used. L/100 km ≈ 235.214583 ÷ MPG.

Example

If you drive 360 miles and use 12 gallons, fuel economy is 30 MPG, or about 7.84 L/100 km.

Important assumptions

For the best tank-to-tank estimate, fill the tank to the same level before and after the measured driving period.

MPG Calculator: a practical example

Driving 360 miles with 12 U.S. gallons gives 30 MPG.

What the result means

Compare fill-up-to-fill-up averages over several tanks for a more representative estimate.

Limits to consider

Odometer error, incomplete fill-ups, towing and driving conditions change observed fuel economy.

Related tools: Gas Cost Calculator · Trip Fuel Cost Calculator

Frequently asked questions

What does the MPG Calculator calculate?

Calculate miles per gallon, gallons per 100 miles and liters per 100 kilometers from distance and fuel used.

How does the calculation work?

MPG = miles driven ÷ gallons used. L/100 km ≈ 235.214583 ÷ MPG.

Is this calculator free?

Yes. ERICH Calculators is free to use and no account is required.

Transparency

Method, assumptions & corrections

See how formulas, sources and limitations are handled across ERICH Calculators.