UK-based online statistics and data analysis support for USA, UK, and international clients. No exams, no impersonation, no fabricated data.
Efficiency and operating cost

Gas Mileage Calculator with Three Efficiency Formats

Use trip distance and fuel used to calculate U.S. MPG, km/L, L/100 km, cost per mile or kilometer and projected trip expense.

Trip and refueling measurements

Measured fuel economy

gas mileage calculator: method, formulas and interpretation

The gas mileage calculator uses a dedicated calculation path for this exact problem rather than a generic input-and-output shell. Inputs are normalized before the formula is applied, and the result panel exposes the assumptions needed to audit the answer.

Distance and volume normalization

The gas mileage calculator converts miles or kilometers and U.S. gallons or liters to a consistent internal basis before computing all three common efficiency formats. L/100 km is an inverse consumption measure, so a lower value is better, while MPG and km/L increase as efficiency improves.

Cost per distance and trip planning

The gas mileage calculator multiplies fuel volume by the entered price and divides by distance for cost per mile and kilometer. A projected trip uses the measured efficiency rather than a manufacturer rating. For the most representative result, reset the trip meter at a full tank, refill to a similar level, record fuel dispensed and average several tanks.

Worked use and validation

The gas mileage calculator rejects missing, non-finite or physically impossible values with a specific message. Load the worked example to inspect the complete calculation and compare it with a manual result before relying on a planning estimate.

How to read the output

The gas mileage calculator separates the primary result from supporting quantities, unit conversions and limitations. Display rounding does not replace the unrounded values used inside later steps. Use consistent inputs and preserve the stated model when comparing scenarios.

Does MPG use Imperial gallons?

No. MPG in this calculator uses U.S. liquid gallons.

Why does lower L/100 km mean better mileage?

It measures fuel consumed to travel a fixed distance, so less fuel is more efficient.

Can I calculate cost per mile?

Yes. Enter the price per selected fuel unit to obtain both cost per mile and cost per kilometer.