Gas mileage calculator
Calculate fuel economy from trip distance and fuel used with U.S. or metric inputs.
What this calculator covers
Use this gas mileage calculator to turn one trip's distance and fuel use into comparable fuel-economy metrics.
Frequently asked questions
- What is a good MPG for a car?
- Most modern passenger cars average somewhere between 25 and 40 MPG in combined driving, while trucks and SUVs typically fall in the 15–25 MPG range. The right benchmark depends on the vehicle class and whether the driving is mostly city or highway.
- Why does the calculator show three different numbers?
- MPG, km/L, and L/100 km all express the same underlying efficiency from different angles. MPG and km/L are distance-per-fuel ratios, while L/100 km is a fuel-consumption format common in European vehicle specs — a lower number means better efficiency.
- Does the result change based on whether I enter miles or kilometers?
- Yes. Select the unit system that matches your inputs — U.S. for miles and gallons, metric for kilometers and liters — and the calculator converts the primary result to all three formats automatically.
- Why might my calculated MPG differ from the EPA window sticker?
- Window-sticker figures are tested under controlled lab conditions. Real-world mileage varies with speed, traffic, temperature, cargo load, and driving style, so a single trip calculation rarely matches the official estimate exactly.
Tool
Run the calculation
Result
RESULT · PRIMARY MILEAGE
â„–185
Primary result
12 km/L
480 km on 40 L works out to 28.23 mpg, 12 km/L, and 8.33 L/100 km.
- Distance
- 480 km
- Fuel used
- 40 L
- MPG
- 28.23 mpg
- km/L
- 12 km/L
- L/100 km
- 8.33 L/100 km
Step-by-step solution
- 1.Divide distance by fuel used in the entered unit system: 480 km ÷ 40 L.
- 2.Convert that primary efficiency to the alternate distance-per-fuel metric so both MPG and km/L are visible.
- 3.Invert km/L into liters per 100 km to show the common metric consumption view of 8.33 L/100 km.
Walkthrough
Visual walkthrough
Mileage starts with one simple division, then the calculator restates that efficiency in the most common U.S. and metric views.
01
Divide distance by fuel used
480 km ÷ 40 L
This first ratio gives the distance traveled per gallon or liter in the entered system.
02
Translate the efficiency units
28.23 mpg · 12 km/L
Showing both MPG and km/L makes the result easier to compare across common fuel-economy references.
03
Read the metric consumption view
Liters per 100 km flips the same efficiency into a fuel-consumption format used in many vehicle specs.
8.33 L/100 km