NEC (in the US) recommends no more than 3% voltage drop. For 12-gauge wire, operated at 20 amps, that would 51 feet. At that round-trip distance, there'd be 2.95% voltage drop.