For a 30 amp extension cord, you would use a 10/3 wire. For example, a 30 amp cord for a 7,500-watt generator would be sufficient.