Outlet Spacing Calculator (NEC 210.52)

Count the minimum receptacle outlets NEC 210.52 requires: wall spaces in feet under the 6-ft rule (receptacles at most 12 ft apart, spaces 2 ft or wider count) and wall countertop segments in inches under the 24-in rule (at most 48 in apart, 12 in or wider counts), with per-segment counts, totals, and prose notes on the 2023 island change and GFCI/AFCI protection.


NEC (NFPA 70) 2023 210.52(A)/(C), source-verified — encoded values identical in the 2020 edition

Wall Spaces — lengths in FEET

NEC 210.52(A): measure along the floor line, around corners; start a new segment at every doorway, fireplace, or fixed cabinet. Spaces under 2 ft wide need no receptacle.

Wall 1
ft
→ 1 receptacle

Countertop Segments — lengths in INCHES

NEC 210.52(C): wall countertop runs only, measured along the wall line in inches; start a new segment at every range, sink, or refrigerator. Segments under 12 in need no receptacle. Islands and peninsulas are not counted here — the 2023 NEC made their receptacles optional (see the note below).

Counter 1
in
→ 2 receptacles

Minimum Receptacles (NEC 210.52)

1
Wall — 210.52(A), ≤ 12 ft apart
2
Countertop — 210.52(C), ≤ 48 in apart
3
Grand total (minimum)

These are code MINIMUMS, not a layout. The math assumes each receptacle sits exactly where an isolated straight segment needs it (no point more than 6 ft away on walls, 24 in on counters); real rooms — stud positions, switches, door swings, furniture and appliance plans — routinely require more receptacles than the minimum.

Verified against the published 2023 NEC text; every number used here is identical in the 2020 edition. 2023 island change: island and peninsula receptacles are now OPTIONAL (2020 required one per the first 9 ft² plus one per additional 18 ft²), but omitting them requires a provision for future addition, and any installed must be on or above the counter per 210.52(C)(3) — so island counters are excluded from this count. GFCI (210.8) and AFCI (210.12) protection applies to most of these receptacles, and kitchen counters need two 20-A small-appliance circuits (210.11(C)(1)) — none of which is calculated here. Confirm with the edition your jurisdiction has adopted and with your inspector.

About Outlet Spacing Calculator (NEC 210.52)

The outlet spacing calculator counts the minimum receptacle outlets the National Electrical Code requires along dwelling-unit walls and kitchen countertops. Wall segments are entered in feet and counted under NEC 210.52(A): receptacles must be placed so that no point measured horizontally along the floor line of any wall space is more than 6 ft from a receptacle outlet — which caps the spacing between receptacles at 12 ft — and any wall space 2 ft or more in width counts, including space measured around corners. Doorways and similar openings, fireplaces, and fixed cabinets break a wall into separate spaces (the 2023 edition adds stationary appliances to that list).

Countertop segments are entered in inches and counted under NEC 210.52(C): every wall countertop or work surface 12 in or wider needs receptacles placed so that no point along the wall line is more than 24 in from one, capping the spacing at 48 in. The rules were verified against the published 2023 NEC text, and every number this tool encodes is identical in the 2020 edition. The results are code minimums for isolated straight segments: an exactly-12-ft wall needs one receptacle only if it sits at the midpoint, and practical layouts — switch locations, furniture plans, appliance positions — routinely add more. Islands and peninsulas are deliberately not counted here, because the 2023 NEC made their receptacles optional; see the FAQ. Always confirm with the edition adopted by your jurisdiction and your inspector.

How It Works

  1. Add each wall space as a length in FEET, measured horizontally along the floor line. Measure around corners as one continuous space, and start a new segment wherever a doorway, fireplace, fixed cabinet, or similar opening breaks the wall line.
  2. Add each wall countertop run as a length in INCHES along the wall line. Start a new segment where the counter is broken by a range, sink, or refrigerator. Leave islands and peninsulas out — the 2023 NEC handles them separately.
  3. Each wall segment 2 ft or wider gets ceil(length / 12 ft) receptacles; shorter segments need none and are marked as not counted. Each counter segment 12 in or wider gets ceil(length / 48 in); narrower segments need none.
  4. Read the per-segment counts next to each row and the wall, countertop, and grand totals in the results card.
  5. Treat every number as a code MINIMUM: place receptacles for how the space will actually be used, and confirm circuit, GFCI, and AFCI requirements separately — this tool counts outlets, it does not design circuits.

