Sim Racing Fuel & Strategy
Calculate minimum, recommended, and safe fuel loads, max stint laps, and pit stops for iRacing, ACC, Le Mans Ultimate, and AMS2.
Race format
Session duration (min)
Lap time (min)
Seconds (s)
Fuel per lap (L)
Tank capacity (L)
Safety margin (laps)
Recommended fuel77 L
Safe fuel (+1 lap)79.8 L
Minimum fuel74.1 L
Race laps25 (27 total)
Max laps per stint38 laps (~68.7 min)
Pit stops required0
Starting fuel load77 L
Total pit refuel+0 L
Use from the terminal (JSON)
This tool also runs outside the site: the cli.js script uses the same logic as this page and returns the result as JSON. Parameters are the same as this page's URL — copy the command below with the values on screen.
Deno
deno run -q "https://tools.thecodecodex.com/cli.js?tool=race-fuel"
Node.js / Bun
curl -s https://tools.thecodecodex.com/cli.js | node --input-type=module - race-fuel mode=…
| Parameter | Description | Default |
|---|---|---|
| mode | time | laps | time |
| min | duração da corrida em minutos (mode=time) | 45 |
| laps | total de voltas (mode=laps) | 25 |
| lapsec | tempo médio de volta em segundos | 95 |
| cons | consumo por volta (litros) | 2.7 |
| tank | capacidade do tanque (litros) | 100 |
| form | 1 = inclui volta de apresentação | 1 |
| extra | 1 = corrida tem +1 volta após zerar o tempo | 1 |
| safe | voltas de margem de segurança | 1 |
Requires Deno, Node.js or Bun. With Deno the script runs with no permissions: it cannot read files or access the network. Central Bank indicators are from the day the site was published.
More in Games
- Sim Racing FOV CalculatorFind the correct field of view (FOV) for your rig — monitor, distance and screens — and the exact value for each racing game.
- Mouse Sensitivity & eDPI ConverterConvert your mouse sensitivity across CS2, Valorant, Overwatch 2, Rainbow Six, Fortnite, and Battlefield while keeping the exact same cm/360°.