A single-gang box 3 1⁄2 in. deep has a capacity of roughly 22 1⁄2 cu., enough space for a single device (receptacle or switch), three 12–2 w/grd cables, and two wire connectors. Choosing the correct electrical box dimensions is essential for safe wiring, code compliance, and long-term reliability. This. The distribution box (DB box) helps safely and efficiently distribute electrical power. Here are some guidelines to follow: The location and other requirements of a substation and switch rooms shall be as given. The National Electrical Code (NEC) provides comprehensive safety standards for electrical installations, including requirements for electrical panels (main service panels and subpanels or breaker box). New work boxes are designed to be attached to exposed framing, as is often the case in new.