Updated Travel

Gas Mileage Calculator

Calculate MPG, km/L, and L/100km from distance and fuel used (trip or odometer), convert fuel economy units, and estimate fuel cost per mile/km and driving range from tank size.

Trip Mileage Odometer Mileage Unit Converter Cost & Range

Fuel Economy Calculator for MPG, km/L, L/100km and Cost per Distance

Enter distance and fuel used to get mileage in multiple formats, convert units instantly, and estimate cost per mile/km and range from tank capacity.

Trip mileage is computed from distance and fuel used. For best accuracy, measure over longer distances and avoid single short trips where warm-up and traffic can distort results.
Odometer mileage works well when you record an interval between fill-ups. Full-to-full calculations are usually more stable than single short refuels.
Use this converter to compare vehicles, listings, or dashboards that report different fuel economy units. MPG (US) and MPG (UK) are not interchangeable.
Cost per distance helps you budget quickly, and range helps you plan refuel stops. Range estimates assume your fuel economy stays similar to your input and that your reserve remains unused.

What Gas Mileage Actually Measures

“Gas mileage” is a practical way to describe how efficiently a vehicle uses fuel. It answers a simple question: how much driving do you get from the fuel you buy? When mileage is good, a tank lasts longer and each trip costs less. When mileage is poor, the same routes require more fuel and your budget becomes more sensitive to fuel price changes.

The confusing part is that different regions measure fuel economy in different formats. Some countries display a distance-per-fuel unit such as miles per gallon (MPG) or kilometers per liter (km/L). Others display a fuel-per-distance unit such as liters per 100 kilometers (L/100km). These are just two ways of describing the same reality.

This gas mileage calculator is designed to work with either style. You can calculate mileage from a trip (distance and fuel used), calculate from an odometer interval between fill-ups, convert units to compare sources, and estimate cost per mile or cost per kilometer using your fuel price. It also includes a range estimate so you can plan refueling stops with a reserve buffer.

Understanding the Four Most Common Fuel Economy Units

The unit you use often depends on where you live, what your car dashboard shows, or which website you’re reading. Here is what the major formats mean in everyday terms:

  • MPG (US): miles traveled per US gallon of fuel. Higher is better.
  • MPG (UK): miles traveled per UK (imperial) gallon of fuel. Higher is better, and values are typically higher than US MPG.
  • km/L: kilometers traveled per liter of fuel. Higher is better.
  • L/100km: liters used to travel 100 km. Lower is better.

A common mistake is comparing these numbers without conversion. For example, L/100km goes down when efficiency improves, while MPG goes up. The Unit Converter tab exists so you can compare apples to apples before making decisions.

Trip Mileage: The Simplest Way to Calculate Gas Mileage

If you know how far you drove and how much fuel you used, you can calculate fuel economy directly. This is exactly what the Trip Mileage tab does. You enter your distance and choose whether it is in kilometers or miles. Then you enter fuel used and choose whether it is in liters, US gallons, or UK gallons.

Once those inputs are consistent, the calculator produces all major outputs at once: MPG (US), MPG (UK), km/L, and L/100km. Seeing all formats is useful because it lets you share results with people who think in different units and it makes it easier to compare to manufacturer specs and reviews.

For best results, measure across a longer trip rather than a short one. Short trips can look worse because engines burn more fuel while warming up, traffic has more impact, and a small fueling error becomes a big percentage error.

Odometer Mileage: Great for Long-Term Accuracy

Many drivers prefer the odometer method because it turns fuel economy into a routine habit: record the odometer at a fill-up, record it again at the next fill-up, and record how much fuel was added. If you consistently fill the tank to the same level (full-to-full), the “fuel added” is a good estimate of fuel used for that interval.

The Odometer Mileage tab follows that workflow. It calculates the distance traveled from the difference between your start and end odometer readings, then combines it with fuel added to calculate your mileage. Because it often covers more distance than a single “trip,” it tends to smooth out day-to-day driving variation.

If you choose Partial / estimate, treat the result as a rough indicator. Partial refuels are still useful for budgeting, but they can be noisy if the tank level at each stop varies.

Why MPG (US) and MPG (UK) Are Different

MPG looks simple until you discover that there are two different “gallons.” A UK (imperial) gallon is larger than a US gallon. If you use the same fuel and drive the same miles, dividing by a larger gallon yields a larger MPG number. That is why the same vehicle will show a higher MPG figure in UK sources than in US sources, even though real fuel use is identical.

This is also why the converter matters. If your vehicle spec is in MPG (UK) and you treat it like MPG (US), your planning will be off. The Unit Converter tab shows both values so you can use the correct one for your country and your fuel pricing.

L/100km vs km/L: Two Sides of the Same Story

km/L and L/100km are inverses in spirit. km/L says “how far can I go on one liter?” and L/100km says “how many liters do I need for 100 km?” Many people find L/100km more intuitive for budgeting because it scales directly: if your car uses 8 L/100km, then 200 km is roughly 16 liters under similar conditions.

km/L is often easier for quick comparisons when you already think in distance-per-fuel. Higher km/L means better mileage. If you prefer km/L, you can focus on that output while still using L/100km for cost per 100 km when you want a direct spending estimate.

Fuel Economy Is Not a Fixed Number

