Gas Mileage Calculator
Gas mileage: 24 mpg
- Distance traveled
- 360 miles
- Fuel added
- 15 gallons
- Miles per gallon
- 24 mpg
- Liters per 100 km
- 9.801 L/100 km
- Kilometers per liter
- 10.203 km/L
- Fill expense
- $45.00
- Cost per mile
- $0.125
- Cost per kilometer
- $0.0777
- Miles per dollar
- 8
- Kilometers per dollar
- 12.8748
What this calculator does
The Gas Mileage Calculator measures how far a vehicle traveled on a known amount of fuel. You enter the current odometer reading, the previous reading, and the fuel added at the last fill-up. The calculator returns the distance traveled, miles per gallon, liters per 100 kilometers, and kilometers per liter.
You can work in US units or metric units. An optional fuel price adds the fill-up expense, the cost per mile or kilometer, and the distance you can drive per dollar. Leaving the price blank keeps the result focused on efficiency.
How to use this calculator
- Choose US units or metric units.
- Enter the current odometer reading.
- Enter the previous odometer reading, taken at the prior fill-up.
- Enter the fuel added to the tank.
- Optionally enter the fuel price.
- Click Calculate.
For the most consistent result, fill the tank to the same level each time. The method works best when the fuel added represents all the fuel used since the previous reading.
Formula
Distance traveled = current odometer - previous odometer
Miles per gallon = distance (miles) / fuel added (gallons)
Liters per 100 km = 235.214583 / mpg
Kilometers per liter = distance (km) / fuel added (liters)
In metric mode, the distance is already in kilometers and the fuel is in liters. The calculator converts those values to miles and gallons internally so it can report mpg as well. One mile equals 1.609344 kilometers and one US gallon equals 3.785411784 liters.
When a price is entered, the fill-up expense is the fuel added multiplied by the price. Cost per mile is the expense divided by the distance, and miles per dollar is the distance divided by the expense.
Default example
With a current reading of 12,360 miles, a previous reading of 12,000 miles, 15 gallons added, and $3.00 per gallon, the vehicle traveled 360 miles and returned 24 mpg. That equals about 9.8 L/100 km and 10.2 km/L. The fill-up cost is $45.00, the cost is $0.125 per mile, and the vehicle travels 8 miles per dollar.
The metric example uses 18,900 km and 18,300 km with 50 liters at $1.00 per liter. The distance is 600 km, efficiency is 12 km/L or about 8.3 L/100 km, and the fill-up costs $50.00.
Assumptions and limitations
- The odometer difference must be positive; the current reading has to be greater than the previous reading.
- A single fill-up gives a short-term estimate. Several tank-to-tank measurements averaged together are more reliable.
- Fuel added is assumed to equal fuel burned since the previous fill-up.
- Tire size, odometer calibration, roof cargo, idling, and driving conditions can change real efficiency.
- The result uses the US gallon. Imperial gallons would produce different mpg figures.
Frequently asked questions
Why does my result differ from the EPA rating?
The EPA rating is a laboratory-based estimate intended for vehicle comparisons. Your result reflects your own route, speed, weather, load, and driving style. Short trips and cold starts often produce noticeably lower mileage.
How many fill-ups should I average?
Three to five tank-to-tank measurements usually give a stable picture. Keep filling to the same level and record every odometer reading. A single measurement can be distorted by a partial fill or a long highway trip.
What happens if I leave the gas price blank?
The efficiency results still calculate normally. Only the expense, cost-per-distance, and distance-per-dollar rows are omitted. Enter a price if you want the full cost breakdown.
Reference table
Odometer reading examples
| Current Odometer Reading | miles |
|---|---|
| Start of trip | 12,450 |
| First fill-up | 12,730 |
| Second fill-up | 13,015 |
| Trip distance | 565 |
| Current Odometer Reading | kilometer |
|---|---|
| Start of trip | 20,036 |
| First fill-up | 20,487 |
| Second fill-up | 20,945 |
| Trip distance | 909 |
Record the odometer at each fill-up and divide the distance by the fuel added.
Source
Reference: Calculator.net - Gas Mileage Calculator. Unit conversion factors follow the international mile and the US liquid gallon.
Other Calculators
- Age Calculator
- Date Calculator
- Time Calculator
- Hours Calculator
- Time Card Calculator
- Time Zone Calculator
- Time Duration Calculator
- Day of the Week Calculator
- Concrete Calculator
- BTU Calculator
- Square Footage Calculator
- Stair Calculator
- Roofing Calculator
- Tile Calculator
- Mulch Calculator
- Gravel Calculator
- Height Calculator
- Conversion Calculator
- More Other Calculators