Electrical

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.

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.

  • Answers as you type
  • 3 sources cited
  • Calculated in your browser
SettingsSettings for this calculationUS
Market
Imperial · sales tax
Receptacles and switches share a box, a plate and a cable drop; the choice names the rows.

A receptacle is called an outlet in the US and a socket in the UK and Australia. Run the page once for each kind on the plan, since their boxes are often ganged differently.

How many outlet or switch symbols the drawing shows.

Count from the electrical layout, or let the plan takeoff count the symbols and send the figure here. A duplex receptacle or a double socket drawn as one symbol counts once.

One for a single-gang box; two where two switches sit side by side under one plate.

Switches by a door are often ganged two or three to a box. Outlets are nearly always one device to a box, a double socket included.

Your measured run from the previous box (or the supply) to each box, along the route the cable takes.

Take it off the plan along the studs and joists, up and down the walls included, not as the crow flies. The opening figure is a placeholder to replace with your own; the average of a few measured runs is a fair entry for a whole floor.

Tools needed: Scale rule or the plan takeoff, Tape measure

The spare cable left in the box for making off, counted twice per box: the cable in and the cable on.

The NEC asks for at least 6 in (150 mm) of free conductor at each box. Many electricians leave more for a second go at the termination.

Extra for bends round obstacles, a drop that wanders and the end of the reel.

Set it to zero if your measured runs already include the slack.

Cable for the counted points

211 ft

Medium confidence

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.

Boxes
12 boxes
Receptacles (outlets or sockets)
12 receptacles
Cover plates
12 plates
Cable before the allowance
192 ft
Then change the inputs to see how far the answer moves.

Show calculation logic

How this was calculated

Formula source(s)

  • 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
  • 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
  • BS 4662: boxes for the flush mounting of electrical accessories, the single and dual back boxes a UK socket or switch plate fixes to

Inputs used

What Was Counted
Outlets (receptacles or sockets)
Number Counted
12
Devices per Box (Gangs)
1
Cable Run to Each Box
15 ft
Tail Left at Each End
6 in
Cable Allowance (%)
10

Intermediate steps

Boxes
12 boxes
Receptacles (outlets or sockets)
12 receptacles
Cover plates
12 plates
Cable before the allowance
192 ft
Final result211.2 ft

Confidence note: 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.

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.

Estimated cost — your price

This site holds no price list for this material — local prices vary too much to publish honestly. Enter your supplier's price and the result is costed with it.

15 ft
Schematic, drawn to the proportions you entered — not to scale on screen.

Computed in your browser — nothing you enter is uploaded. Presented in US customary units and US trade terminology. Where a formula follows a published standard, that standard and its edition are cited beside it on this page; where none governs, the page says so. Local amendments override model codes — verify against the code in force where you build.

Sources checked 2026-10-31 · 2 test vectors · v1.0.0

Regulatory standards & verification citations3
  1. 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
  2. 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
  3. BS 4662: boxes for the flush mounting of electrical accessories, the single and dual back boxes a UK socket or switch plate fixes to

Which documents these citations point at

  • National Electrical Code (NFPA 70) (United States)Electrical installations — conductor sizing and protection, load calculation, wiring methods, grounding and working clearances.

A code or standard has force only where a jurisdiction has adopted it, usually with local amendments. This site holds no adoption data for any authority, so check what is in force with the authority where you build. Any section cited above without an edition should be checked against the edition in force where you build. What it would take to know.

Cite this page

Your workspace

Most jobs need more than one number. Add the calculators you need next and they open right here, underneath this one — your figures stay on screen and nothing is lost to a page change.

Protection this work requires

  • Stop and check first. Textured ceiling coatings, board behind panels, floor tiles and bitumen adhesive in older buildings — built before asbestos was banned or phased out where you are — can contain asbestos, and drilling or sanding them releases fibres. Do not disturb it — have it sampled first. This is not a job for better PPE.

Tools and safety for this job

To first-fix electrical. Generic types, no brands, no prices.

  • Assume every cable is live until proved dead at the point you will touch, with a two-pole tester you have just proved on a known source.

First-fix electrical: This site does not publish a tool list for electrical installation work. In every market it serves, fixed wiring is either reserved to a registered electrician or notifiable to a building authority, and the failure mode is a fire or an electrocution months later rather than a visibly bad job on the day. The calculator gives you the quantities to discuss and to buy against. The installation is a job for a qualified electrician, and the certificate they issue is the point of them.

How to calculate outlet and switch rough-in (receptacles or sockets: boxes, devices, plates and cable) in 7 steps

  1. What Was CountedReceptacles and switches share a box, a plate and a cable drop; the choice names the rows.
  2. Number CountedHow many outlet or switch symbols the drawing shows.
  3. Devices per Box (Gangs)One for a single-gang box; two where two switches sit side by side under one plate.
  4. Cable Run to Each BoxYour measured run from the previous box (or the supply) to each box, along the route the cable takes.
  5. Tail Left at Each EndThe spare cable left in the box for making off, counted twice per box: the cable in and the cable on.
  6. Cable Allowance (%)Extra for bends round obstacles, a drop that wanders and the end of the reel.
  7. Cable for the counted pointsThe tool computes the cable for the counted points from those figures and shows the formula, its sources, and a confidence rating alongside it.

Cable for the counted points by cable run to each box

Page defaults, not your figures above.

Cable Run to Each BoxCable for the counted points (ft)
10 ft145
15 ft211
20 ft277
25 ft343

Frequently asked questions

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.
Preliminary estimate, not certified engineering. This tool produces an indicative quantity calculation for planning purposes only — it is not a certified structural analysis, a guaranteed material takeoff, or a substitute for building department approval. Always verify measurements on-site and have a licensed contractor or structural engineer review any load-bearing, code-sensitive, or safety-critical work before purchasing materials or starting construction. Spotted an arithmetic or standards error? Report it to contact@craftquantities.com with your inputs — a confirmed fix gets a permanent check of its own, so the same mistake cannot come back.