Fuel mileage tells you how far a vehicle travels on a given amount of fuel. Whether you call it fuel mileage or gas mileage, the idea is the same: distance per unit of fuel. The fuel mileage calculator turns two measurements into that ratio, and it can also work backwards when you already know the ratio but need one of the measurements.
Fuel mileage equals the distance traveled divided by the fuel used. In symbols, fuel mileage = distance / fuel used, usually reported in miles per US gallon (US mpg), with kilometers per liter (km/L) and miles per UK gallon as alternatives. To find it, note your odometer before and after a trip, subtract to get distance, measure the fuel burned on that trip, and divide one by the other.
What is the fuel mileage formula?
The calculator is built around a single ratio: the distance a vehicle covers divided by the fuel it takes to cover that distance. Fuel mileage is similar to fuel economy, and the two terms are interchangeable.
The same tool also links three other quantities. Trip cost is fuel used multiplied by fuel price, and fuel consumption is the reciprocal of fuel mileage. Together these give the calculator six fields:
| Calculator field | What it represents | Role |
|---|---|---|
| Distance traveled | Odometer difference or mapped trip length | Input |
| Fuel used | Fuel burned during that trip | Input |
| Fuel mileage | Distance per unit of fuel | Output, shown in US mpg by default |
| Fuel consumption | Reciprocal of fuel mileage | Output |
| Fuel price | Price per unit of fuel | Optional input |
| Trip cost | Fuel used multiplied by fuel price | Output |
Because the fields are connected by equations, you do not have to fill in every box. Supplying any two related values lets the calculator solve for the third.
How do I measure distance and fuel used?
The source method uses your odometer. Record its initial reading before you set off, record the final reading after the trip, and take the difference: that is your distance traveled. An online map is an alternative if you prefer to measure the route rather than read the odometer.
Fuel used is the amount of fuel burned over that same stretch. Keep the two measurements tied to the same trip: a distance from a mapped route paired with fuel bought on a different occasion will not give a trustworthy ratio.
How do I use the fuel mileage calculator?
Enter the distance traveled, then input the amount of fuel used during that trip. The tool displays the fuel mileage in miles per US gallons (US mpg) by default. You can switch the unit to kilometers per liter (km/L) or miles per UK gallons (UK mpg), and the calculator also shows the fuel consumption, which is the reciprocal of the mileage.
The calculator works in several directions. Leave distance blank and enter fuel used plus fuel mileage to solve for the distance. Enter only fuel consumption and it can derive the fuel mileage. You can also click the fuel cost option, enter a fuel price after defining the fuel used, and read the resulting trip cost.
Worked example: 56 km on 4 liters
Take a trip of 56 kilometers that uses 4 liters of fuel. Substituting into the formula:
The vehicle managed 14 kilometers per liter over that trip. Entering 56 for distance and 4 for fuel used in the calculator returns this result; choosing a different mileage unit restates the same ratio, and the reciprocal equation produces the matching consumption figure.
Frequently Asked Questions
Is fuel mileage the same as fuel economy?
Yes. Fuel mileage is similar to fuel economy, and the two terms are interchangeable. Both describe the distance a vehicle travels per unit of fuel, whether that is expressed in miles per gallon or kilometers per liter.
What does the fuel mileage result actually tell me?
It tells you the distance your vehicle can reach on a unit volume of fuel. Knowing that figure makes it easier to plan a refill when you already know how far you intend to travel.
How much fuel should I buy for a planned trip?
Use your fuel mileage together with the planned distance. Since mileage is distance divided by fuel used, rearranging the relation gives the fuel required for the trip, which is the amount you would need to have available.
References
- Standard unit-conversion references for miles per US gallon, miles per UK gallon and kilometers per liter.
- Odometer-based fuel economy measurement guidance for deriving trip distance from two readings.
- General arithmetic references on ratios, reciprocals and rearranging a two-variable equation.