How far should I install my inverter/UPS away from battery?

Ideally an inverter/UPS should be installed within 10 feet away from battery bank. If you extend this distance, you should use thicker cable.