MPG Calculator
Calculate miles per gallon from the distance you drove and the fuel you used, with L/100 km, km per liter and the fuel cost per mile. Example: 300 miles on 10 gallons is 30 MPG, or 7.84 L/100 km.
Show steps
How to use the MPG Calculator
- Fill your tank and note the trip meter or odometer.
- At the next fill-up, enter the miles driven and the gallons you added.
- Add the fuel price if you want cost per mile.
- Press Calculate to see MPG and metric equivalents.
Formula and method
MPG = miles driven / gallons of fuel used. To convert, L/100 km = 235.215 / MPG, and km per liter = MPG x 0.425144. Cost per mile = fuel price / MPG.
Worked example: 300 miles on 10 gallons
| Measure | Result |
|---|---|
| MPG | 30.00 |
| L/100 km | 7.84 |
| Km per liter | 12.75 |
| Cost per mile at $3.50 a gallon | $0.12 |
MPG to L/100 km chart
| MPG | L/100 km | Km per liter |
|---|---|---|
| 15 | 15.68 | 6.38 |
| 20 | 11.76 | 8.50 |
| 25 | 9.41 | 10.63 |
| 30 | 7.84 | 12.75 |
| 35 | 6.72 | 14.88 |
| 40 | 5.88 | 17.01 |
| 50 | 4.70 | 21.26 |
Ways to improve fuel economy
Keep tires at the recommended pressure, avoid hard acceleration and braking, remove roof racks and extra weight, reduce highway speed, and keep up with maintenance. These changes can improve gas mileage by several percent each.
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 convert MPG to L/100 km?
Divide 235.215 by the MPG figure. 30 MPG is 7.84 L/100 km.
Is UK MPG different from US MPG?
Yes. An imperial gallon is about 20% larger, so the same car shows a higher MPG in the UK.
What is a good MPG?
Over 30 MPG combined is good for a gasoline car. Hybrids reach 45 to 55 and many EVs use the MPGe equivalent.
Why is my real MPG lower than the sticker?
Driving style, speed, weather, tires, cargo and short trips all lower real-world mileage.
How do I calculate cost per mile?
Divide the price per gallon by your MPG. At $3.50 and 30 MPG, fuel is about 12 cents a mile.
Sources
Related calculators
Related to This Article
More math articles
- What Kind of Math Is on the AFOQT Test?
- The Sociological Imagination
- How to Prepare for the PERT Math Test?
- How to Factor Polynomials: Every Method with Examples
- Function Notation Worksheet with Answers
- 5th Grade Math Worksheets for New Jersey (NJSLA): 49 Free Printable PDFs
- 10 Most Common 3rd Grade STAAR Math Questions
- Study Skills Guide For Studying Math
- The Ultimate OAA Algebra 1 Course (+FREE Worksheets)
- 5th Grade LEAP Math Worksheets: FREE & Printable


What people say about "MPG Calculator: Miles Per Gallon, L/100 km & Cost Per Mile"?
No one replied yet.