Home › Blog › Gas Mileage Calculator Guide

❤ Want to see our calculators more often in Google? Add us as a trusted source:

Gas Mileage Calculator: Check Fuel Efficiency and Trip Cost

Calculator200 Editorial Team — published 15 September 2026

A gas mileage calculator turns a full tank and an odometer reading into a number you can actually use. It divides the distance you drove by the fuel you consumed and returns your car's real-world efficiency — kilometres per litre, miles per gallon, or litres per 100 kilometres, depending on where you live. Beyond that single figure, it estimates trip fuel costs, compares petrol against diesel or CNG, and tells you what each kilometre is costing you. Whether you are planning a road trip, budgeting monthly fuel expenses, or checking whether your car is drinking more than it should, a gas mileage calculator removes the guesswork from fuel maths.

What a Gas Mileage Calculator Actually Measures

At its simplest, a gas mileage calculator answers one question: how far did you go on how much fuel? The formula is distance divided by fuel consumed.

In India, that means kilometres driven divided by litres used, giving kilometres per litre (kmpl). In the United States, it is miles driven divided by gallons used, giving miles per gallon (MPG). In the United Kingdom and much of Europe, the convention flips: litres per 100 kilometres (L/100km), where a lower number means better efficiency.

These are not interchangeable without conversion. A car returning 15 kmpl is not the same as a car returning 15 MPG. The units matter, and the calculator you use should match the system you think in. A well-built gas mileage calculator handles the unit conversions internally so you can enter distances in kilometres or miles and fuel in litres or gallons without manual conversion.

The complexity is not in the division itself. It is in gathering accurate inputs. Distance comes from your odometer, but fuel consumed is trickier. The most reliable method is the full-to-full test: fill the tank until the pump clicks off, reset the trip meter or note the odometer, drive normally, then refill to the same point and note the fuel added. That fuel added is your consumption for the distance driven.

The Manual Calculation Formula

You can calculate gas mileage by hand in three steps. It works for any vehicle and any unit system.

  1. Distance. Subtract the starting odometer reading from the ending odometer reading. If you used a trip meter, simply read the distance driven.
  2. Fuel. Record the exact litres or gallons added at the second fill-up. This is the fuel consumed for the distance in step one.
  3. Mileage. Divide distance by fuel. In India, km ÷ litres = kmpl. In the US, miles ÷ gallons = MPG. For L/100km, use (litres ÷ km) × 100.

That is the entire calculation. The difficulty lies in consistency. A single fill-up gives you a single data point. Fuel pump cut-off points vary, temperature affects fuel density, and one tank does not represent your driving mix. For a reliable figure, average across three to five fill-ups. The trip fuel cost calculator on Calculator200 does this averaging automatically if you log multiple entries.

Always fill to the same point each time — preferably the automatic pump cut-off. Topping off after the click introduces variance that skews your mileage figure by a litre or more.

How to Calculate Mileage in Excel and Google Sheets

Spreadsheet users can track fuel efficiency across many fill-ups without manual arithmetic. Two formulas cover most needs.

For kilometres per litre in a simple log:

=(B3-B2)/(D3)

Where B3 is the current odometer reading, B2 is the previous odometer reading, and D3 is the litres added at the current fill-up. Copy the formula down for each row.

For litres per 100 kilometres, the conventional European and Canadian measure:

=(D3/(B3-B2))*100

These formulas do not account for partial fill-ups or missed entries. If you skip a fill-up, the distance accumulates but the fuel for that distance is not recorded in a single row, and the calculation breaks. The full-to-full method is not optional — it is the only way spreadsheet tracking produces meaningful numbers.

For trip cost estimation, add a column for fuel price and multiply:

=D3*E3

Where E3 is the price per litre. This gives the cost of that fill-up. Dividing by the distance in column B gives cost per kilometre, which is the figure most useful for budgeting.

MPG, kmpl, and L/100km: Converting Between Units

Mileage figures from different countries do not compare directly. A US MPG figure and a UK MPG figure use different gallons. A kmpl figure and an MPG figure measure different things in different units. The table below provides the conversion factors.

FromToMultiply byExample
MPG (US)MPG (UK)1.20130 US MPG = 36 UK MPG
MPG (UK)MPG (US)0.83336 UK MPG = 30 US MPG
MPG (US)L/100km235.21 ÷ MPG30 US MPG = 7.84 L/100km
kmplL/100km100 ÷ kmpl15 kmpl = 6.67 L/100km
kmplMPG (US)2.35215 kmpl = 35.28 US MPG

