How does the Gas Mileage Calculator work?
This calculator estimates U.S. miles per gallon (MPG) from miles driven and the fuel quantity you enter. You can enter fuel in U.S. gallons or liters; liter inputs are converted to U.S. gallons for the MPG calculation. The distance and fuel quantity must describe the same driving period—for example, miles traveled since the last fill-up and the gallons or liters required to refill the tank. The result also converts the same consumption to gallons per 100 miles and liters per 100 kilometers so you can compare common fuel-economy formats. For a full driving budget that also includes tolls and parking, the Road Trip Cost Calculator is a useful next step.
For a useful real-world check, reset the trip odometer at a full tank, drive normally, then refill the tank and record the gallons or liters dispensed. A single tank can be affected by traffic, weather, idling and fill variation, so averaging several tanks gives a more stable picture.
What should you enter for an accurate MPG estimate?
Use actual miles traveled rather than the vehicle odometer total, and use the gallons or liters added to return the tank to approximately the same fill level. If you enter a fuel price, use the same selected unit for that price ($/gal or $/L); the calculator then estimates fuel cost for the measured distance and fuel cost per mile.
Dashboard MPG displays can be useful, but this tool is intended for a fuel-purchased calculation. For trip budgeting before you drive, use the Fuel Cost Calculator instead, because it starts with expected MPG and a planned distance.
How should you interpret your gas mileage result?
Higher MPG means the vehicle travels farther on one U.S. gallon of fuel. Gallons per 100 miles moves in the opposite direction: lower is better because less fuel is required to travel 100 miles. L/100 km is another consumption measure where a lower number also represents lower fuel use.
Real-world mileage can differ from official label values because vehicle speed, temperature, cargo, tires, terrain, air-conditioning use and driving style vary. EPA fuel-economy values come from standardized testing, while this calculator summarizes the measurements you enter. To translate fuel efficiency into a broader annual driving expense, compare the Cost Per Mile Calculator.
When is this MPG calculator most useful?
Use it to track a personal vehicle over time, compare different routes or seasons, or estimate whether a change in driving conditions affected fuel consumption. It is not a diagnostic tool and cannot determine why fuel economy changed. Large or sudden changes should be evaluated with the vehicle manufacturer’s maintenance guidance or a qualified technician. For fuel, insurance, maintenance and depreciation together, use the Vehicle Ownership Cost Calculator.
Frequently asked questions about Gas Mileage
With U.S. gallons selected, MPG equals miles driven divided by gallons used. With liters selected, the calculator first converts liters to U.S. gallons, then calculates MPG.
Yes. Choose Liters (L) and enter the liters actually used for the same driving period. The calculator converts that quantity internally and still reports U.S. MPG plus L/100 km.
Dashboard displays may use vehicle sensor estimates and averaging methods, while a fill-up calculation uses the miles and fuel quantities you enter.
Several consistent full-tank measurements usually give a more stable personal average than one tank because fill level and driving conditions vary.
It estimates how many U.S. gallons are consumed to travel 100 miles. Lower values indicate lower fuel use.
Yes. It converts the MPG result to liters per 100 kilometers for comparison with that common fuel-consumption format.
Usually for the same fuel price and distance, but actual cost also depends on the price you enter per selected unit—per gallon or per liter.
No. It calculates from your own distance and fuel inputs. EPA label values come from standardized vehicle testing.
Sources and methodology
The calculator uses the formulas described on this page and user-entered assumptions. These authoritative U.S. resources provide context for the related vehicle, fuel, charging, finance or safety topic.
