It is not a single, fixed dimension but varies based on voltage and the surrounding environment. The table requires you to know two things: the equipment's nominal Voltage-to-ground and the installation. The National Electrical Code (NEC) article 110. This. The enclosure protects the electrical components from water, dust, and damage. The box is usually made of steel or plastic. Steel is strong and durable, great. I have an electrical box that is set about 1/8" too deep in the wall so when the switchplate is installed the receptable plugs are sunken into the plate and recessed. 26 (A) (1), (A) (2) and (A) (3).