As a general rule, it is recommended that only a 6ft length of wire is used to connect a charge controller or inverter to a battery bank. The higher the voltage the longer the cable length can be, And copper cable give you a few more feet when compared to aluminum wire. But to better
answer your question can you give a quick recap of your system:
Load Size (both peak and daily total),
Load Distance to Inverter,
Inverter Size,
Inverter Distance to Battery Bank.
Battery Bank Size & Voltage,
Battery Bank Distance to Charge Controller,
Charge Controller Size/Amperage,
Charge Controller Distance to
Solar Array,
Solar Array Size
Here is a sample setup A
Solar Array: 3000W (300V x 10A) (Wire = 14AWG, 5% Voltage drop @ 250ft)
Charge Controller: (48V x 60A) (Wire = 14AWG, 5% Vdrop @ 6ft)
Battery Bank: (48V x 240AH) (Wire = 14AWG , 5% Vdrop @ 5ft, 48V, 80)
Inverter: 4,000W (48Vdc x 80A to 120Vac x 33A) (Wire to Load = 8AWG , 5% Vdrop @ 130ft,120Vac, 33A)
Load: 4KW peak and 12KWH per day (all at 120Vac)
Here is a sample setup B
Solar Array: 200W (12V x 16.8A) (Wire = 10AWG, 5% Voltage drop @ 15ft)
Charge Controller: (12V x 16.8A) (Wire = 10AWG, 5% Vdrop @ 15ft)
Battery Bank: (12V x 200AH) (Wire to Load= 1AWG, 5% Vdrop @ 30ft, 12Vdc, 67A)
Load Peak: 800W (12Vdc x 67A) (no inverter/ac, it's 100% DC)
Load Total: 800WH per day
https://www.calculator.net/voltage-drop-calculator.html