This free car mileage calculator works out your real fuel economy from a fill-up, what any trip or monthly commute will cost in fuel, and converts between MPG, L/100km and km per litre. Pick your country and it switches to the units and currency drivers use there, with a typical local fuel price you can change to what you paid at the pump.
Quick answerTo calculate car mileage, divide the distance you drove by the fuel you used. 300 miles on 10 US gallons is 30 MPG, which equals 7.84 L/100km, 36.0 UK MPG or 12.8 km/L. Trip fuel cost = distance ÷ fuel economy × fuel price, so 300 miles at 30 MPG with gas at $4.40 a gallon costs $44.
Fill the tank, reset your trip meter, drive normally, then fill up again. Enter the distance and how much fuel the second fill-up took.
| Unit | Value |
|---|
How to use the car mileage calculator
- Choose your country. Pick the US, UK, Canada, Australia, Europe or Pakistan to set the right units, currency and a typical fuel price.
- Enter the trip. Type the distance, your car’s fuel economy and the fuel price. Tick round trip or set trips per month for a commute.
- Read the cost. See the fuel cost per trip, per person, per mile or kilometre, and per month and year.
- Check your real mileage. On the second tab, enter the distance and fuel from one fill-up to the next to get your actual MPG, L/100km and km per litre.
Car mileage formulas
- MPG = miles driven ÷ gallons used
- L/100km = litres used ÷ kilometres driven × 100
- km per litre = kilometres driven ÷ litres used
- Trip fuel cost = distance ÷ fuel economy × price per unit of fuel
A US gallon is 3.785 litres and an imperial (UK) gallon is 4.546 litres, so the same car shows a higher MPG figure in the UK. To convert: L/100km = 235.21 ÷ US MPG = 282.48 ÷ UK MPG, and km/L = 100 ÷ L/100km.
Fuel economy conversion table
| MPG (US) | MPG (UK) | L/100km | km/L |
|---|---|---|---|
| 20 | 24.0 | 11.76 | 8.50 |
| 25 | 30.0 | 9.41 | 10.63 |
| 30 | 36.0 | 7.84 | 12.75 |
| 35 | 42.0 | 6.72 | 14.88 |
| 40 | 48.0 | 5.88 | 17.01 |
| 50 | 60.0 | 4.70 | 21.26 |
How drivers measure mileage around the world
- United States: miles per US gallon, with fuel priced per gallon. The EPA’s window-sticker MPG is a useful starting point, but real-world mileage is often 10–20% lower in winter or heavy traffic.
- United Kingdom: miles per imperial gallon, even though fuel is sold by the litre. That is why this calculator asks UK drivers for litres and converts them.
- Canada, Australia and Europe: litres per 100 km. Lower is better: 6 L/100km is more economical than 9.
- Pakistan: kilometres per litre (km/L), with petrol prices set by OGRA. Typical small cars such as a 1,000 cc hatchback return around 14–18 km/L in mixed driving.
Ways to cut your fuel cost
- Keep tyres at the recommended pressure; under-inflated tyres raise fuel use.
- Drive smoothly. Hard acceleration and braking can cost 15–30% more fuel in town.
- Slow down on the motorway: fuel use climbs quickly above about 50–60 mph (80–100 km/h).
- Remove roof racks and extra weight you do not need.
- Compare with an electric car using our EV mileage calculator.
Frequently asked questions
How do I calculate my car’s mileage?
Fill the tank and reset the trip meter. Drive normally, then fill up again and note the litres or gallons it took. Divide the distance by the fuel used to get MPG or km per litre, or divide the fuel by the distance and multiply by 100 for L/100km.
How do I calculate the fuel cost of a trip?
Divide the trip distance by your fuel economy to get the fuel needed, then multiply by the fuel price. For example, 300 miles at 30 MPG needs 10 gallons, which costs $44 at $4.40 a gallon.
How do I convert MPG to L/100km?
Divide 235.21 by US MPG, or 282.48 by UK MPG. So 30 US MPG is 7.84 L/100km and 50 UK MPG is 5.65 L/100km.
Why is UK MPG higher than US MPG for the same car?
A UK (imperial) gallon holds 4.546 litres while a US gallon holds 3.785 litres. More fuel per gallon means more miles per gallon, so UK MPG figures are about 20% higher.
What is good fuel economy?
For a petrol family car, 35+ US MPG, 42+ UK MPG, under 6.5 L/100km or over 15 km/L is good. Hybrids often do much better.
Which fuel price does the calculator use?
Each country starts with a typical price: US average regular gas (early October 2026), UK average unleaded (mid-October 2026) and Pakistan’s OGRA petrol price (24 October 2026). Canada, Australia and Europe use example prices. Type your own pump price for an exact figure.