# Outlet and Switch Rough-In Calculator (Receptacles or Sockets: Boxes, Devices, Plates and Cable)

> From a count of outlets or switches: boxes, devices, cover plates and the cable your own run per box adds up to.

Page: https://craftquantities.com/calculators/electrical/outlet-switch-rough-in-calculator/ (calculator). This is the page's Markdown copy; the HTML page is the canonical version.

Version 1.0.0, sources checked 2026-10-31, 2 published test vectors.

Cable for the counted points: 211 ft for Number Counted 12, Devices per Box 1 and Cable Allowance 10, the page's opening figures; on the metric page, 12, 1 and 10 give 63.4 m. Source: NFPA 70, National Electrical Code (2023), 300.14.

## Inputs

A length, area or volume is entered with its unit. The page opens on the values below: a metric reader sees the metric column, a US customary reader the other.

| Input | id | Opens at (metric) | Opens at (US customary) | Accepts |
|---|---|---|---|---|
| What Was Counted | `deviceType` | Outlets (receptacles or sockets) | Outlets (receptacles or sockets) | `receptacle`, `switch` |
| Number Counted | `deviceCount` | 12 | 12 | range 1–500 |
| Devices per Box (Gangs) | `devicesPerBox` | 1 | 1 | range 1–4 |
| Cable Run to Each Box | `runPerBox` | 4.5 m | 15 ft | mm, cm, m, in, ft, yd; range 0.1–60 m |
| Tail Left at Each End | `tailLength` | 150 mm | 6 in | mm, cm, m, in, ft, yd; range 0–1 m |
| Cable Allowance (%) | `allowancePercent` | 10 | 10 | range 0–50 |

- **What Was Counted**: Receptacles and switches share a box, a plate and a cable drop; the choice names the rows.
- **Number Counted**: How many outlet or switch symbols the drawing shows.
- **Devices per Box (Gangs)**: One for a single-gang box; two where two switches sit side by side under one plate.
- **Cable Run to Each Box**: Your measured run from the previous box (or the supply) to each box, along the route the cable takes.
- **Tail Left at Each End**: The spare cable left in the box for making off, counted twice per box: the cable in and the cable on.
- **Cable Allowance (%)**: Extra for bends round obstacles, a drop that wanders and the end of the reel.

## The answer on the opening values

Worked exactly as the page works it, on the values each system opens on.

### Metric

| Result | Value |
|---|---|
| **Cable for the counted points** | 63.4 m |
| Boxes | 12 boxes |
| Receptacles (outlets or sockets) | 12 receptacles |
| Cover plates | 12 plates |
| Cable before the allowance | 57.6 m |

### US customary

| Result | Value |
|---|---|
| **Cable for the counted points** | 211 ft |
| Boxes | 12 boxes |
| Receptacles (outlets or sockets) | 12 receptacles |
| Cover plates | 12 plates |
| Cable before the allowance | 192 ft |

- Confidence: medium.

## How it is worked out

12 receptacles in 12 boxes, the cable on the run you entered. Circuit design, protection, cable sizing and the work itself are for a qualified or licensed electrician, under the rules where you build.

The working the page shows, in order: Boxes; Receptacles (outlets or sockets); Cover plates; Cable before the allowance; then cable for the counted points.

The method, derived in full:

- [Quantity, Waste and Rounding](https://craftquantities.com/methodology/quantity-waste-and-rounding/): Why a material count is a ceiling function rather than a division, and why the waste factor — not the geometry — carries the risk.

What this calculation does not cover:

- A count of parts, not a wiring design. How many circuits the points go on, the cable's size and type, arc-fault or residual-current protection and the route are a qualified electrician's decisions under the code adopted where you build, and the installation is theirs to carry out and certify.
- The cable is the run you enter for every box, plus a tail in and a tail out at each one, with your allowance on top. A switch loop, a three-way or two-way switch that needs an extra core, or a home run back to the panel are different lengths and cables; measure those separately.
- Box volume is not chosen here. A box crowded with conductors, a device and clamps has to be large enough for all of them, which the box fill page works out to NEC 314.16.
- One device per symbol. A plan that draws a double socket or a duplex receptacle as one symbol is one device here; a fused spur, a USB socket or a smart switch is still one device but may need a deeper box.
- Weather-resistant, tamper-resistant and ground-fault types, and in-use covers outdoors, are a choice of product the count does not make.

A professional must decide:

- A count of parts, not a wiring design. How many circuits the points go on, the cable's size and type, arc-fault or residual-current protection and the route are a qualified electrician's decisions under the code adopted where you build, and the installation is theirs to carry out and certify.
- Electrics: circuit design, protection, cable sizing and the work itself are for a qualified or licensed electrician, under the rules where you build.

## Sources

As the calculator cites them (sources checked 2026-10-31):

- NFPA 70, National Electrical Code (2023), 300.14: at least 6 in (150 mm) of free conductor at each outlet, junction and switch point, extending at least 3 in (75 mm) outside a box opening smaller than 8 in <https://www.nfpa.org/codes-and-standards/nfpa-70-standard-development/70>
- NFPA 70 (2023), 404.9(A) and 406.6: a switch or a receptacle mounted in a box is finished with a faceplate that completely covers the opening <https://www.nfpa.org/codes-and-standards/nfpa-70-standard-development/70>
- BS 4662: boxes for the flush mounting of electrical accessories, the single and dual back boxes a UK socket or switch plate fixes to <https://knowledge.bsigroup.com/products/boxes-for-flush-mounting-of-electrical-accessories-requirements-test-methods-and-dimensions>

The site's pages for the documents these name:

- [National Electrical Code (NFPA 70)](https://craftquantities.com/standards/nfpa/nec/)

A code or standard has force only where a jurisdiction has adopted it, usually with local amendments; check what is in force with the authority where you build.

## Questions answered on the page

**What do I buy for each outlet on the plan?**

A box to fix it in, the receptacle or socket itself, a cover plate and the cable that reaches it. Ganged switches change the count of boxes and plates but not of devices: nine switches set two to a box take five boxes and five plates.

**How long a cable tail should be left in the box?**

The US code asks for at least 6 in (150 mm) of free conductor at every box, enough to reach 3 in (75 mm) past the front of a small box. This page counts a tail for the cable arriving and another for the cable going on to the next point.

**Does the page tell me which cable or breaker to use?**

No. It adds up lengths and pieces from your count and your measured run. The circuit, the cable's size, its protection and the installed work are for a qualified electrician working to the code where you build.

## Related calculators

- [Electrical Box Fill Calculator (NEC 314.16, US)](https://craftquantities.com/calculators/electrical/box-fill-calculator/)
- [Outlets Per Circuit Calculator](https://craftquantities.com/calculators/electrical/outlets-per-circuit-calculator/)
- [Outlet Spacing Calculator](https://craftquantities.com/calculators/electrical/outlet-spacing-calculator/)
- [Lighting Circuit Connected Load Calculator](https://craftquantities.com/calculators/materials-quantities/lighting-circuit-load-calculator/)

## Run it from a program

- REST: `GET https://api.craftquantities.com/v1/calculate/outlet-switch-rough-in-calculator` with each input as a query parameter, a length, area or volume with its unit; `https://api.craftquantities.com/v1/describe/outlet-switch-rough-in-calculator` lists the inputs.
- MCP: the `calculate` tool at https://api.craftquantities.com/mcp with `slug` `outlet-switch-rough-in-calculator`.
- Definition and test vectors: https://craftquantities.com/api/v1/calculators/outlet-switch-rough-in-calculator.json

---
Source: https://craftquantities.com/calculators/electrical/outlet-switch-rough-in-calculator/
Craft Quantities: free to read, cite and link to; the pages are not licensed for republication. Quantities only: no prices, no design and no certification.
