MPG Calculator

Calculate miles per gallon from distance and fuel, estimate trip fuel cost, or convert L/100 km to MPG. Free calculator with formulas and examples.

FreeNo signupUpdated Nov 14, 2026By CalculatorBase Editorial Team

MPG Calculator

Miles per gallon
Trip fuel cost
L/100 km to MPG
Result
–

How to calculate MPG

Miles per gallon is how far your vehicle travels on one gallon of fuel. To measure it accurately, fill the tank, reset your trip meter, drive normally, then refill and note the gallons added. Divide miles by gallons.

The formulas

MPG = Miles driven / Gallons used
Fuel cost = (Distance / MPG) x Price per gallon
MPG (US) = 235.214583 / (L per 100 km)
Example: 300 miles on 10 gallons is 30 MPG. A 250-mile trip at 28 MPG uses 8.93 gallons; at $3.50 per gallon that costs $31.25, or about 12.5 cents per mile.

MPG and L/100 km

MPG (US)L/100 km
1515.68
2011.76
259.41
307.84
356.72
405.88
504.70

Tips for better fuel economy

Keep tires inflated to the pressure on the door placard, remove roof racks and extra weight, avoid hard acceleration, and keep highway speeds moderate. Aerodynamic drag rises quickly above 60 mph. A US gallon is 3.785 liters; a UK imperial gallon is larger, so UK MPG figures are about 20% higher for the same car.

Frequently asked questions

How do I calculate MPG?

Divide the miles you drove by the gallons of fuel you used. 300 miles on 10 gallons is 30 MPG.

How do I estimate trip fuel cost?

Divide distance by MPG to get gallons, then multiply by the price per gallon.

How do I convert L/100 km to MPG?

Divide 235.214583 by the L/100 km figure to get US MPG. 8 L/100 km is about 29.4 MPG.

Why is UK MPG higher than US MPG?

A UK imperial gallon is about 4.546 liters versus 3.785 liters for a US gallon, so the same fuel use gives about 20% more UK MPG.

What is a good MPG?

Around 25 to 30 MPG is typical for a modern gasoline car. Hybrids often reach 45 to 55 MPG.

Explore other calculators

About this calculator

Written by
CalculatorBase Editorial Team
Last reviewed
November 14, 2026
Method
Standard formulas applied to your inputs, with no data stored.

Results are calculated from the values you enter using standard published formulas. They are estimates for general information. Read the full disclaimer.