Gas Mileage Calculator

Calculate gas mileage, fuel efficiency, and miles per gallon for vehicles.

422 Views
Add as a preferred source on Google

About this Gas Mileage Calculator

Fuel economy can be expressed in several ways, and the direction of “better” depends on the unit. The Gas Mileage Calculator in this script calculates fuel efficiency from actual distance travelled and fuel used, and it can also express consumption as litres per 100 kilometres and estimate trip fuel cost.

Its source formulas use Fuel Efficiency = Distance ÷ Fuel Used and Fuel Consumption = (Fuel Used ÷ Distance) × 100.

The reference table also connects km/L with US MPG, UK MPG, and L/100 km, noting that L/100 km works inversely: a lower value is better, while a higher km/L or MPG value is better.

This makes the page useful for checking real tank-to-tank mileage, comparing vehicles advertised in different unit systems, and seeing how efficiency translates into annual fuel use. The most meaningful input is usually measured fuel consumption over a representative distance rather than a single short trip.

What Is a Gas Mileage Calculator?

A Gas Mileage Calculator measures how efficiently a vehicle uses fuel. Enter the distance driven and the fuel consumed, and the script returns distance per unit of fuel, such as km/L.

It can also invert the relationship into L/100 km, which shows how many litres are required to cover 100 kilometres. If a fuel price is entered, Trip Cost = Fuel Used × Fuel Price gives the monetary cost of that measured journey.

Because the calculator can display both efficiency and consumption, it helps prevent a common comparison mistake: 20 km/L and 5 L/100 km describe the same relationship from opposite directions, so larger is better in the first format and smaller is better in the second.

Reading Your Results

Your result shows your calculated MPG (or L/100km) along with an estimated fuel cost if you entered a price per gallon. Track this figure over time to notice trends, since a sudden drop can indicate maintenance issues like underinflated tires or a failing engine component.

How to use this calculator

1Enter the distance travelled.
2Enter the amount of fuel used.
3Enter the fuel price per litre or gallon if you want the trip cost.
4Select the measurement unit.
5Click "Calculate."

The calculator determines your fuel efficiency, fuel consumption, and total trip fuel cost.

1. Fuel Efficiency (km/L)

Fuel Efficiency (km/L) = Distance Traveled (km) ÷ Fuel Used (L)

2. Fuel Consumption (L/100 km) (Equivalent Formula)

Fuel Consumption (L/100 km) = (Fuel Used ÷ Distance Traveled) × 100

3. Trip Fuel Cost

Trip Cost = Fuel Used × Fuel Price per Liter

4. If Both is Selected

Calculate Fuel Efficiency

Fuel Efficiency = Distance ÷ Fuel Used

Calculate Trip Cost

Example 1

Distance = 500 km
Fuel Used = 40 L
Fuel Efficiency = 500 ÷ 40
Fuel Efficiency = 12.5 km/L

Example 2

Fuel Used = 40 L
Distance = 500 km
Fuel Consumption = (40 ÷ 500) × 100
Fuel Consumption = 8.0 L/100 km

Example 3

Fuel Used = 40 L
Fuel Price = ₹100/L
Trip Cost = 40 × 100
Trip Cost = ₹4,000

Example 4

Distance = 500 km
Fuel Used = 40 L
Fuel Price = ₹100/L
Fuel Efficiency = 500 ÷ 40 = 12.5 km/L
Trip Cost = 40 × 100 = ₹4,000
Monthly Fuel Cost by Efficiency Travelling 1,000 km a month with fuel at ₹100 per litre ₹0₹2.5K₹5K₹7.5K₹10K₹12.5K ₹12,5008 km/L₹10,00010 km/L₹8,33312 km/L₹6,66715 km/L₹5,55618 km/L₹4,54522 km/L₹4,00025 km/L Vehicle Fuel Efficiency Monthly Fuel Cost (₹) Savings shrink as efficiency rises. Going from 8 to 12 km/L saves more than 18 to 25 km/L.

Fuel Economy Unit Conversion

km/LMPG (US)MPG (UK)L/100 km
818.822.612.5
1023.528.210.0
1228.233.98.3
1535.342.46.7
1842.350.85.6
2047.056.55.0
2558.870.64.0

L/100 km is inverse: lower is better, unlike km/L and MPG where higher is better.

Fuel Economy Formula Reference

CalculationFormula
Mileage (km/L)Distance Travelled ÷ Fuel Used
MPGMiles Travelled ÷ Gallons Used
L/100 km(Fuel Used ÷ Distance) × 100
km/L to MPG (US)km/L × 2.352
km/L to L/100 km100 ÷ km/L
Fuel NeededDistance ÷ Mileage

Fill the tank fully, reset the trip meter, then refill to measure real mileage accurately.

Annual Fuel Cost Comparison (15,000 km/year at ₹100/L)