The US gallon is 3.785 litres. The UK imperial gallon is 4.546 litres. That difference — roughly 20 per cent — explains why a car that returns 40 MPG in Britain shows only around 33 MPG when the same efficiency is expressed in US gallons. Neither figure is wrong; they simply use different gallons.

Why Real-World Mileage Differs from Manufacturer Claims

Every new car sold comes with a claimed mileage figure. In India, that is the ARAI-certified figure. In the US, it is the EPA estimate. In Europe, it is the WLTP or NEDC rating. All of them come from controlled laboratory tests, and none of them reflect the road you actually drive on.

The gap between claimed and real mileage is well documented. A car rated at 20 kmpl under test conditions may return 14 to 16 kmpl in mixed city driving. Several factors account for the difference:

This is precisely why a gas mileage calculator matters. It gives you your car's number, not the laboratory's number. That figure is what you budget with and what you compare against when considering a new vehicle.

Fuel Cost per Kilometre: The Number That Matters for Budgeting

Mileage in kmpl or MPG is useful for comparing vehicles. For budgeting, cost per kilometre is more direct.

The formula is straightforward:

Cost per km = Fuel price per litre ÷ Mileage in kmpl

If petrol costs ₹100 per litre and your car returns 15 kmpl, your fuel cost is approximately ₹6.67 per kilometre. At 1,000 kilometres per month, that is ₹6,670 in fuel alone.

The same logic applies in other currencies. If fuel costs $3.50 per gallon and your car returns 30 MPG, cost per mile is $3.50 ÷ 30 = $0.1167, or roughly 12 cents per mile.

This calculation is the foundation of trip budgeting. A 500-kilometre road trip in a car returning 15 kmpl at ₹100 per litre will cost ₹3,333 in fuel. The fuel cost calculator handles this arithmetic and extends it to daily, monthly, and annual running costs.

Fuel prices vary by city, by state, and by fuel type. Petrol in Delhi, Mumbai, and Bengaluru are not the same. Diesel and CNG are priced differently again. Always use the price at the pump you actually use, not a national average.

Petrol vs Diesel vs CNG: Comparing Running Costs

In India and several other markets, the choice between petrol, diesel, and CNG is a running-cost decision as much as a performance one. Each fuel has different energy density, different pricing, and different efficiency characteristics.

CNG is measured in kilometres per kilogram rather than kilometres per litre. A CNG car may return 25 to 30 km/kg, and because CNG is typically cheaper per unit than petrol, the cost per kilometre is significantly lower. A CNG vehicle in Jaipur, for instance, may cost around ₹3.41 per kilometre to run, against ₹6.32 for petrol and ₹4.38 for diesel, based on typical 2026 city prices.

Diesel engines are more thermally efficient than petrol engines. A diesel car often returns 20 to 30 per cent better mileage than its petrol equivalent, though diesel fuel itself may cost more or less per litre depending on government pricing. The break-even point depends on how many kilometres you drive and the price differential between the two fuels.

The table below summarises the typical trade-offs:

FuelEfficiency measureTypical cost per km (India, indicative)Best suited for
Petrolkmpl₹6–7Low annual mileage, city driving
Dieselkmpl₹4–5High annual mileage, highway commuting
CNGkm/kg₹3–4City taxis, fleet vehicles, high daily mileage

The comparison is not absolute. CNG requires a larger tank and reduces boot space. Diesel vehicles cost more upfront and have higher maintenance in some cases. The calculator gives you the running-cost number; the buying decision weighs that against upfront cost, convenience, and driving needs.

Global Fuel Efficiency Standards: What They Mean for Drivers

Fuel efficiency is not just a personal budgeting concern. Governments set standards that shape what vehicles are available and how efficient they must be.

In the United States, the Corporate Average Fuel Economy (CAFE) standards set minimum average fuel economy for each manufacturer's fleet. The 2026 model year rating scale runs from a score of 1 for vehicles below 14 MPG to a score of 10 for those achieving 121 MPG or higher under EPA testing. The standards have been subject to regulatory shifts, but the direction of travel across most major markets is toward greater efficiency.

