Blog · 2026-11-10
Torque App Mileage reliability?
Stefan Bogdanescu
Founder & Senior Architect
Torque App Mileage Reliability: Why Your MPG Might Be Sky-High
Reporting a fuel economy of 37 MPG in a 2005 Mazda 6 with a 2.3L engine is technically impossible under normal operating conditions. The US government rates this specific configuration at approximately 23 MPG. When the Torque app displays a figure nearly double the official EPA rating, the discrepancy isn't a bug; it is a fundamental misunderstanding of how OBD-II data is interpreted versus real-world physics.
The core issue lies in how the Torque app calculates mileage per gallon. By default, the application relies on the FuelLevelSensor or calculates instantaneous fuel consumption based on flow rate signals from the ECU (Engine Control Unit). In many legacy vehicles, including the 2005 Mazda 6, the OBD-II standard mandated by SAE J1979 does not always provide a reliable "fuel level" sensor signal. Instead, it often provides a FuelFlowRate in milliliters per second (ml/s) or grams per second (g/s).
If you configure Torque to calculate MPG using the formula:
Distance / (Fuel Flow Rate * Time)
You run into a specific pitfall common with older ECUs. These units often report fuel flow based on an internal algorithm that assumes a "perfect" combustion state or ignores transient spikes in fuel injection during cold starts, idle stabilization, and high-load acceleration. More critically, some OEMs return a static or near-zero value for the FuelFlowRate when the fuel level sensor is absent or when the ECU decides not to report it due to security protocols (SAE J1939/ISO 15765).
When Torque attempts to divide distance by a negligible or erratic fuel flow reading, the resulting MPG number inflates exponentially. If the app thinks you are using 10ml of fuel per hour when you are actually using 100ml, it calculates 10x better efficiency than reality. This explains the jump from 23 to 37; the denominator in your calculation is effectively being treated as too small by the software.
To address this, developers and power users must look beyond the default "Average MPG" widget in Torque and inspect the raw data streams. Open the Data Logging tab within the app and observe the FuelFlowRate parameter over a long drive cycle. If the value fluctuates wildly or hovers near zero while your speedometer indicates movement, the ECU is not providing a usable fuel consumption stream for that specific vehicle model.
In such cases, relying on OBD-II data alone is unreliable for calculating true MPG. The most robust solution involves integrating an external fuel level sensor. Torque supports third-party fuel sensors (like the Fuel Level Sensor v2) that provide voltage readings correlated to the physical tank level. By combining a known tank capacity (e.g., 15 gallons) with periodic voltage readings at specific intervals, you can calculate actual consumption:
Consumption = TankCapacity * (Voltage_Start - Voltage_End) / Distance_Traveled
This method bypasses the ECU's potentially flawed internal calculations and relies on physical measurements. However, this requires hardware modification or a specific OBD-II dongle with fuel level support, which adds cost and complexity.
It is also worth noting that the 2005 Mazda 6 may have calibration issues where the ECU reports "fuel flow" only during specific drive cycles or ignores it entirely if the vehicle detects a battery disconnect. The inaccuracy lies in the mismatch between the app's expectation of continuous, accurate fuel flow data and the ECU's sporadic reporting behavior.
If you require high-fidelity telemetry for fleet management or rigorous testing, Torque is excellent for visualizing raw signals, but its default MPG calculations should be treated as estimates rather than facts for older vehicles lacking proper fuel level sensors. For a production-grade solution, consider building a custom data pipeline that ingests Torque logs, filters out noisy fuel flow events, and applies a corrected consumption model based on tank capacity deltas.
For those looking to build similar applications or integrate vehicle telemetry into a larger backend system, understanding the nuances of OBD-II data integrity is crucial. If you are integrating these metrics into a Laravel application for fleet tracking, ensure your backend logic accounts for sensor latency and ECU reporting quirks rather than trusting raw API responses blindly. Resources like https://laravelcompany.com offer insights into building robust APIs that handle such real-world data inconsistencies gracefully.