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
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 usedFuel cost = (Distance / MPG) x Price per gallon
MPG (US) = 235.214583 / (L per 100 km)
MPG and L/100 km
| MPG (US) | L/100 km |
|---|---|
| 15 | 15.68 |
| 20 | 11.76 |
| 25 | 9.41 |
| 30 | 7.84 |
| 35 | 6.72 |
| 40 | 5.88 |
| 50 | 4.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.
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.