The maximum length of wire to keep voltage drop under 5% varies based on the specific pump and motor, and can be found in the manufacturer's manual or consult with an expert. It's important to ensure your wire size is in sync with your breaker size, and to follow manufacturer recommendations for wire sizing, distance, temperature, connection type, starting amperage, and voltage drop.