MPG Calculator

Calculate your vehicle’s exact miles per gallon (MPG) from odometer readings and gas pump gallons, along with fuel cost per mile.

MPG Calculator – Calculate Actual Miles Per Gallon
Actual Fuel Economy (MPG)
Total Distance Driven
Fuel Cost Per Mile
Fuel Cost Per 100 Miles
⚠️ Illustrative only. Not financial advice. Please delete history timely, it may impact your browser performance.

History — MPG Calculator – Calculate Actual Miles Per Gallon

# Time Distance (Mi) Gallons Actual MPG Cost / Mile Cost / 100 Mi Action

Why Calculate Your Real-World MPG?

While modern vehicles feature built-in digital fuel economy meters on the instrument cluster, these displays are mathematical estimates that frequently overestimate actual gas mileage. Tracking your fill-up data manually is the only way to measure true fuel economy and catch underlying engine issues early.

Using this MPG Calculator, you can accurately track your real-world fuel economy and per-mile driving expenses.


MPG Calculation Flow

Actual MPG Calculation Flow
📥 Inputs
Starting Odometer
Ending Odometer
Gallons Pumped
Gas Price ($/gal)
Step 1
Compute Distance Driven
$$\text{Miles Driven} = \text{Ending Odometer} - \text{Starting Odometer}$$
Step 2
Compute Fuel Economy & Unit Expenses
$$\text{Calculated MPG} = \frac{\text{Miles Driven}}{\text{Gallons Pumped}}$$ $$\text{Cost Per Mile} = \frac{\text{Gas Price}}{\text{Calculated MPG}}$$
📊 Outputs
Calculated MPG
Distance Driven (Mi)
Cost / 100 Miles

Core Fuel Economy Formulas

1. Actual Miles Per Gallon (MPG)

\(\text{MPG} = \frac{\text{Ending Odometer} - \text{Starting Odometer}}{\text{Gallons Pumped}}\)

2. Fuel Expense Per 100 Miles

\(\text{Cost Per 100 Miles} = \left( \frac{100}{\text{MPG}} \right) \times \text{Gas Price}\)


Sample Fill-Up Log & Fuel Economy Benchmarks

Trip Miles Gallons Refilled Gas Price Calculated MPG Cost / Mile Efficiency Rating
350 Mi 14.0 Gal $3.55 25.0 MPG $0.142 Average Sedan
350 Mi 10.0 Gal $3.55 35.0 MPG $0.101 Efficient Compact
350 Mi 7.0 Gal $3.55 50.0 MPG $0.071 Hybrid Vehicle
350 Mi 20.0 Gal $3.55 17.5 MPG $0.203 Full-Size SUV/Truck

Step-by-Step Guide

Step 1: Record Odometer at Fill-Up #1

Fill your gas tank until the pump automatically clicks off. Record your exact odometer reading.

Step 2: Drive Until Next Refuel

Drive as you normally would for several days or weeks until your tank is low.

Step 3: Record Odometer & Gallons at Fill-Up #2

Fill your tank completely again. Record the new odometer reading, total gallons pumped, and price per gallon from your receipt.

Step 4: Calculate Exact Fuel Economy

Input these numbers into the calculator to get your real MPG and cost per mile.


Frequently Asked Questions

How do you calculate actual MPG manually?

Divide the total miles driven between fill-ups by the number of gallons needed to refill the tank: MPG = Miles Driven ÷ Gallons Pumped.

Why is manual MPG calculation better than dashboard computer estimates?

Dashboard fuel economy gauges use mathematical engine algorithms that often overestimate actual MPG by 2% to 5%. Fill-up calculation measures actual gallons consumed.

What is a good MPG rating for a vehicle?

25 to 30 MPG is solid for standard gasoline sedans/crossovers. Hybrids achieve 45 to 55 MPG, whereas trucks and performance SUVs average 15 to 20 MPG.

Why does my MPG change between fill-ups?

MPG fluctuates due to traffic congestion, ratio of city vs highway driving, aggressive braking/acceleration, vehicle payload weight, and tire pressure.

How much does cold weather decrease gas mileage?

Cold weather decreases fuel economy by 10% to 20% due to increased engine friction, fuel winter blends, heating fan usage, and longer engine warmup times.

What is L/100km conversion for MPG?

To convert US MPG to Liters per 100 Kilometers (L/100km): divide 235.215 by your US MPG rating (e.g., 25 MPG = 9.4 L/100km).

Is this calculator private?

Yes, all computations execute client-side in your browser.