MPG Calculator
Works out a car's fuel economy from the distance driven and the fuel used, or turns it around: the fuel a trip will need from its distance and your car's economy, or how far a tank of fuel will take you. Enter miles or kilometres and US gallons, UK gallons or litres; every answer is shown in US and UK miles per gallon, litres per 100 km and kilometres per litre. Add the fuel price to see the cost of the trip and the cost per mile and per kilometre.
- Fuel economy is the average over the whole distance.
- The fuel price can be in any currency; no conversion is applied.
Formula
MPG = miles ÷ gallons; L/100 km = litres ÷ km × 100; fuel = distance ÷ MPG; distance = fuel × MPG; cost = fuel × price
- All units are converted through litres per kilometre: 1 mile = 1.609344 km, 1 US gallon = 3.785411784 L and 1 UK gallon = 4.54609 L, all exact.
- L/100 km and km/L are reciprocals: km/L = 100 ÷ L/100 km. US mpg = 235.215 ÷ L/100 km and UK mpg = 282.481 ÷ L/100 km.
- Because a UK gallon is about 20% larger than a US gallon, the same car shows about 20% more miles per gallon in UK units (mpg UK = mpg US × 1.20095).
- Fuel economy, fuel and distance are rounded to 2 decimal places, as is the trip cost; the cost per mile and per kilometre to 3.
300 miles on 10 US gallons
Inputs
- Calculate: economy
- Distance: 300
- Distance unit: mi
- Fuel used: 10
- Fuel unit: usgal
- Fuel economy unit: mpgUS
- Fuel price (optional): 3.5
- Price per: usgal
300 ÷ 10 = 30.00 miles per US gallon. In metric that is 482.80 km on 37.85 L, or 7.84 L/100 km (12.75 km/L). At 3.50 a gallon the trip cost 35.00, about 0.117 per mile.
Sources & references
Frequently asked questions
How do I calculate MPG?
Fill the tank, reset the trip meter, drive normally, then fill up again. Divide the miles driven by the gallons needed to refill: 300 miles on 10 gallons is 30 mpg.
How much fuel do I need for a trip?
Divide the distance by your fuel economy. A 300-mile trip in a car that does 25 mpg needs 300 ÷ 25 = 12 gallons. With L/100 km, multiply instead: 500 km at 6 L/100 km needs 30 L.
How do I convert mpg to L/100 km?
Divide 235.215 by US mpg, or 282.481 by UK mpg. 30 mpg (US) is 7.84 L/100 km; 40 mpg (UK) is 7.06 L/100 km. The same formula converts back: 235.215 ÷ 7.84 = 30 mpg.
Why are UK and US mpg figures different?
A UK (imperial) gallon is 4.546 litres and a US gallon is 3.785 litres, so a car goes about 20% further on a UK gallon. 30 mpg in the US is about 36 mpg in the UK.
What affects my real-world MPG?
Speed, hard acceleration and braking, short trips with a cold engine, air conditioning, roof racks, towing, under-inflated tyres and extra weight all lower fuel economy compared with official test figures.
Related calculators
Fuel Cost Calculator Estimates how much fuel a car journey needs and what it will cost. Enter the distance in kilometres or miles, your vehicle's fuel economy in litres per 100 km, km per litre, or US or UK miles per gallon, and the price of fuel per litre or per gallon. Choose a one-way or return trip and how many people are sharing the cost to get the total fuel used, the trip cost, the cost per person and the cost per kilometre and per mile. Kilometers to Miles Converter Converts kilometres to miles and miles to kilometres using the exact international mile of 1,609.344 metres. Enter a distance, choose the unit you have and the unit you want, and you get the converted distance plus the same distance in metres, feet, yards and nautical miles. Useful for race distances, road signs abroad, running and cycling logs, and car odometers set to the other system. Liters to Gallons Converter Converts litres to gallons and gallons to litres, and keeps the three different gallons apart: the US liquid gallon (3.785 L) used at American fuel pumps and in recipes, the larger imperial gallon (4.546 L) used in the UK, and the US dry gallon. Kitchen and lab units such as millilitres, cups, pints, quarts, fluid ounces, cubic inches and cubic feet are included, and every result is also shown in litres, US and imperial gallons, quarts, cups and fluid ounces. Electricity Cost Calculator Works out how much electricity an appliance uses and what it costs to run. Enter its power rating in watts or kilowatts, how many hours a day and how many days a week it is on, and your electricity price per kilowatt-hour from your bill. You get the energy used and the running cost per hour, per day of use, per week, per month and per year, so you can compare appliances or see where your bill comes from.