All we have to do is find the current through the controller by using power = voltage x current. Take the power produced by the solar panels and divide by the voltage of the batteries. For example: Example: A solar array is producing 1 kw and charging a battery bank of 24V. The controller size is then 1000/24 = 41.67 amps.