The parameters needed are the load to be served, (what is amperage, wattage, horsepower, etc...), what are the load characteristics, (is it a motor, resistive load, etc...), what is the voltage at which the load operates and what is the distance from the source to the load.
There are code...