How to choose cables for different amps
The cable needs to be rated for the maximum current it has to carry, that's the main value you have to look for. As thiner cables have a higher resistance, this automatically leads to thicker cables required for higher currents. AWG (American Wire Gauge) is a standard that directly refers to a certain diameter.
For 30A you should aim for around \$4mm^2\$ or AWG11