In the USA, MPG is an almost required index to see how efficient a car can get.
However, except USA, MPG is not so commonly used.
I find Europe and Japan uses kilometer per liter. Oops, how do we convert it to MPG?
Converting kilometer to miles and liter to gallons, then division?
It is very simple if you know some math, you notice all these conversions are linear, so you can make one time multiplication to convert it.
The simple equations are:
mpg = (km/lt) * 2.352
km/lt = mpg * 0.425
So,
10 km/lt = 23.52 mpg
20 km/lt = 47.04 mpg
30 mpg = 12.75 km/lt
50 mpg = 21.25 km/lt
If you want to have more precision, this is for you:
#[kmpl2mpg] #kilometer per liter to mpg class kmpl2mpg: def convert(kmpl): return kmpl * 2.35214583 # this is just a short cut convert = staticmethod(convert) if __name__ == "__main__": import sys try: print 'KMPL2MPG(%.2f) = %.2f mpg' % (float(sys.argv[1]), kmpl2mpg.convert(float(sys.argv[1]))) except: print 'usage: python kmpl2mpg.py 7.9'
Now you know Mercedes S400 Hybrid gets 29.64 mpg (12.6 km/liter)
Also you can check the result in google
May 3, 2009 at 2:43 pm
Hi, interesting post. I have been pondering this topic,so thanks for posting. I will certainly be subscribing to your posts.
May 5, 2009 at 6:44 pm
Hi, good post. I have been pondering this topic,so thanks for sharing. I’ll likely be subscribing to your site. Keep up the good posts
April 30, 2011 at 6:05 pm
your page fails to say
is the Gallons USA gallons or Imperial 1.2 bigger.
big difference.
fyi
December 12, 2011 at 12:56 pm
I guess that since the article talks about USA being the one of the few country using MPG, I guess it would use USA Gallons measure…
January 8, 2012 at 2:25 pm
[…] out mpgs…tried a couple sites and get just about same answer everytime. Go to this website: How to convert kilometer / liter to mpg: mpg = (km/lt) * 2.35214583 Make something: Software Enginee… AND IF you use IMPERIAL gallons you need to convert that to either liters or US Gallon here: Fuel […]
April 9, 2013 at 4:38 am
I live in Europe and here we are using liters per 100 kilometers. Not kilometers per liter…, just sayin’
February 24, 2014 at 11:41 pm
COMPLETELY WRONG!!!!!!!!!!!!!! mpg=(km/litres)*2.824413
November 23, 2016 at 11:25 am
thanks a lot.