Gas Mileage Calculator

Calculate gas mileage from miles driven and gallons used. See MPG, gallons per 100 miles, and liters per 100 km.

All tools
Smoke mascot beside an odometer, fuel pump, 350 miles, 12.5 gallons, and MPG result cards.
The tool art follows the page workflow: enter miles and gallons from the same fill-up, then read MPG, gallons per 100 miles, and L/100 km. View in the smoke-kawaii gallery
Inputs explained Result checks Example values Runs in your browser
Fuel economy28 MPG

350 mi / 12.5 gal

Gallons per 100 mi
3.5714285714
L/100 km
8.4005208214
Miles driven
350

Formula steps

  1. Divide miles driven by gallons used.
  2. Convert the same result into gallons per 100 miles for comparison.
  3. Use the standard MPG to L/100 km conversion for metric comparison.

How to use the Gas Mileage Calculator

  1. Enter miles driven and gallons used from the same tank, receipt, or trip.
  2. Press Calculate gas mileage to see MPG, gallons per 100 miles, and L/100 km.
  3. Use the result in the Fuel Cost Calculator when you want a trip cost estimate.
  4. For a cleaner average, total several normal tanks instead of trusting one odd fill-up.

What people use it for

Calculate MPG after filling a tank.

Compare fuel use between trips or vehicles.

Convert MPG into gallons per 100 miles or L/100 km.

Use a real trip value inside the Fuel Cost Calculator.

Quick examples

Road trip

350 miles, 12.5 gallons

28 MPG, or about 3.57 gallons per 100 miles

Commute tank

275 miles, 9.8 gallons

About 28.06 MPG, useful for comparing your next tank

Truck tank

420 miles, 24 gallons

17.5 MPG, which can feed a fuel-cost estimate

Need the guide or a nearby tool?

Need a slower walkthrough, a related calculator, or the full library? These links keep you close to the task you started.

Frequently asked questions

Plain-language answers about when to use the tool, what it does with your inputs, what to double-check, and how privacy works.

When should I use the Gas Mileage Calculator?

Use it when your task matches one of these common needs: Calculate MPG after filling a tank. Compare fuel use between trips or vehicles. It works best when you already know the miles driven and gallons used from the same fill-up, tank, or trip window.

What is the Gas Mileage Calculator doing with my inputs?

In plain language: MPG = miles driven / gallons used. Gallons per 100 miles = gallons used / miles driven x 100. L/100 km uses the standard 235.214583 divided by MPG conversion. The examples on the page are there so you can compare your inputs with a fill-up example before copying the answer.

What do the main Gas Mileage Calculator inputs mean?

Miles driven: the odometer or trip-meter distance since the fill-up or route started. Gallons used: the fuel used for those same miles, usually the gallons added at the next fill-up. MPG: miles per gallon. Higher MPG means you went farther on each gallon. Gallons per 100 miles: fuel used per distance. Lower is better, and it can make savings easier to compare. L/100 km: the metric fuel-use version. Lower is better here too.

How should I read the Gas Mileage Calculator answer?

Read the headline answer, then check the smaller lines beside it. For everyday tools, those lines usually show the distance, time, cost, units, or setting that made the answer change.

What should I double-check before trusting the answer?

One tank can be noisy. Pump shutoff, fill level, tire pressure, route, speed, weather, traffic, load, and driving style can all move the result. Also check that the odometer/trip meter and fuel amount cover the same window. For cleaner long-term MPG, average several tanks instead of trusting one unusual drive.

Should I use a full tank or a single trip?

A full-tank fill-up is usually cleaner because the gallons added should match the miles driven since the last fill. A single trip can still work if you know the actual fuel used for that trip.

Why do I also see gallons per 100 miles and L/100 km?

MPG is common in the United States, but gallons per 100 miles and L/100 km make fuel used per distance easier to compare. Lower is better for those two outputs.

When should I use the Fuel Cost Calculator instead?

Use this page to find fuel economy. Use the Fuel Cost Calculator when you already know the trip distance, MPG, and fuel price and want the money estimate.

Why can one tank show weird MPG?

The pump may stop at a slightly different fill level, the route may have more traffic, or the car may be carrying more weight. If one tank looks strange, average several normal fill-ups before deciding your MPG changed.

Can this prove the EPA label is wrong?

No. EPA labels are standardized estimates for comparing vehicles. This calculator shows your real fill-up math, which can be higher or lower because your route, speed, weather, tires, and driving style are different.

Does the site save what I enter?

No. The math runs in your browser tab. Your miles, gallons, and recent results are not sent to a server.

Related tools