Skip to main content

Calcu.fit

Gas Mileage Calculator – Calculate MPG, km/L & Fuel Economy

Want to know how efficiently your vehicle uses fuel? Use this free Gas Mileage Calculator to calculate fuel economy in miles per gallon (MPG), kilometers per liter (km/L), or liters per 100 kilometers (L/100 km) whether you drive a car, SUV, van, or truck, this calculator helps you understand how far your vehicle travels using a specific amount of fuel. You can use the results to monitor fuel efficiency, compare driving performance, and estimate how much fuel you need for a journey.

Gas Mileage Calculator

Trip Information

Fuel efficiency
– MPG
Your calculated gas mileage
US MPG–
UK MPG–
Kilometers per liter–
Liters per 100 km–
Distance traveled–
Fuel consumed–

Trip Fuel Cost

Total fuel cost–
Cost per mile–
Cost per kilometer–

Calculation Formula

MPG = Distance ÷ Fuel Used

Gas mileage measures how efficiently a vehicle uses fuel. Higher MPG or km/L values generally indicate better fuel efficiency, while a lower L/100 km value indicates better efficiency.

This calculator estimates fuel economy using the distance traveled and fuel consumed. Actual vehicle mileage can vary with driving conditions, traffic, speed, vehicle maintenance, load and weather. Fuel cost is an estimate based on the price and units you enter.

How to Use This Gas Mileage Calculator

Follow these steps to calculate your vehicle’s gas mileage:

  1. Enter the distance traveled by your vehicle.

  2. Enter the amount of fuel used during that distance.

  3. Select the distance and fuel units, if the calculator provides unit options.

  4. Choose your preferred fuel economy unit, such as MPG, km/L, or L/100 km.

  5. Click the Calculate button.

  6. Review your vehicle’s fuel economy result.

For a more accurate measurement, fill your fuel tank, record the odometer reading, drive normally, and refill the tank. Use the distance traveled and the amount of fuel added to calculate your actual fuel economy.

What You'll See in Your Results

Depending on the calculator’s available features, results may include:

  • Fuel Economy: The distance your vehicle travels using a specific quantity of fuel.

  • Miles Per Gallon (MPG): The number of miles traveled per gallon of fuel.

  • Kilometers Per Liter (km/L): The number of kilometers traveled per liter of fuel.

  • Liters Per 100 Kilometers (L/100 km): The number of liters required to travel 100 kilometers.

  • Fuel Used: The amount of fuel consumed during the measured trip.

  • Average Fuel Consumption: The estimated fuel efficiency over the entered distance.

  • Fuel Cost: The estimated cost of fuel, if fuel price and cost calculation options are available.

A higher MPG or km/L value generally means better fuel economy. A lower L/100 km value generally means better fuel efficiency.

What Is a Gas Mileage Calculator?

A Gas Mileage Calculator is an online tool that measures how efficiently a vehicle uses fuel. It calculates the distance traveled in relation to the amount of gasoline or other fuel consumed.

Gas mileage is commonly expressed in three units:

  • MPG: Miles per gallon.

  • km/L: Kilometers per liter.

  • L/100 km: Liters consumed to travel 100 kilometers.

For example, if a car travels 300 miles using 10 gallons of fuel, its gas mileage is:

300 ÷ 10 = 30 MPG.

This means the vehicle travels 30 miles for every gallon of fuel consumed.

A Gas Mileage Calculator is useful for:

  • Checking your vehicle’s fuel efficiency.

  • Comparing different vehicles.

  • Monitoring fuel consumption.

  • Estimating fuel requirements for road trips.

  • Understanding changes in driving performance.

  • Planning transportation expenses.

Gas Mileage Formula

The basic gas mileage formula compares the distance traveled with the amount of fuel used.

1. Miles Per Gallon (MPG) Formula

To calculate miles per gallon:

MPG = Distance in Miles ÷ Fuel Used in US Gallons

Example:

  • Distance traveled = 300 miles

  • Fuel used = 10 US gallons

MPG = 300 ÷ 10

MPG = 30

The vehicle gets 30 miles per gallon.

2. Kilometers Per Liter (km/L) Formula

To calculate kilometers per liter:

km/L = Distance in Kilometers ÷ Fuel Used in Liters

Example:

  • Distance traveled = 500 km

  • Fuel used = 25 liters

km/L = 500 ÷ 25

Fuel Economy = 20 km/L

The vehicle travels 20 kilometers per liter.

3. Liters Per 100 Kilometers (L/100 km) Formula

To calculate fuel consumption in liters per 100 kilometers:

L/100 km = (Fuel Used in Liters ÷ Distance in Kilometers) × 100

Example:

  • Distance traveled = 500 km

  • Fuel used = 25 liters

L/100 km = (25 ÷ 500) × 100

Fuel Consumption = 5 L/100 km

The vehicle uses 5 liters of fuel to travel 100 kilometers.

4. Convert km/L to L/100 km