Two drivers can own the same vehicle and see different mileage. That does not automatically mean one person is calculating incorrectly. Fuel economy is sensitive to conditions:

  • Speed: fast highway cruising can use more fuel than steady moderate speeds.
  • Traffic and idling: stop-and-go driving wastes fuel even if distance is short.
  • Road grade and wind: hills and headwinds increase engine load.
  • Vehicle load: passengers, cargo, roof racks, and towing reduce efficiency.
  • Maintenance: tire pressure, alignment, and air filters can matter more than expected.
  • Weather: cold starts, air conditioning, and temperature swings affect consumption.

That is why mileage calculators are most useful when you treat them as a measurement tool rather than a promise. Over time, you build an accurate picture of what your vehicle typically delivers on the routes you actually drive.

Cost per Mile and Cost per Kilometer: Turning Mileage Into Money

Fuel economy becomes much more actionable when you translate it into cost per distance. If you know fuel price and you know mileage, you can estimate how much each kilometer or mile costs in fuel. This is useful for budgeting commutes, estimating delivery costs, comparing vehicles, or deciding whether a detour is worth it.

The Cost & Range tab lets you enter fuel economy in any common unit and fuel price per liter or per gallon. It then computes cost per km, cost per mile, and cost per 100 km. Cost per 100 km is a particularly intuitive figure because it aligns with L/100km consumption thinking.

Keep in mind that fuel cost is not the full cost of driving. Tires, maintenance, depreciation, tolls, and parking can be significant. But fuel cost per distance is still one of the fastest ways to turn “mileage” into a realistic day-to-day budget.

Estimating Range: How Far a Tank Can Take You

Range estimates are useful for planning long drives and refueling stops. The simplest idea is: range equals usable fuel multiplied by your fuel economy. In real life, most drivers keep a reserve because running the tank too low can be risky, especially in remote areas or heavy traffic.

The Cost & Range tab includes a reserve setting so you can estimate range more conservatively. You can set the reserve as a percentage of the tank or as a specific number of liters. The output gives a practical estimate that assumes your economy remains similar to your input and that the reserve remains unused.

How to Get the Most Accurate Mileage Number

If you want mileage that closely reflects reality, use a consistent method:

  • Use longer intervals such as a week of driving or a full-to-full tank cycle.
  • Keep units consistent and be careful with MPG (US) vs MPG (UK).
  • Reduce single-fill noise by averaging multiple intervals.
  • Record real fuel used rather than relying solely on dashboard estimates if accuracy matters.
  • Compare like with like by converting all results to one unit when comparing vehicles or routes.

Over time, you can build a dependable “typical economy” for city driving, highway driving, and mixed driving. That typical number is often more useful than the manufacturer rating when planning your own costs.

Choosing the Best Unit for Your Situation

There is no single “best” unit for everyone. Choose the one that fits how you think and how your fuel is priced:

  • If you buy fuel by the liter, L/100km and km/L often feel most natural.
  • If you buy fuel by the gallon, MPG (US) or MPG (UK) pairs well with pricing and everyday estimates.
  • If you compare across countries, use the Unit Converter and pick one common unit for all comparisons.

A practical approach is to keep one primary unit for your daily life and use conversions only when you need them. This calculator keeps all units available so you can switch perspectives without recalculating by hand.

Limitations and Best-Use Scenarios

This tool is designed for planning and measurement. It cannot automatically account for every real-world variable like traffic patterns, elevation changes, or vehicle-specific behaviors at different speeds. If you need a buffer for uncertainty, use your worst-case mileage for budgeting or add a reserve when planning range.

For the most useful results, treat the calculator as a repeatable method: calculate mileage the same way each time, compare results across similar conditions, and update your assumptions as you gather more data. That is how mileage becomes a reliable part of your planning rather than a guess.

FAQ

Gas Mileage Calculator – Frequently Asked Questions

Quick answers about MPG, km/L, L/100km, refueling accuracy, MPG US vs UK, and cost and range estimates.

Gas mileage is a measure of fuel economy: how far your vehicle travels per unit of fuel (like MPG or km/L) or how much fuel it uses to cover a set distance (like L/100km).

MPG (miles per gallon) is calculated as miles driven ÷ gallons used. If you track a trip distance and how many gallons you refueled, the calculator can estimate MPG.

They use different gallon sizes. A UK (imperial) gallon is larger than a US gallon, so MPG (UK) values are higher for the same real-world fuel consumption.

Lower is better. L/100km tells you how many liters are used to drive 100 km, so fewer liters means better fuel economy.

Fuel economy changes with speed, traffic, idling, hills, wind, temperature, tire pressure, load, and driving style. Short trips and stop-and-go driving often reduce mileage.

It can be very good across longer intervals, but single-tank calculations can vary because of pump shutoff differences, partial refills, and slope at the station. Using multiple fill-ups and longer distances improves accuracy.

Yes. Enter your fuel price and your fuel economy. The calculator estimates cost per mile and cost per km using consistent unit conversions.

Range is estimated as usable fuel in the tank multiplied by your fuel economy. You can enter tank capacity and choose a reserve to keep as a buffer.

This tool focuses on fuel consumption. Hybrids can still be estimated using fuel used and distance, but it does not model battery-only energy usage separately.

No. All calculations run in your browser. Nothing is saved or sent anywhere.

Results are estimates for planning. Real-world fuel economy varies with speed, traffic, idling, elevation, vehicle load, weather, maintenance, and refueling consistency.