Vehicle MileageAnnual Fuel UsedAnnual Cost
10 km/L1,500 L₹1,50,000
15 km/L1,000 L₹1,00,000
18 km/L833 L₹83,300
22 km/L682 L₹68,200
25 km/L600 L₹60,000

Moving from 10 to 20 km/L saves more fuel than moving from 20 to 40 km/L.

Factors Affecting Your Gas Mileage Result

Distance and fuel used are the direct measured inputs, so any error in either one changes the reported economy. Short distances can be less representative because warm-up, traffic, idling, and one unusual trip can dominate the result; a longer tank-to-tank measurement usually gives a more stable average.

Unit selection matters because US gallons and UK gallons are not the same size, and L/100 km is an inverse consumption measure rather than a distance-per-fuel measure. The source reference recommends filling the tank, resetting the trip meter, and refilling to measure real mileage accurately.

Vehicle load, speed, road conditions, tyre pressure, driving style, air-conditioning use, and maintenance can all move actual efficiency from one tank to the next. Fuel price does not affect the mileage number itself; it only affects the trip-cost output.

When comparing vehicles, use the same unit and similar driving conditions so the difference reflects efficiency rather than measurement method.

Benefits of Using the Gas Mileage Calculator

  • Calculate real fuel economy from distance and fuel used instead of relying only on the manufacturer’s claimed mileage.
  • View efficiency as km/L, MPG, or L/100 km and avoid misreading an inverse consumption unit as though higher were better.
  • Estimate trip fuel cost from the same measured fuel quantity by adding the price per litre or gallon.
  • Compare repeated fill-ups to spot whether real-world efficiency is improving, declining, or simply varying with driving conditions.
  • Translate fuel economy between common unit systems so vehicles from different markets can be compared on the same basis.

Frequently asked questions

How do I calculate km/L?

The script divides distance travelled by fuel used. If a vehicle travels 500 km on 40 L, the result is 500 ÷ 40 = 12.5 km/L.

How is L/100 km different from km/L?

L/100 km measures fuel consumed for a fixed distance, so lower is better. km/L measures distance travelled on one litre, so higher is better. The source uses L/100 km = (Fuel Used ÷ Distance) × 100.

Why can US MPG and UK MPG differ for the same vehicle?

The gallon sizes are different, so the numerical MPG values are not directly interchangeable. Use the unit system identified by the calculator or convert both vehicles to a common measure before comparing them.

What is the best way to measure my actual mileage?

The source reference suggests filling the tank fully, resetting the trip meter, driving normally, then refilling. Divide the recorded distance by the fuel required to refill the tank for a practical tank-to-tank estimate.

Does fuel price change my gas mileage?

No. Fuel price changes the trip-cost result, not the physical efficiency. Mileage is based on distance and fuel used; the cost is calculated separately by multiplying fuel used by the price per unit.

Final Words

The point of the Gas Mileage Calculator is not just to return a number, but to help you calculate real fuel economy from distance and fuel used instead of relying only on the manufacturer’s claimed mileage.

One important consideration is that distance and fuel used are the direct measured inputs, so any error in either one changes the reported economy.

If the situation changes, use the Gas Mileage Calculator again and view efficiency as km/L, MPG, or L/100 km and avoid misreading an inverse consumption unit as though higher were better.

Disclaimer

This calculator provides estimates for general informational and educational purposes only and should not be treated as financial, medical, legal, or professional advice. Results depend entirely on the accuracy of the figures you enter.

Always verify important decisions with a qualified professional, official documentation, or your financial institution before acting on any result shown here.

Related Calculators

Age Calculator

Precise age calculator that determines your exact age in years, months, days, hours, and minutes from your birth date. Calculate age differences between dates, upcoming birthdays, and various time-related calculations with detailed breakdowns and multiple format options.

12.0K Views
Use Calculator
Hours Calculator

Calculate work hours, overtime, time sheets, hourly wages, and time tracking for payroll and project management purposes.

6.5K Views
Use Calculator
Time Duration Calculator

Calculate duration between two times or dates with precise time measurements.

846 Views
Use Calculator
Love Calculator

Calculate love compatibility percentage based on names for entertainment purposes.

692 Views
Use Calculator
Height Calculator

Calculate height conversions between different units and predict adult height based on current age.

651 Views
Use Calculator
Dice Roller

Roll virtual dice with customizable sides and quantities for games and probability.

607 Views
Use Calculator
Shoe Size Conversion

Convert shoe sizes between different international sizing systems and standards.

592 Views
Use Calculator
Heat Index Calculator

Calculate heat index and apparent temperature based on air temperature and humidity levels.

517 Views
Use Calculator
GPA Calculator

Calculate Grade Point Average (GPA) for academic performance tracking with support for different grading scales and credit systems.

501 Views
Use Calculator

All Categories