To convert kilometers per liter into liters per 100 kilometers:

L/100 km = 100 ÷ km/L

Example:

100 ÷ 20 = 5 L/100 km.

5. Convert L/100 km to km/L

To convert liters per 100 kilometers into kilometers per liter:

km/L = 100 ÷ L/100 km

Example:

100 ÷ 5 = 20 km/L.

6. Convert MPG to km/L

When MPG uses US gallons:

km/L = MPG × 0.425144

Example:

30 MPG × 0.425144 = 12.75 km/L.

Important: US gallons and Imperial (UK) gallons are different sizes. Make sure you select the correct gallon type when calculating MPG.

Gas Mileage Calculator Examples

Here are practical examples showing how to calculate vehicle fuel economy.

Example 1: Calculate MPG for a Car

A car travels 360 miles using 12 US gallons of gasoline.

Measurements:

  • Distance: 360 miles

  • Fuel used: 12 US gallons

Calculation:

MPG = 360 ÷ 12

MPG = 30

The car achieves 30 miles per gallon.

Example 2: Calculate km/L

A vehicle travels 600 kilometers using 30 liters of fuel.

Measurements:

  • Distance: 600 km

  • Fuel used: 30 liters

Calculation:

km/L = 600 ÷ 30

Fuel Economy = 20 km/L

The vehicle travels 20 kilometers for every liter of fuel.

Example 3: Calculate L/100 km

A car travels 400 kilometers and consumes 32 liters of fuel.

Calculation:

L/100 km = (32 ÷ 400) × 100

Fuel Consumption = 8 L/100 km

The car consumes 8 liters of fuel for every 100 kilometers traveled.

Example 4: Calculate Fuel Economy for a Road Trip

A driver travels 750 kilometers and uses 50 liters of fuel during the journey.

Calculation:

km/L = 750 ÷ 50

Fuel Economy = 15 km/L

To convert this result into L/100 km:

100 ÷ 15 = 6.67 L/100 km.

The vehicle averages approximately 15 km/L or 6.67 L/100 km.

Example 5: Calculate Gas Mileage Using Odometer Readings

Suppose your odometer shows 25,000 km before a trip and 25,450 km after refueling. You add 30 liters of fuel to refill the tank.

Distance traveled:

25,450 − 25,000 = 450 km.

Fuel economy:

450 ÷ 30 = 15 km/L.

Result: 15 km/L

This refill method is useful for measuring real-world fuel economy.

Gas Mileage Conversion Chart

Use this reference chart to understand common fuel economy values.

MPG (US)km/LL/100 km
104.2523.52
156.3815.68
208.5011.76
2510.639.41
3012.757.84
3514.886.72
4017.015.88
4519.135.23
5021.264.70

These values use US gallons. Actual vehicle efficiency varies depending on the vehicle, driving conditions, and fuel type.

US MPG vs. UK MPG

Miles per gallon can mean different things depending on whether the calculation uses a US gallon or an Imperial gallon.

FeatureUS MPGUK / Imperial MPG
Gallon Size3.785 liters4.546 liters
Distance UnitMilesMiles
Fuel UnitUS gallonImperial gallon
Result for Same VehicleLower MPG numberHigher MPG number

One Imperial gallon is larger than one US gallon. Therefore, the same vehicle will have a higher numerical MPG value when measured using Imperial gallons.

Conversion:

Imperial MPG = US MPG × 1.20095

For example:

30 US MPG × 1.20095 = approximately 36.03 Imperial MPG.

Always check which gallon standard your calculator uses.

What Affects Gas Mileage?

Several factors can influence how much fuel your vehicle consumes.

1. Driving Speed

Driving at consistently high speeds can increase aerodynamic resistance and fuel consumption. Maintaining a steady, suitable speed may improve fuel efficiency.

2. Rapid Acceleration and Braking

Frequent hard acceleration and sudden braking can increase fuel consumption, especially in city traffic.

3. Vehicle Weight

Carrying unnecessary cargo adds weight and may reduce fuel economy.

4. Tire Pressure

Underinflated tires can increase rolling resistance. Check tire pressure regularly and follow the vehicle manufacturer’s recommended levels.

5. Engine Maintenance

Dirty air filters, worn spark plugs, incorrect engine oil, and other maintenance problems may affect fuel efficiency.

6. Traffic Conditions

Stop-and-go traffic, long periods of idling, and frequent short trips can reduce average gas mileage.

7. Air Conditioning

Using air conditioning can increase fuel consumption, although the effect depends on the vehicle and driving conditions.

8. Road and Weather Conditions

Steep hills, strong winds, cold weather, and rough roads can affect how efficiently a vehicle uses fuel.

How to Improve Your Vehicle's Gas Mileage

You can use several practical driving and maintenance habits to improve fuel economy:

  • Maintain a steady speed whenever road conditions allow.

  • Avoid unnecessary rapid acceleration and hard braking.

  • Keep tires inflated to the recommended pressure.

  • Remove unnecessary items from the vehicle.

  • Follow the manufacturer’s maintenance schedule.

  • Avoid leaving the engine idling for long periods when it is not necessary.

  • Plan routes to reduce unnecessary travel and heavy traffic.

  • Use the recommended engine oil and fuel type for your vehicle.

