Cable has to pass two tests
The first test is current. Can the cable carry the load without getting hot enough to damage its insulation. This is the safety test, and it is what a simple chart answers.
The second test is voltage drop. Does enough voltage still arrive at the far end for the equipment to work properly. This is the performance test.
A short run is nearly always decided by the first. A long run is nearly always decided by the second.
That is the trap. A cable can be perfectly safe and still deliver a supply too weak to start a pump. Nothing is overheating, nothing trips, and the pump just hums.
So the right size is whichever of the two tests demands more. This tool works both out and gives you the larger answer.
