The loot calculator calculates the maximum loot you will receive based off a pasted spy report. It also specifies how many cargo ships will be needed to collect the loot.
How to use
Paste a spy report including the header of the report table into the box below. Select the port and warehouse level of the town the spy report was collected from.
Additionally you can select the town hall level, and input the amount of gold the player has.