I started of taking the "Simple Trip" app as a starting point.
I also transferred the UI programming to the app.html file, which made it easier to handle.
At a reset this app will set the traveled distance to zero and store the current fuel level.
Then it will simply calculate the fuel consumption by dividing the used fuel by the traveled distance.
This makes the calculation stable and should be realistic to the point of taking all used fuel into account.
There's a manual and automatic reset.
Manually it can be reset by the symbol in the top left corner.
Automatically it resets when the current fuel level is magically higher than the stored level (e.g. the car was reset).
It now also resets, when the fuel capacity changes.
Included in version 1.0.0.7 is...
Screenshot with version 1.0.0.7
- More fuel amounts shown.
- Pause is now properly supported.
![]()
Pros:
Cons:
- Takes all used fuel into account.
- Stays stable even when you stop.
- Get's more average the longer you drive.
- Math's go beautifully hilarious at the beginning when you haven't moved yet.
Dismiss Notice
In the upcoming weeks mod approvals could be slower than normal.
Thank you for your patience.
In the upcoming weeks mod approvals could be slower than normal.
Thank you for your patience.

Average Fuel Consumption 1.0.0.7
Calculates the fuel consumption to the traveled distance
Recent Updates
- Updated Infos and supports pause Jan 5, 2023
- Update for v0.24 Dec 13, 2021
- Corrected to work with v0.23 Jul 9, 2021