# How do onboard MPG computers work? Are they accurate?

**URL:** <https://boards.straightdope.com/t/how-do-onboard-mpg-computers-work-are-they-accurate/196419>\
**Category:** Factual Questions\
**Created:** [August 20, 2003, 1:16pm UTC](https://boards.straightdope.com/t/how-do-onboard-mpg-computers-work-are-they-accurate/196419 "2003-08-20T13:16:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![FatBaldGuy](https://avatars.discourse-cdn.com/v4/letter/f/ecd19e/32.png) [@FatBaldGuy](https://boards.straightdope.com/u/FatBaldGuy)\
**Post date:** [August 20, 2003, 1:16pm UTC](https://boards.straightdope.com/t/how-do-onboard-mpg-computers-work-are-they-accurate/196419/1 "2003-08-20T13:16:02Z")

</div>

My new (Dodge) truck has a digital display that shows average miles per gallon and also the number of miles I have left until my tank is empty.

What kind of sensor does this use to determine fuel consumption? Is it based on the float in the gas tank, or is there some kind of flow metering device in the fuel line?

Also, would the reading be affected by the angle of the truck going up/down hills, etc.?

I’d appreciate hearing from anyone who knows The Straight Dope on these things.

---

<div class="post-metadata">

**Author:** ![FatBaldGuy](https://avatars.discourse-cdn.com/v4/letter/f/ecd19e/32.png) [@FatBaldGuy](https://boards.straightdope.com/u/FatBaldGuy)\
**Post date:** [August 20, 2003, 1:34pm UTC](https://boards.straightdope.com/t/how-do-onboard-mpg-computers-work-are-they-accurate/196419/2 "2003-08-20T13:34:58Z")

</div>

Mods, please delete this thread. Sorry for the double post.

FBG
