How to Calculate Gas Mileage
Gas mileage measures how many miles a vehicle travels per gallon of gasoline consumed. In the United States, gas mileage is expressed as miles per gallon (MPG). To calculate your gas mileage, divide the miles driven by the US gallons of fuel used (MPG = Miles Driven ÷ Gallons Used). Because a UK Imperial gallon is approximately 20% larger than a US gallon, UK Imperial MPG figures are numerically higher for the exact same vehicle.
Divide the distance recorded on your trip odometer by the exact gallons of gasoline required to refill the tank.
The Full-Tank Method: How to Measure Gas Mileage Accurately
The full-tank method is the most reliable way to calculate your vehicle’s true gas mileage under everyday driving conditions. Dashboard trip computers estimate fuel economy using electronic fuel injector pulses, which frequently overestimate true mileage by 3% to 7%. The manual method gives you verifiable numbers grounded in physical fuel volume.
Step 1 — Fill the tank completely: Visit a gas station and fill your fuel tank until the pump nozzle shuts off automatically. Do not top off or force extra fuel into the filler neck. Reset your trip odometer (Trip A or Trip B) to 0.0, or write down your vehicle’s current total odometer reading.
Step 2 — Drive normally: Drive under your typical everyday conditions until your fuel tank is roughly half to a quarter full. Measuring over at least 200 to 300 miles provides a much more representative sample than calculating over a short 10-mile trip.
Step 3 — Refill and record numbers: Return to a gas station—ideally using the same station or pump to minimize vehicle tilt variance—and fill the tank until the pump clicks off automatically. Record two numbers: the miles traveled on your trip odometer, and the exact gallons pumped from your fuel receipt.
Step 4 — Divide miles by gallons: Divide the miles driven by the gallons pumped to find your exact gas mileage. You can calculate this by hand or use our interactive tool to calculate your gas mileage instantly.
Step-by-Step Worked Calculation Example
Here is a complete, beginner-friendly worked example showing how to calculate your gas mileage from pump receipts:
1. Initial Fill-up: You fill your tank to the auto-click and reset your trip odometer to 0.0 miles.
2. Driving Period: You drive during your normal work commute and weekend errands for several days.
3. Second Fill-up: Your trip odometer reads 300.0 miles. You refill your tank to the first auto-click, and the pump receipt shows you pumped exactly 10.0 US gallons of gasoline.
4. Calculation: Divide 300.0 miles by 10.0 gallons: 300.0 ÷ 10.0 = 30.0 US MPG.
If fuel costs $3.50 per gallon, your total fuel expense for the 300-mile trip is $35.00 (10.0 × $3.50), resulting in a fuel cost of $0.117 per mile ($35.00 ÷ 300 miles).
How to Calculate Mileage Using Total Odometer Readings
If your vehicle lacks a resettable trip odometer or you forgot to reset it at your last fill-up, you can calculate mileage using your car’s main odometer:
Step 1: Record your starting odometer reading when you fill the tank (e.g., 45,200 miles).
Step 2: Record your ending odometer reading at your next fill-up (e.g., 45,560 miles).
Step 3: Subtract the starting mileage from the ending mileage to find distance traveled: 45,560 - 45,200 = 360.0 miles driven.
Step 4: Divide distance by gallons pumped (e.g., 12.0 gallons): 360.0 ÷ 12.0 = 30.0 MPG.
Our fuel mileage calculator has a dedicated odometer reading mode where you can enter both starting and ending numbers directly without mental math.
Understanding Different Mileage & Fuel Consumption Systems
Depending on where you live or what automotive reviews you read, vehicle fuel efficiency is expressed in different measurement units:
US Miles Per Gallon (US MPG): The standard rating in the United States. Measures distance achieved per US liquid gallon (3.78541 liters). Higher is better.
UK Imperial Miles Per Gallon (UK MPG): Used in the United Kingdom and parts of the Commonwealth. Because a UK Imperial gallon (4.54609 liters) is 20.095% larger than a US gallon, the exact same car achieves a higher numerical MPG rating in the UK: UK MPG = US MPG × 1.20095.
Kilometers Per Liter (km/L): Common in Japan, India, and Latin America. Measures distance traveled per liter of fuel: km/L = Kilometers Traveled ÷ Liters Used. Higher is better.
Liters Per 100 Kilometers (L/100 km): The international standard throughout Europe, Canada, Australia, and New Zealand. Measures fuel volume consumed over a fixed distance: L/100 km = (Liters Used ÷ Kilometers) × 100. Lower is better. To convert between US MPG and L/100 km, use the formula: US MPG = 235.215 ÷ (L/100 km).
Common Gas Mileage Calculation Mistakes to Avoid
1. Mixing US and UK Imperial gallons: Reading UK car reviews and assuming your US vehicle should match those MPG ratings without converting. A vehicle achieving 40.0 UK MPG only achieves 33.3 US MPG under identical physical driving conditions.
2. Estimating fuel from the dashboard fuel gauge: Relying on fuel tank needle fractions (such as "half a tank") rather than the exact metered gallons printed on the pump receipt. Fuel gauge float sensors are non-linear and inaccurate for mathematical calculations.
3. Confusing fuel economy with fuel consumption: Assuming a 10.0 L/100 km vehicle is more efficient than an 8.0 L/100 km vehicle. Remember that with L/100 km, lower numbers indicate less fuel burned.
4. Relying on a single short trip: Calculating mileage over a 15-mile commute where engine cold-start enrichment, traffic lights, and hills create heavy skew. Always calculate across a full tank or average three consecutive fill-ups for reliable data.
5. Topping off the tank: Squeezing the nozzle multiple times after it clicks off introduces volume variance of up to half a gallon between fill-ups.
Why Gas Mileage Varies Between Highway and City Driving
City driving requires repeatedly accelerating a 3,000 to 4,500-pound vehicle from a complete stop. Kinetic energy is converted into waste heat by the brake pads at every stoplight, severely reducing city fuel economy.
Highway driving allows the transmission to engage tall overdrive gears, maintaining steady speed at low engine RPM (often 1,500 to 2,000 RPM). However, aerodynamic drag increases with the square of vehicle speed—cruising at 75 MPH requires roughly 15% to 20% more fuel than driving at 60 MPH.
Practical Ways to Improve Gas Mileage
1. Maintain correct tire pressure: Check tire pressure monthly using a reliable digital gauge. Underinflated tires increase rolling resistance; every 1 PSI drop across all four tires lowers fuel economy by roughly 0.2%.
2. Remove excess vehicle weight: Carrying an unneeded 100 pounds in the vehicle reduces fuel economy by approximately 1%.
3. Moderate highway cruising speeds: Keeping your speed near 65 MPH instead of 75 to 80 MPH can save 10% to 15% on highway fuel costs.
4. Smooth throttle modulation and coasting: Aggressive driving with rapid accelerations and hard stops lowers highway gas mileage by up to 33% and city mileage by roughly 10% to 40%.
5. Keep maintenance items current: Replace dirty engine air filters, ensure wheel alignment is straight, and inspect dragging brake calipers.
Global Fuel Efficiency Measurement Systems Compared
| Measurement System | Primary Regions | Core Mathematical Formula | Equivalent for 30 US MPG Car | Efficiency Direction |
|---|---|---|---|---|
| US MPG (Miles Per Gallon) | United States | Miles Traveled ÷ US Gallons Used | 30.0 US MPG | Higher is better |
| UK Imperial MPG | United Kingdom | Miles Traveled ÷ Imperial Gallons Used | 36.03 UK MPG | Higher is better |
| Kilometers Per Liter (km/L) | Japan, India, Latin America | Kilometers Traveled ÷ Liters Used | 12.75 km/L | Higher is better |
| Liters Per 100 km (L/100 km) | Europe, Canada, Australia | (Liters Used ÷ Kilometers Traveled) × 100 | 7.84 L/100 km | Lower is better |
Ready to Calculate Your Fuel Numbers?
Use our free, client-side calculator to compute instant MPG, L/100km, fuel expenses, and conversion metrics.
Frequently Asked Questions
Related Calculators
Fuel Economy Calculator
Calculate US MPG, UK MPG, km/L, and L/100km from distance and fuel.
Fuel Consumption Calculator
Find exact L/100km consumption and metric fuel efficiency.
Gas Mileage Calculator
Calculate vehicle MPG and fuel cost per mile driven.
Trip Fuel Cost Calculator
Estimate total fuel required and gas expense for any road trip.