This is part 1 in a series of posts about writing an app that does fuel calculator/strategy for iRacing. Fuel Calculator What’s a fuel calculator anyway? Imagine a 30 lap race in a car that can only run 20 laps on a full tank of gas. At some point in the race you need to stop and get more gas. You could stop at lap 10, top up and run to the end, or stop at lap 20 and take half a tank to get you to the end.