India's CAFE norms are tightening. The proposed CAFE-III framework targets 3.996 litres per 100 kilometres (94.76 gCO₂/km) by 2027–28, moving toward 3.327 litres per 100 kilometres (78.90 gCO₂/km) by 2031–32. For consumers, these standards translate to more efficient vehicles entering the market over time.

Canada uses the EnerGuide fuel consumption ratings, expressed in L/100km and MPG. The 2026 ratings show small SUVs ranging from 7.4 to 14.4 L/100km combined, with the most efficient models — hybrids like the Kia Niro FE and Toyota Corolla Hybrid — achieving around 4.4 to 4.7 L/100km.

These standards matter because they set the baseline. Your actual mileage will depend on how you drive, but the vehicle you start with is shaped by regulation.

How to Improve Your Car's Gas Mileage

Mileage is not fixed. Several habits and maintenance practices can improve it measurably over time.

These measures compound. A driver who improves tyre pressure, removes a roof rack that is not in use, and adopts smoother acceleration can realistically gain 10 to 15 per cent in real-world mileage.

Frequently Asked Questions

What is a gas mileage calculator?

A gas mileage calculator is a tool that divides the distance you drove by the fuel you consumed to give you a real-world efficiency figure. Enter your trip distance and the litres or gallons used, and it returns kilometres per litre (kmpl) or miles per gallon (MPG). More advanced versions also use current fuel prices to estimate trip cost and cost per kilometre.

How do I calculate gas mileage manually?

Fill your tank to full, note the odometer reading, drive normally, then refill to full and note the new odometer reading and the litres or gallons added. Subtract the first odometer reading from the second to get distance driven. Divide distance by fuel added. In India, distance in kilometres divided by litres gives kmpl. In the US, miles divided by gallons gives MPG.

Why is my car's real mileage lower than the manufacturer's claim?

Manufacturer figures come from controlled laboratory tests. Real-world mileage drops because of city traffic, idling, air conditioning, tyre pressure, load, aggressive acceleration, and short trips where the engine never reaches optimal temperature. A car rated at 20 kmpl under test conditions may deliver 14 to 16 kmpl in mixed city driving.

How do I calculate fuel cost per kilometre?

Divide the fuel price per litre by your car's mileage in kmpl. If petrol costs ₹100 per litre and your car returns 15 kmpl, your fuel cost is roughly ₹6.67 per kilometre. The same logic works in other currencies and units: price per gallon divided by MPG gives cost per mile.

Does CNG give better mileage than petrol?

CNG is measured in kilometres per kilogram, not per litre, because it is a gas. A CNG car may return 25 to 30 km per kilogram, and since CNG is cheaper per unit than petrol in most Indian cities, the cost per kilometre is significantly lower. The trade-off is lower power output and fewer refuelling stations in some regions.

What is the difference between MPG US and MPG UK?

A US gallon is 3.785 litres. A UK imperial gallon is 4.546 litres. The same car will show a higher MPG figure in UK measurement because an imperial gallon contains more fuel. If you see a UK MPG figure and want to convert it to US MPG, multiply by 0.833. To convert US MPG to UK MPG, multiply by 1.201.

How can I improve my car's mileage?

Keep tyres inflated to the recommended pressure, remove unnecessary weight, service the engine on schedule, avoid aggressive acceleration and hard braking, use the recommended engine oil, and minimise idling. Maintaining steady speeds on highways and using cruise control where safe also helps. Small changes compound over thousands of kilometres.

Can a gas mileage calculator help me budget for a road trip?

Yes. Enter your total trip distance, your car's real-world mileage, and the current fuel price along your route. The calculator returns the total fuel cost before you leave. For multi-leg trips, calculate each leg separately or use a trip cost calculator that accounts for varying fuel prices across states or provinces.

In the end, a gas mileage calculator is a tool for awareness. It tells you what your car is actually doing, not what the brochure promised. It converts a full tank and a distance into a number you can budget with, compare against, and improve. Whether you are checking whether your ageing sedan is still delivering acceptable efficiency, deciding between petrol and CNG for your next vehicle, or planning the fuel budget for a long drive, the calculator gives you the facts. Use the gas mileage calculator on Calculator200, log a few fill-ups, and let your own driving data replace the laboratory estimate. The number you get will be less flattering than the sticker and far more useful.