Skip to main content
DigiCalcs

How to Calculate Gas Mileage

What is Gas Mileage?

Gas mileage (or fuel economy) measures how efficiently a vehicle uses fuel. In the US, this is miles per gallon (MPG); in the UK, also MPG but using the larger imperial gallon; in most other countries, litres per 100km (L/100km).

Formula

MPG = Miles driven / Gallons used
MPG
Miles driven / Gallons used — Miles driven / Gallons used

Step-by-Step Guide

  1. 1MPG = Miles driven / Gallons used
  2. 2L/100km = Litres used / (Distance in km / 100)
  3. 3Cost per mile = Fuel price per gallon / MPG

Worked Examples

Input
Drove 300 miles, used 10 gallons
Result
30 MPG
300 / 10 = 30 MPG
Input
Drove 500km, used 40 litres
Result
8.0 L/100km
40 / (500/100) = 8.0 L/100km

Frequently Asked Questions

What is Gas Mileage?

Gas mileage (or fuel economy) measures how efficiently a vehicle uses fuel. In the US, this is miles per gallon (MPG); in the UK, also MPG but using the larger imperial gallon; in most other countries, litres per 100km (L/100km)

How accurate is the Gas Mileage calculator?

The calculator uses the standard published formula for gas mileage. Results are accurate to the precision of the inputs you provide. For financial, medical, or legal decisions, always verify with a qualified professional.

What units does the Gas Mileage calculator use?

This calculator works with inches, kilometres, miles, litres. You can enter values in the units shown — the calculator handles all conversions internally.

What formula does the Gas Mileage calculator use?

The core formula is: MPG = Miles driven / Gallons used. Each step in the calculation is shown so you can verify the result manually.

Ready to calculate? Try the free Gas Mileage Calculator

Try it yourself →

Settings

PrivacyTermsAbout© 2026 DigiCalcs