Financial Calculators

Gas Mileage Calculator

Calculate vehicle fuel economy (Miles Per Gallon / L per 100km) and cost per mile driven.

Fuel Economy & Costs

Calculate Fuel Economy, Trip Gas Costs & MPG

Odometer distance between fill-ups

Distance unit

Gallons or liters pumped

Fuel volume unit

$

Price per gallon or liter

Fuel Economy (US MPG)
Calculating...

Updating results...

💡
Instant Results:Adjust any number on the left. The result calculates automatically in real time without refreshing the page.
fxGas Mileage Calculator Methodology
▼
Result = Formula(Trip, Distance, Fuel, Fuel, Fuel)
Instant real-time calculation verified for gas mileage calculator. Changes update automatically as you type.
Comprehensive Reference Guide970 words
Gas Mileage Calculator: Fuel Economy, MPG & Trip Expenses

Calculate vehicle fuel efficiency in miles per gallon (MPG) and liters per 100 km, trip gas expenses, and annual driving costs.

How to use the gas mileage calculator

To use the gas mileage calculator, enter the total distance driven between fuel fill-ups and specify your distance unit (Miles or Kilometers).

Enter the total amount of fuel consumed to refill your tank back to full, selecting your volume unit (US Gallons, Imperial Gallons, or Liters).

Optionally enter the current gas price per gallon or per liter. The calculator immediately computes your vehicle fuel economy in US MPG, Imperial MPG, and Liters per 100 km (L/100km), along with your total trip cost and cost per mile or kilometer driven.

You can also input your annual driving mileage to project total yearly fuel expenses and evaluate potential savings from upgrading to a higher-efficiency vehicle.

Monitoring vehicle fuel economy across consecutive fill-ups is one of the most reliable diagnostic indicators of vehicle mechanical health. A sudden, unexplained 10% to 15% drop in MPG often reveals dragging brake calipers, failing oxygen sensors, clogged air filters, or under-inflated tires before a dashboard check engine light illuminates.

Method and assumptions

Fuel economy calculations apply standard volumetric distance formulas: Miles Per Gallon (MPG) = Distance in Miles / Fuel in Gallons. For metric evaluations, fuel consumption is expressed as Liters per 100 Kilometers: L/100km = (Fuel in Liters / Distance in Kilometers) × 100.

The relationship between US MPG and L/100km is inverse: higher MPG values indicate greater fuel efficiency, whereas lower L/100km values indicate lower fuel consumption. The exact conversion factor is: L/100km = 235.214583 / US MPG.

The calculation assumes accurate odometer readings and consistent tank-to-tank fill procedures (filling the fuel tank until the pump automatic nozzle shutoff clicks off).

Trip cost is computed as: Total Cost = Fuel Volume × Price Per Unit. Cost per distance unit equals: Total Cost / Distance.

Vehicle fuel economy is governed by external physical forces: aerodynamic drag, tire rolling resistance, mechanical friction, and thermal engine efficiency. Aerodynamic resistance increases with the square of vehicle speed, meaning driving at 75 mph consumes roughly 20% to 25% more fuel per mile than cruising at 55 mph.

Vehicle maintenance plays a decisive role in sustaining peak fuel economy. Properly aligned wheels reduce rolling drag, while utilizing the engine oil viscosity recommended by the vehicle manufacturer reduces internal parasitic friction, preserving up to 1 to 2 MPG over the life of the vehicle.

Accuracy & Safety Notice:Fuel economy varies significantly with driving style, cargo payload, tire inflation pressure, terrain elevation, and climate control usage.

Meaning of the inputs

Trip Distance: The distance recorded by your vehicle trip odometer between fuel fill-ups (Miles or Kilometers).

Fuel Consumed: The volume of fuel required to refill the tank back to full capacity (US Gallons, Imperial Gallons, or Liters).

Fuel Price: The retail pump price per gallon or liter charged at the filling station.

Trip Fuel Cost ($): The total expenditure required to complete the specified driving distance at current local pump prices, enabling accurate road trip budgeting.

Worked example

