Calculation Type
Find your model's official rating at fueleconomy.gov (U.S. DOE/EPA) to compare it with your result
Formula
MPG = Distance (miles) ÷ Fuel Used (gallons)
Result
Fuel Efficiency
28.57
MPG
Metric Equivalent
12.15 km/L
European Standard
8.23 L/100km
Compared With EPA Rating
Enter your vehicle's EPA combined rating (from fueleconomy.gov) to see how your real-world result compares. Averaging several fill-ups gives a more reliable figure than one tank.
💡 Improve Your MPG
- • Maintain proper tire pressure (up to +3% MPG)
- • Remove excess weight from vehicle
- • Use cruise control on highways
- • Avoid rapid acceleration/braking
- • Keep up with regular maintenance
- • Reduce idling time
- • Use recommended motor oil grade
MPG to Metric Quick Reference
Fuel economy varies widely by vehicle, so compare your result with your own model's EPA rating at fueleconomy.gov. In L/100km, lower is better.
15 MPG
15.68 L/100km
6.38 km/L
20 MPG
11.76 L/100km
8.5 km/L
25 MPG
9.41 L/100km
10.63 km/L
30 MPG
7.84 L/100km
12.75 km/L
40 MPG
5.88 L/100km
17.01 km/L
50 MPG
4.7 L/100km
21.26 km/L
Overview
A gas mileage calculator works out your vehicle's fuel economy in miles per gallon from the distance you drove and the fuel you used. It can also be run the other way. Find Distance shows how far a given amount of fuel will take you, and Find Fuel shows how many gallons a trip will need. It is useful for checking real-world MPG against the EPA rating, spotting a drop that could mean a maintenance problem, and planning fuel stops.
The formulas are MPG = miles ÷ gallons, distance = MPG × gallons, and fuel needed = distance ÷ MPG. In MPG mode, the page also converts the result to metric units using exact definitions (1 mile = 1.609344 km and 1 US gallon = 3.785411784 L). It shows km per liter (MPG × 0.425144) and liters per 100 km (235.215 ÷ MPG). Liters per 100 km is a consumption figure, so lower is better.
One tank gives a rough reading. Averaging several fill-ups gives a much more reliable number.
How to Use
- Choose a Calculation Type: Calculate MPG, Find Distance or Find Fuel.
- For Calculate MPG, enter Distance Traveled (miles) and Fuel Used (gallons). For Find Distance, enter Vehicle MPG and Fuel Available (gallons). For Find Fuel, enter Distance to Travel (miles) and Vehicle MPG.
- Click Calculate. The Formula box shows the equation used for the mode you chose.
- Read the Result. In MPG mode you also get km/L, L/100km and, if you enter your EPA Combined Rating, how your result compares with it.
- Use the MPG to Metric Quick Reference for common conversions, and click Clear All to start a new calculation.
Frequently Asked Questions
How do I calculate my gas mileage?
Fill the tank completely and note the odometer reading or reset the trip meter. Drive normally, then fill up again and note how many gallons it took. Divide the miles driven by those gallons. With the page's defaults, 300 miles ÷ 10.5 gallons = 28.57 MPG. Averaging several tanks smooths out differences in how full each fill-up was.
How do I convert MPG to liters per 100 km?
Divide 235.215 by the MPG figure. 28.57 MPG works out to about 8.23 L/100km, and 30 MPG is about 7.84 L/100km. To go the other way, divide 235.215 by the L/100km value, so 7.5 L/100km is about 31.36 MPG. The constant comes from 100 × 3.785411784 L per US gallon ÷ 1.609344 km per mile. UK gallons are larger, so imperial MPG figures are higher.
How far can I drive on a tank of gas?
Multiply your MPG by the gallons in the tank. A car averaging 28 MPG with 12 gallons available can go about 28 × 12 = 336 miles. In practice, keep a reserve and refuel well before the tank is empty, because real mileage drops with speed, heavy loads, hills, air conditioning and cold weather.
How many gallons of gas do I need for a trip?
Divide the trip distance by your vehicle's MPG. A 450-mile drive in a car that gets 28 MPG needs about 450 ÷ 28 = 16.07 gallons. Multiply by the local price per gallon to estimate the cost. The Fuel Cost Calculator on this site does that step for you and also handles monthly commuting costs.
Why is my real MPG lower than the EPA rating?
EPA ratings come from standardized lab tests, while your mileage depends on how and where you drive. High highway speeds, aggressive acceleration, short trips in cold weather, idling, roof racks, low tire pressure and extra cargo all reduce fuel economy. The U.S. Department of Energy's fueleconomy.gov notes that properly inflated tires alone can improve mileage by up to about 3%.
What is a good MPG for a car?
It depends on the type of vehicle. There is no single cut-off, so this page compares your result with your model's EPA combined rating instead of using generic grades. Compare your result with the EPA rating for your exact model on fueleconomy.gov.