On-Line Gasoline MPG Calculator (Using MAF and/or MAP/IAT/RPM)

For those that want to calculate MPG using MAF (and/or MAP/IAT/RPM) for gasoline vehicles I've put together a Webpage with a Javascript-based air/fuel flow calculator...

http://www.lightner.net/obd2guru/IMAP_AFcalc.html

You may find this useful for "checking your work".

As many of you have discovered---based on comments here and email that I regularly receive---getting all the units and calculations exactly right can be hard. And, in an embedded system without floating-point support, avoiding integer overflow errors can proved difficult.

Best regards,

Bruce D. Lightner

[email protected]

http://www.lightner.net/lightner/bruce/