# Is the amount of gas used by a car engine based solely on RPMs?

**URL:** <https://boards.straightdope.com/t/is-the-amount-of-gas-used-by-a-car-engine-based-solely-on-rpms/941237>\
**Category:** Factual Questions\
**Created:** [May 2, 2021, 6:51pm UTC](https://boards.straightdope.com/t/is-the-amount-of-gas-used-by-a-car-engine-based-solely-on-rpms/941237 "2021-05-02T18:51:18Z")\
**Posts on this page:** 11\
**Page:** 2

<div class="post-metadata">

**Author:** ![Nars\_Glinley](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/nars_glinley/32/8177_2.png) [@Nars\_Glinley](https://boards.straightdope.com/u/Nars_Glinley)\
**Post date:** [May 4, 2021, 5:18pm UTC](https://boards.straightdope.com/t/is-the-amount-of-gas-used-by-a-car-engine-based-solely-on-rpms/941237/21 "2021-05-04T17:18:20Z")

</div>

OP checking back in. So is there any simple and relatively accurate way to calculate my fuel consumption at idle without idling for hours on end?

---

<div class="post-metadata">

**Author:** ![LSLGuy](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lslguy/32/5813_2.png) [@LSLGuy](https://boards.straightdope.com/u/LSLGuy)\
**Post date:** [May 4, 2021, 6:06pm UTC](https://boards.straightdope.com/t/is-the-amount-of-gas-used-by-a-car-engine-based-solely-on-rpms/941237/22 "2021-05-04T18:06:17Z")

</div>

You can buy an OBDC-II dongle and some software to plug your car into your phone, tablet, or laptop computer. The instantanous fuel flow is available inside the car’s computer.

Whether that particular parameter is surfaced to ODBC in a way that your software can read depends on the make, model, and year of car. Some Googling for your model of car and the word “ODBC” should get you started.

---

<div class="post-metadata">

**Author:** ![Dr.Strangelove](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/dr.strangelove/32/6613_2.png) [@Dr.Strangelove](https://boards.straightdope.com/u/Dr.Strangelove)\
**Post date:** [May 4, 2021, 8:04pm UTC](https://boards.straightdope.com/t/is-the-amount-of-gas-used-by-a-car-engine-based-solely-on-rpms/941237/23 "2021-05-04T20:04:10Z")

</div>

OBD-II, not OBDC-II.

I’d recommend a Bluetooth model. You can get 'em for about $10 (just search for “obd2 bluetooth”). The last time I was into this stuff, the Torque app for Android (maybe iPhone, I dunno) did a great job of interfacing with it, though there are likely good alternatives.

I actually wrote my own app back in the day. And it is in fact easy to derive the fuel flow from the raw data. There are a handful of values that are standard across everyone. Error codes, on the other hand, required technical manuals to implement…

---

<div class="post-metadata">

**Author:** ![3AxisCtrl](https://avatars.discourse-cdn.com/v4/letter/3/ecd19e/32.png) [@3AxisCtrl](https://boards.straightdope.com/u/3AxisCtrl)\
**Post date:** [May 4, 2021, 8:18pm UTC](https://boards.straightdope.com/t/is-the-amount-of-gas-used-by-a-car-engine-based-solely-on-rpms/941237/24 "2021-05-04T20:18:51Z")

</div>

I, too, endorse the Torque app and an OBD-via-Bluetooth device. Very useful.

In response to the OP, I note that engine power (to which fuel consumption is closely related) is approximately proportional to RPM times manifold pressure.

---

<div class="post-metadata">

**Author:** ![LSLGuy](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lslguy/32/5813_2.png) [@LSLGuy](https://boards.straightdope.com/u/LSLGuy)\
**Post date:** [May 4, 2021, 8:27pm UTC](https://boards.straightdope.com/t/is-the-amount-of-gas-used-by-a-car-engine-based-solely-on-rpms/941237/25 "2021-05-04T20:27:28Z")

</div>

> [@Dr.Strangelove](#):
>
> OBD-II, not OBDC-II.

D’oh! Thank you. At least I didn’t say ODBC. 😉

---

<div class="post-metadata">

**Author:** ![SenorBeef](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/senorbeef/32/2220_2.png) [@SenorBeef](https://boards.straightdope.com/u/SenorBeef)\
**Post date:** [May 4, 2021, 8:46pm UTC](https://boards.straightdope.com/t/is-the-amount-of-gas-used-by-a-car-engine-based-solely-on-rpms/941237/26 "2021-05-04T20:46:10Z")

</div>

> [@Machine\_Elf](#):
>
> late-model cars with dashboard MPG indicators know the instantaneous fuel flow rate for your engine at all possible combinations of RPM and load because that was all documented during the R&D for that engine. Feed it your current speed, and yep, miles-per-gallon is some easy math for them to do.

So it’s just a look up table based on a perfect engine? There’s no actual fuel flow sensor tracking the actual milage usage?

Couldn’t you get an inaccurate MPG due to wear/damage? Like if something wrong with your car that robbed it of 20% of its efficiency - that wouldn’t show up in the MPG indicator?

---

<div class="post-metadata">

**Author:** ![AskNott](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/asknott/32/5790_2.png) [@AskNott](https://boards.straightdope.com/u/AskNott)\
**Post date:** [May 4, 2021, 8:52pm UTC](https://boards.straightdope.com/t/is-the-amount-of-gas-used-by-a-car-engine-based-solely-on-rpms/941237/27 "2021-05-04T20:52:00Z")

</div>

In the olden times of carburetors, there was a somewhat crude way of feeding fuel under idle conditions. When the throttle plate closed, the increased vacuum under the plate pulled fuel and air through a path called the idle circuit, which doled out a very rich mixture, compared to what the engine usually ran on. It didn’t happen only at idle, either. When you lifted your foot to approach a stop light or descend a long hill, the idle circuit was dumping fuel as if you were idling.

---

<div class="post-metadata">

**Author:** ![Dr.Strangelove](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/dr.strangelove/32/6613_2.png) [@Dr.Strangelove](https://boards.straightdope.com/u/Dr.Strangelove)\
**Post date:** [May 4, 2021, 8:55pm UTC](https://boards.straightdope.com/t/is-the-amount-of-gas-used-by-a-car-engine-based-solely-on-rpms/941237/28 "2021-05-04T20:55:48Z")

</div>

> [@3AxisCtrl](#):
>
> In response to the OP, I note that engine power (to which fuel consumption is closely related) is approximately proportional to RPM times manifold pressure.

As long as you’re talking absolute pressure, of course (not gauge pressure). And really this just comes down to the old PV=nRT. The mass of some gas (keeping volume and temperature fixed) is proportional to the pressure. RPM is proportional to the volumetric flow, so pressure\*RPM is proportional to the mass flow. And since gas engines run virtually stoichiometrically, that’s proportional to the fuel flow and thus power.

---

<div class="post-metadata">

**Author:** ![Tired\_and\_Cranky](https://avatars.discourse-cdn.com/v4/letter/t/a87d85/32.png) [@Tired\_and\_Cranky](https://boards.straightdope.com/u/Tired_and_Cranky)\
**Post date:** [May 4, 2021, 9:17pm UTC](https://boards.straightdope.com/t/is-the-amount-of-gas-used-by-a-car-engine-based-solely-on-rpms/941237/29 "2021-05-04T21:17:49Z")

</div>

> [@pullin](#):
>
> My truck gets 21 mpg unloaded at 65 mph and 1600 rpm. It gets 11 mpg pulling my 8000 lb. camper although RPM and speed are unchanged. Strangely, it gets around 15 mpg pulling my 12,000 lb. boat, so I assume most of the change is due to drag instead of weight (boat is more aerodynamic).

A long time ago, I recall reading a review of a pickup truck that had higher tow rating for boats than for other types of trailers. Aerodynamics was exactly the reason.

> [@Nars\_Glinley](#):
>
> OP checking back in. So is there any simple and relatively accurate way to calculate my fuel consumption at idle without idling for hours on end?

> [@Dr.Strangelove](#):
>
> I’d recommend a Bluetooth model. You can get 'em for about $10 (just search for “obd2 bluetooth”). The last time I was into this stuff, the Torque app for Android (maybe iPhone, I dunno) did a great job of interfacing with it, though there are likely good alternatives.

I’ve used the Torque app for a few years and I recommend it highly. I don’t know exactly how it works but the instantaneous fuel economy readout does not exactly match the same readout from my dash. I don’t know which is more accurate but they are both pretty close to each other. I also discovered that the Torque app didn’t completely accurately report throttle position. That is, the app couldn’t tell when I was flooring it for several seconds even though I know the throttle was completely open. All that said, the Torque app will provide a real time indicator when fuel economy is higher or lower .

> [@SenorBeef](#):
>
> So it’s just a look up table based on a perfect engine? There’s no actual fuel flow sensor tracking the actual milage usage?

Yet another uncited “crap I remember reading a long time ago” post. I recall that the ECM (and by extension apps connected to the OBD-II port) are relying on the number and size of fuel injector pulses to track fuel consumption. The ECM continuously counts the amount of gas being burned in real time. Divided against speed, it can calculate the fuel economy. Presumably this means that if there is a problem with the fuel injector leaking or not injecting enough fuel, the economy gauge would be off.

Now that i think of it, in my last car, the dash readout always reported slightly low fuel economy compared to the amount I calculated based on the gas I purchased and the distance I traveled. The odometer was very accurate, as confirmed by GPS. The reported fuel economy was about 4% lower than actual. Maybe my fuel injectors were lazy.

---

<div class="post-metadata">

**Author:** ![Dead\_Cat](https://avatars.discourse-cdn.com/v4/letter/d/9fc29f/32.png) [@Dead\_Cat](https://boards.straightdope.com/u/Dead_Cat)\
**Post date:** [May 4, 2021, 9:56pm UTC](https://boards.straightdope.com/t/is-the-amount-of-gas-used-by-a-car-engine-based-solely-on-rpms/941237/30 "2021-05-04T21:56:39Z")

</div>

Here is a previous thread which covers some of the same ground as this discussion: [Accelerating and fuel economy. - #23 by Dead\_Cat](https://boards.straightdope.com/t/accelerating-and-fuel-economy/828478/23)

---

<div class="post-metadata">

**Author:** ![Machine\_Elf](https://avatars.discourse-cdn.com/v4/letter/m/82dd89/32.png) [@Machine\_Elf](https://boards.straightdope.com/u/Machine_Elf)\
**Post date:** [May 5, 2021, 11:26am UTC](https://boards.straightdope.com/t/is-the-amount-of-gas-used-by-a-car-engine-based-solely-on-rpms/941237/31 "2021-05-05T11:26:02Z")

</div>

> [@SenorBeef](#):
>
> So it’s just a look up table based on a perfect engine? There’s no actual fuel flow sensor tracking the actual milage usage?
> 
> Couldn’t you get an inaccurate MPG due to wear/damage? Like if something wrong with your car that robbed it of 20% of its efficiency - that wouldn’t show up in the MPG indicator?

If they’re not using a lookup table, then they’re using the duration of each fuel injection event, with that model of injector having been well-characterized during development. If you’re doing engine R&D in a test cell you definitely would use a NIST-calibrated external fuel meter, but for the finished mass-produced vehicle, using a look-up table or injector pulsewidth provides sufficient accuracy for a dashboard measurement while avoiding the cost that a dedicated fuel meter would incur.

[Previous page](https://boards.straightdope.com/t/is-the-amount-of-gas-used-by-a-car-engine-based-solely-on-rpms/941237.md?page=1)
