The calculation is of the type known as "back of envelope," sometimes abbreviated as "BOE." In other words, it only provides the rough order of magnitude of the effect under study. This should be obvious, since the amount of fuel varies substantially depending on where you are in the wing.
How it was calculated is simple. NIST provides (a) a graph of the fuel tank dimensions as seen from above, (b) an estimate of the total volume of fuel in the tank, and (c) the approximate fill line of the tank. From those, one can derive a good representative estimate for a simple model.
I believe that everyone understands this except the no-planer morons, and those folks don't understand much of anything so I'm excluding them from discussion. But if there's anyone else who's confused, just ask. Thanks.