Fuel savings depend on your vehicle and driving conditions. No single driving habit guarantees a specific improvement.

How to Calculate Fuel Cost for a Trip

If you know your vehicle’s fuel consumption and the price of fuel, you can estimate the cost of a journey.

Fuel Required = Trip Distance ÷ Fuel Economy

For a vehicle measured in km/L:

Fuel Cost = (Trip Distance ÷ km/L) × Price Per Liter

Example:

  • Trip distance = 300 km

  • Fuel economy = 15 km/L

  • Fuel price = $1.20 per liter

Fuel required:

300 ÷ 15 = 20 liters.

Estimated fuel cost:

20 × $1.20 = $24.

Estimated Trip Fuel Cost = $24

This is an example calculation. Actual fuel costs depend on the fuel price, route, traffic, and vehicle performance.

Gas Mileage vs. Fuel Consumption

Gas mileage and fuel consumption describe vehicle efficiency in different ways.

FeatureGas MileageFuel Consumption
Common UnitsMPG, km/LL/100 km
What It MeasuresDistance per unit of fuelFuel used per distance
Better EfficiencyHigher valueLower value
Common UsageUS and some other marketsMany countries using metric units

For example, a vehicle that achieves 20 km/L uses less fuel per kilometer than one that achieves 10 km/L.

Remember that higher is better for MPG and km/L, while lower is better for L/100 km.

Why Is a Gas Mileage Calculator Important?

A Gas Mileage Calculator helps drivers understand vehicle efficiency and make better transportation decisions.

1. Monitor Vehicle Performance

Regular fuel economy calculations can help you notice changes in your vehicle’s efficiency.

2. Compare Different Vehicles

You can compare the fuel economy of different cars before making a purchasing decision.

3. Estimate Fuel Requirements

Fuel economy information helps estimate how much fuel may be needed for a planned journey.

4. Manage Driving Expenses

Understanding fuel consumption makes it easier to estimate transportation costs and plan a budget.

5. Identify Possible Efficiency Changes

A sudden change in fuel economy may encourage you to check tire pressure, maintenance, driving habits, or other possible causes.

Gas Mileage Calculator vs. Fuel Cost Calculator

These calculators serve related but different purposes.

FeatureGas Mileage CalculatorFuel Cost Calculator
Main PurposeMeasures fuel efficiencyEstimates fuel expenses
Main InputsDistance and fuel usedDistance, efficiency, and fuel price
Typical ResultMPG, km/L, or L/100 kmEstimated fuel cost
Best ForChecking vehicle performancePlanning trip expenses

Use a Gas Mileage Calculator to measure how efficiently your vehicle uses fuel. Use a Fuel Cost Calculator to estimate how much a journey may cost.

Frequently Asked Questions (FAQ)

What is a Gas Mileage Calculator?

A Gas Mileage Calculator is an online tool that calculates vehicle fuel efficiency by comparing the distance traveled with the amount of fuel consumed.

 Divide the distance traveled by the amount of fuel used. For MPG, divide miles by US gallons. For km/L, divide kilometers by liters.

 MPG stands for miles per gallon. It measures how many miles a vehicle can travel using one gallon of fuel.

 A good gas mileage depends on the vehicle type, engine, fuel type, size, and driving conditions. Smaller and more fuel-efficient vehicles generally achieve higher MPG or km/L values than larger vehicles.

Yes. A higher MPG value generally means the vehicle travels farther using the same amount of fuel.

Yes. A lower L/100 km value means the vehicle consumes less fuel to travel 100 kilometers.

 km/L measures how many kilometers a vehicle travels using one liter of fuel. L/100 km measures how many liters it consumes to travel 100 kilometers.

 Divide 100 by the km/L value. For example, 20 km/L equals 5 L/100 km.

Record your odometer reading after filling the tank. Drive normally, refill the tank, and record the distance traveled and the liters required to refill it. Divide the distance by the fuel added to calculate km/L.

No. US gallons are smaller than Imperial gallons. Therefore, the same vehicle has a higher numerical MPG value when measured using UK Imperial gallons.

Yes. The basic distance-divided-by-fuel-used calculation works for gasoline, diesel, and other fuels when the units are entered consistently.

Yes. You can use this Gas Mileage Calculator for free without registration or a subscription.

Disclaimer

This Gas Mileage Calculator is provided for general informational and estimation purposes. Results are based on the distance and fuel quantity entered by the user actual fuel economy may vary due to driving conditions, vehicle maintenance, road type, weather, fuel quality, vehicle load, and measurement methods fuel economy figures should not be treated as guaranteed vehicle performance or official manufacturer ratings. Always refer to your vehicle manufacturer’s documentation for specifications and maintenance guidance.