As a rule of thumb, if your 300W solar panel is rated at 24 Volts (nominal), and the distance between your solar panel and the solar charge controller is less than 25 feet (7.5m), a 12 AWG Copper wire would generally be sufficient.
[pdf] Compare price and performance of the Top Brands to find the best 12 kW solar system with up to 30 year warranty. Buy the lowest cost 12 kW solar kit priced from $1.10 to $2.00 per watt with the latest, most powerful solar panels, module optimizers, or micro-inverters.
[pdf] A 12V DC power inverter is a device that converts low-voltage direct current (DC) power from a 12V battery (such as a car battery or deep-cycle battery) into 120V alternating current (AC) power, making it suitable for household appliances and electronic devices.
[pdf]