Different people will have their own opinions about what gauge is proper for what length. The quality of the equipment can also play a factor. The following is a general guide for picking gauges for certain lengths.
0-25ft - 18AWG
25-50ft - 16AWG
50-75ft - 14AWG
75 & up - 12AWG