![]() |
This guide explains how to set up RaceLab with rFactor 2 so you get accurate fuel usage and race fuel predictions. We’ll go step-by-step so you can follow along even if you’re not very technical.
The Fuel Calculator overlay helps you plan your race strategy and avoid running out of fuel. It uses your recent lap times and fuel usage to estimate how much fuel you need for the rest of the session.
The Fuel Calculator overlay helps you plan your race strategy and avoid running out of fuel. It uses your recent lap times and fuel usage to estimate how much fuel you need for the rest of the session.If the Fuel Calculator gives strange numbers, check that the correct session length, car and fuel tank size are selected in the Racelab app, and make sure you have logged enough valid laps.
By the end, RaceLab will show you:
RaceLab connects to rFactor 2 and reads live telemetry (fuel level, laps completed, lap times, etc.). From this, it calculates:
For timed races (for example, a 30-minute race), RaceLab estimates how many laps you’ll do using your average lap time and then works out the fuel needed for that number of laps.
Follow these steps to make sure rFactor 2 is sending the information RaceLab needs.
Before editing any files, make sure rFactor 2 is closed.
Browse to your rFactor 2 installation. The default path is usually similar to:
Steam\steamapps\common\rFactor 2\UserData\player\
In this folder, look for a file called: CustomPluginVariables.JSON
Open CustomPluginVariables.JSON with a text editor such as Notepad.
Find the section that mentions InternalsPlugin.dll. It will look similar to this:
"InternalsPlugin.dll":{
" Enabled":1
}
" Enabled" is 0, change it to 1." Enabled":1) and save your changes.
Some setups use rFactor 2’s broadcasting options. In newer builds, you may see a section like:
"Broadcasting":{
" Enabled":true,
" Port":8188
}
If you see a broadcasting section and it is disabled, you can set:
" Enabled":trueStart rFactor 2 and load into the track with the car and session you want to use.
Open the RaceLab App on your PC. Once rFactor 2 is running, RaceLab should automatically detect it and show the sim name at the top of the app window.
Now hop on track and drive:
As you complete laps, RaceLab will:
Different RaceLab layouts may show slightly different labels, but generally you will see:
Imagine this situation:
The calculation looks like this:
Fuel needed = (1.5 L × 20 laps) + 1.5 L (1 extra lap) = 30 L + 1.5 L = 31.5 L total Fuel to add = 31.5 L - 10 L (currently in tank) = 21.5 L
RaceLab will show something similar to: Fuel needed: 31.5 L, Add: 21.5 L.
To avoid running out of fuel because of traffic, mistakes, or safety cars, it’s smart to add a little extra. Common options:
Pick whichever style you find easier. The important thing is to always allow a small buffer.
| Problem | Likely Cause | Fix |
|---|---|---|
| Fuel stays at 0 or does not change | Telemetry plugin not enabled, or wrong file edited | Re-check CustomPluginVariables.JSON and make sure InternalsPlugin.dll has " Enabled":1. |
| Fuel estimate looks completely wrong | Not enough clean laps, big pace changes, or session changed | Do 3–5 new laps at normal pace. If needed, reset the overlay or session data in RaceLab. |
| Overlay doesn’t appear on screen | Fuel widget not enabled in RaceLab | Open the Overlay Manager, enable the fuel / race info widget, and click Save/Apply. |
| Numbers jump around a lot | Big changes in driving style, fuel saving, or mixed laps (in/out/slow) | Use consistent pace when doing your “fuel learning” laps, and ignore out-laps/in-laps. |
If you’re still having trouble with rFactor 2 fuel calculations in RaceLab, feel free to contact me on Discord – I’m SCOTTOZY on the official RaceLab.app server and I’ll do my best to help.