Calculators.Life Calculator
Engineering

MPG Calculator

Input Parameters

Scenarios
The total distance driven during the trip.
Volume of fuel consumed over the distance.
$
Optional: price per gallon or liter of fuel.

Computed Results

Fuel Economy (MPG US)
1
Fuel Economy (MPG Imperial)1.201
Kilometers per Liter (km/L)0.425
Liters per 100km (L/100km)235.215
Total Trip Fuel Cost$0.00
Fuel Cost per Mile$0.00

The MPG calculator determines your vehicle's fuel efficiency by comparing the distance traveled to the volume of fuel consumed. It converts between US gallons, Imperial gallons, and liters, providing a clear breakdown of your fuel economy and estimated trip costs.

How to Use the MPG Calculator

Follow these steps to calculate your fuel economy and trip costs:

  1. Enter Distance Traveled: Input the total distance of your trip and select the unit (miles or kilometers).
  2. Enter Fuel Used: Input the volume of fuel consumed and select the unit (US gallons, Imperial gallons, or liters).
  3. Add Fuel Price (Optional): Enter the price per unit of fuel to calculate your total trip cost and cost per mile.
  4. Review Results: The calculator will display your fuel economy across multiple global standards, alongside your total fuel expenses.

Fuel Economy Formulas

Fuel economy is calculated by dividing the distance traveled by the volume of fuel used. Depending on your region, this is expressed in different units.

MPG = Distance (miles) ÷ Fuel (gallons)
Kilometers per Liter (km/L) = Distance (km) ÷ Fuel (liters)
Liters per 100km = (Fuel (liters) ÷ Distance (km)) × 100

If you provide the fuel price, the calculator also determines the financial impact of your trip:

Total Trip Cost = Fuel Used × Price per Unit
Cost per Mile = Total Trip Cost ÷ Distance (miles)

Inputs and Outputs

FieldTypeDescription
Distance TraveledInputThe total distance driven during the trip (miles or kilometers).
Fuel UsedInputVolume of fuel consumed over the distance (US gallons, Imperial gallons, or liters).
Fuel PriceInputOptional price per gallon or liter of fuel to estimate costs.
Fuel Economy (MPG US)OutputMiles traveled per US gallon of fuel.
Fuel Economy (MPG Imperial)OutputMiles traveled per Imperial gallon of fuel.
Kilometers per Liter (km/L)OutputKilometers traveled per liter of fuel.
Liters per 100km (L/100km)OutputLiters of fuel required to travel 100 kilometers.
Total Trip Fuel CostOutputThe total estimated cost of fuel for the trip.
Fuel Cost per MileOutputThe estimated fuel cost for every mile driven.

Verified Calculation Scenarios

Here are examples of how the calculator processes different trips and fuel units:

Short Commute with US Gallons

If you drive 15.5 miles and use 0.75 US gallons of fuel priced at $3.59 per gallon, your fuel economy is 20.667 MPG (US). The total trip cost is $2.69, which breaks down to $0.17 per mile.

Long Road Trip Using Liters

For a 450-kilometer trip using 38.2 liters of fuel at $1.45 per liter, the vehicle achieves 8.489 L/100km (or 27.709 MPG US). The total fuel cost for the trip is $55.39, equating to $0.20 per mile.

Heavy Vehicle with Imperial Gallons

Driving 320 miles and consuming 22.5 Imperial gallons at $6.20 per gallon results in 14.222 MPG (Imperial) or 11.842 MPG (US). The total trip cost is $139.50, costing $0.44 per mile.

Practical Use Cases

Calculating fuel economy is useful for several practical applications:

Frequently Asked Questions

What is the difference between US MPG and Imperial MPG?

An Imperial gallon is larger than a US gallon (approximately 1.2 US gallons). Because the volume of fuel is greater, a vehicle's Imperial MPG will always be higher than its US MPG for the same fuel efficiency.

How do I calculate my fuel cost per mile?

To find your fuel cost per mile, divide the total cost of the fuel used for a trip by the total miles driven. The calculator does this automatically if you input the fuel price.

Why is Liters per 100km inverted compared to MPG?

MPG measures distance per unit of fuel (higher is more efficient), while L/100km measures fuel volume per fixed distance (lower is more efficient).

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.