Step 1: time on feet, not miles
A gel fuels an hour of effort, not a mile of road. So the first thing the calculator needs is how long you will actually be out there. If you give it a goal finish time it uses that directly. If you give it a distance and a goal pace, it multiplies the two to get your time on the move: 100 miles at 14.4 minutes per mile is about 24 hours. That total is what every other number hangs off of.
This is why a slow marathoner needs more gels than a fast one over the exact same 26.2 miles. More hours out there means more carbohydrate to replace, which means more gels. The distance does not change. The time does.