Browse

Free · No account needed

Gas mileage calculator

Measure the MPG you actually get. Enter the miles driven between two full tanks and the gallons added at the second fill.

Start calculating

Your numbers

Example inputs — replace with your own. Entries stay in this page and are not sent or saved.

Enable JavaScript to change the calculation. The result shown is the worked example below.

Measured fuel economy (US gallons)

30 MPG
Miles between full fills
360 mi
Gallons at second fill
12 US gal
Refill fuel cost
$48.00
Fuel cost per mile
13.33¢

Estimate based on your inputs. USD and US gallons.

Compare stops on my route

How to calculate MPG at the pump

Fill the tank, record your odometer or reset the trip meter, and drive normally. At the next full fill, record the miles traveled and gallons purchased. Divide those miles by the gallons added at the second fill. Do not use tank capacity or the gallons purchased at the first fill. Use US gallons with this calculator.

Example: 360 miles and 12 gallons

Driving 360 miles between full fills and adding 12 gallons gives 30 MPG. At an example $4 per gallon, the refill costs $48 and the fuel cost is 13.33 cents per mile. The price is illustrative, not a current station quote.

Get a more useful average

One refill can be noisy because the level at automatic shutoff varies. Across several full-to-full intervals, divide all miles by all gallons rather than taking a simple average of the MPG results. Do not top off after the pump shuts off. A partial fill alone does not measure fuel consumed since the previous full tank.

Use measured MPG for the next drive

Carry your observed MPG into the trip or commute calculator. A highway trip, city traffic, towing or cold weather can change the result, so use a comparable driving period. Fuel cost here excludes maintenance, insurance and depreciation.

Sources and method

Calculation and worked examples by WorthStop. Reviewed October 30, 2026. Formulas and assumptions are shown above; results are estimates, not guaranteed costs.

US DOE / EPA: your MPG and fuel economy · WorthStop methodology

Plan your next step

US fuel-price averages by state · Airport fuel guides · MPG by vehicle · Fuel-saving guides

Make one stop. Make it count.

Put your route first.

Compare fuel stops by price, extra driving and price age. Start in your browser, or take WorthStop with you.

Compare stops on my routeNo account needed to start.