Worked Example

A living room has wall spaces of 14 ft, 11 ft, and 3 ft, plus an 18-in (1.5 ft) sliver beside a door. The 14-ft wall needs ceil(14 / 12) = 2 receptacles, the 11-ft wall needs 1, the 3-ft wall needs 1, and the 1.5-ft sliver is under the 2-ft threshold, so it needs none — 4 wall receptacles minimum. The kitchen has wall counter runs of 84 in, 30 in, and 10 in: the 84-in run needs ceil(84 / 48) = 2, the 30-in run needs 1, and the 10-in strip is under the 12-in threshold — 3 countertop receptacles minimum. The grand total is 7 receptacles, the code floor for these segments, not a layout.

Formulas

Wall spaces — NEC 210.52(A)
n_wall = L_ft < 2 ? 0 : ceil( L_ft / 12 )
Wall countertops — NEC 210.52(C)(1)
n_counter = L_in < 12 ? 0 : ceil( L_in / 48 )
Totals
total = sum(n_wall) + sum(n_counter)

Standards & References

  • NEC (NFPA 70) 2023 210.52(A) — dwelling-unit wall receptacle spacing (verified against the published code text; the encoded values are identical in the 2020 edition)
  • NEC 2023 210.52(C) — countertop and work-surface receptacles (wall segments; the 2023 edition made island/peninsula receptacles optional)
  • GFCI protection per NEC 210.8 and AFCI protection per NEC 210.12 apply to most of these receptacles but are not calculated here

Frequently Asked Questions

Why does the 6-ft rule mean outlets every 12 ft?

NEC 210.52(A)(1) says no point along the floor line of a wall space may be more than 6 ft, measured horizontally, from a receptacle outlet. A receptacle reaches 6 ft in each direction, so two adjacent receptacles may be up to 12 ft apart and still leave no point more than 6 ft from one of them. The intent is that a lamp or appliance with a standard 6-ft cord can reach an outlet from anywhere along the wall without an extension cord. That is also why an exactly-12-ft wall needs only one receptacle — placed at the midpoint it is 6 ft from either end — while a 12-ft-1-in wall needs two.

What counts as "wall space," and what breaks it?

Per 210.52(A)(2), wall space is any space 2 ft or more in width, including space measured around corners, and it runs unbroken along the floor line until interrupted by a doorway or similar opening, a fireplace, or a fixed cabinet without a countertop (the 2023 edition adds stationary appliances to the list). Fixed panels such as the glass beside a sliding door count as wall space even though you cannot put furniture there, and fixed room dividers like freestanding bar-type counters and railings are counted too. Each broken piece 2 ft or wider is measured as its own segment; slivers under 2 ft need no receptacle.

What changed for kitchen islands in the 2023 NEC?

Under the 2020 NEC, an island or peninsula countertop required at least one receptacle for the first 9 ft² of surface plus one more for each additional 18 ft². The 2023 NEC reversed course: island and peninsula receptacles are now optional, but if you omit them you must still provide for a future receptacle (for example, a junction box on the required small-appliance circuit inside the island cabinet), and any receptacle you do install must sit on or above the countertop per 210.52(C)(3) — below-overhang receptacles were dropped after child-injury reports of appliances pulled off counters by their cords. This calculator therefore counts wall countertop segments only; check which edition your jurisdiction has adopted before finalizing an island.

Does this tool tell me how many circuits, or where GFCI/AFCI is required?

No — it counts required receptacle outlets, not circuits or protection. Kitchen countertop receptacles must be served by at least two 20-A small-appliance branch circuits (NEC 210.11(C)(1)), countertop and other kitchen/bath/garage/outdoor receptacles need GFCI protection per 210.8(A), and most dwelling living-area circuits need AFCI protection per 210.12. Those requirements attach to the circuits and locations, not to the counts here, so size and protect the circuits separately — our electrical-load calculator covers service and feeder sizing.

Are these counts enough for a real room layout?

They are the code floor, not a design. The math places each receptacle optimally along an isolated straight segment, but real receptacles land where studs, switches, and furniture allow, corners concentrate coverage, and inspectors read the 6-ft rule against the wall line as built — around every corner and behind every door swing. Most electricians add receptacles beyond the minimum for TV walls, desks, bedside tables, and holiday-light soffits. Use the totals as a floor for takeoffs and sanity checks, then lay out the actual boxes on the plan.