Suppose you reset your trip odometer to zero when filling your tank. On your next fill-up, your odometer reads 345 miles, and the gas pump dispenses 11.5 US gallons of gasoline at a price of $3.60 per gallon.

First, calculate your fuel economy: MPG = 345 miles / 11.5 gallons = 30.0 US MPG.

Next, convert this to metric fuel consumption: L/100km = 235.214 / 30.0 = 7.84 Liters per 100 km.

Calculate total trip cost: 11.5 gallons × $3.60 = $41.40. Your operating fuel cost per mile is $41.40 / 345 = $0.12 per mile (12 cents/mile).

Consider a commuter who drives 15,000 miles per year with gas priced at $3.80 per gallon. In a vehicle averaging 20 MPG, the driver consumes 750 gallons annually, costing $2,850. Upgrading to a vehicle that achieves 35 MPG consumes only 428.5 gallons, costing $1,628. The 15 MPG improvement saves $1,222 every year in operating fuel expenses alone.

How can I convert MPG to litres per 100 km?

You can convert US miles per gallon (MPG) to litres per 100 kilometres (L/100km) by dividing the international constant 235.214 by the US MPG figure, because higher MPG numbers represent greater fuel efficiency while lower L/100km numbers represent lower fuel consumption.

To convert in reverse from Litres per 100 km back to US MPG, divide 235.214 by your L/100km figure: US MPG = 235.214 / L/100km.

If you are converting from UK Imperial MPG (which uses the larger 4.546-liter imperial gallon rather than the 3.785-liter US gallon), use the constant 282.481: L/100km = 282.481 / Imperial MPG.

Understanding this inverse relationship is crucial when comparing international vehicle models, as small numerical drops in L/100km at the low end deliver massive actual fuel savings.

When comparing vehicles internationally, be cautious of British and Australian references to 'MPG'. The UK Imperial gallon is 20% larger than the US gallon (4.546 liters vs 3.785 liters). Consequently, a car advertised in the UK as achieving 40 MPG achieves only 33.3 US MPG in North America. Our calculator provides explicit conversions across all three standards to eliminate confusion.

Key Insight:Remember: In North America, higher MPG is better; in Europe and international markets, lower L/100km is better because it means your engine burns less fuel to travel 100 km.

Related calculators

Optimize your vehicle and travel expenses with related tools:

Log business travel and IRS standard deduction tax credits using the Mileage Calculator.

Estimate total fuel budgets for road trips with our Fuel Cost Calculator.

Calculate vehicle financing installment payments with the Auto Loan Calculator.

Compare monthly leasing vs buying costs using our Auto Lease Calculator.

Frequently Asked Questions

How can I convert MPG to litres per 100 km?▼
You can convert US miles per gallon (MPG) to litres per 100 kilometres (L/100km) by dividing the international constant 235.214 by the US MPG figure, because higher MPG numbers represent greater fuel efficiency while lower L/100km numbers represent lower fuel consumption.
How can I accurately calculate real-world gas mileage?▼
Fill your fuel tank completely and reset your trip odometer to zero. Drive normally until your next fill-up. Refill the tank completely and record the gallons pumped. Divide the trip odometer miles by the gallons pumped to find your exact MPG.
What is the difference between US MPG and Imperial MPG?▼
The UK Imperial gallon is larger than the US gallon (4.546 liters vs 3.785 liters). Because the gallon volume is 20% greater, an Imperial MPG figure is approximately 20% higher than a US MPG figure for the exact same vehicle.
How much does driving speed affect gas mileage?▼
Aerodynamic drag increases exponentially with speed. Driving at 75 mph consumes roughly 20% more fuel than driving at 55 mph, while aggressive acceleration and braking can reduce highway fuel economy by up to 33%.

Related Financial Tools

Explore more calculators in this category

View all in Financial
Popular

Mortgage Calculator

Calculate your monthly mortgage payments with PMI, property taxes, insurance, and full amortization schedule.

Launch calculatorFree
Popular

Compound Interest Calculator

See how your savings and investments grow over time with compound interest and recurring monthly deposits.

Launch calculatorFree
Popular

Auto Loan Calculator

Estimate your monthly car payment, total interest, and impact of down payment and vehicle trade-in.

Launch calculatorFree