Enter Room Details

Results update live as you type. Mixed units welcome.

Electrical outlet calculator diagram of a room wall run outlet spacing with a 6-foot reach and a kitchen countertop 16 feet 96 inches 6 feet 4 × 8 feet
Counts use the edition your jurisdiction has adopted — the island and cabinet rules differ. See the adoption card below.
Manual: enter each wall space yourself — best for unusual L-shapes. Room Wizard: enter the room's size and openings and the calculator splits the walls for you. Countertops and the island are entered the same way in both modes.
Each continuous wall space between doorways, fireplaces, and (edition rules) fixed cabinets is one run — space around a corner is one run too. Shorter than 2 feet is exempt.
More than four runs? Add one run of the remaining total length — the count is linear in length.
Each countertop along a wall that is 12 inches or wider needs receptacles so no point is more than 24 inches from one — a 48-inch maximum spacing, rounded up per segment.
A sink, range, or similar appliance splits one counter run into separate segments — enter each piece; pieces under 12 inches wide need no receptacle.
2020 NEC: 1 receptacle for the first 9 sq ft of countertop, +1 for every additional 18 sq ft. 2023 NEC on: none required, but provisions for future installation are.
Click any location to see its exact NEC requirement. Toggled locations and the counts below are added to the total above.
The 2020 NEC changed this to one receptacle in EACH vehicle bay — a two-car garage needs two.
Sets the single currency for the whole estimate — the GFCI and labor prices below display in the same currency, as does the PDF export.
Split: receptacles on counters, islands, and wet locations (kitchen counters, bathrooms, laundry, garage, outdoors) are GFCI per 210.8 — everything else counts as a standard device. Typical US materials run $2–$15 per standard receptacle and $15–$35 per GFCI. Leave all three blank for a quantity-only takeoff.
LIVE CALCULATION

Results

Outlets Needed
4
minimum receptacle outlets · NEC 2023
Walls 16 ft · Counter 96 inches · Island 4 × 8 feet

Wall Outlets (210.52(A))

Wall Space 1 (16 ft)2
Wall Space 20
Wall Space 30
Wall Space 40
Wall Outlets Subtotal2

Countertop Outlets (210.52(C)(1))

Counter Segment 1 (96 inches)2
Counter Segment 20
Counter Segment 30
Countertop Subtotal2

Island & Peninsula (210.52(C)(2)–(3))

Countertop Area32 ft²
Required Outlets0
Placement RequirementNone required — provisions for future installation

Receptacles That Don't Count

Built into a luminaire or applianceExcluded
Controlled by a switch / wall-mounted control deviceExcluded — one half of a duplex can count
Inside a cabinet or cupboardExcluded
Above 5½ feet on the wallExcluded
More than 18 inches from the wall (floor box)Excluded

Fixed-Location Receptacles (210.52(D)–(I))

Bathroom Basins—
Garage Vehicle Bays—
Outdoor, Front & Back—
Balcony, Deck, or Porch—
Laundry Area—
Unfinished Basement—
Accessory Building—
Hallway 10 ft+—
Fixed-Location Subtotal0

Device Takeoff & Estimated Cost

Standard receptacles (walls, hallway, basement, accessory)2
GFCI receptacles (counters, island, wet locations)2
Standard devices × unit price—
GFCI devices × unit price—
Labor (all devices × rate)—
Estimated Total—

Calculation Assumptions

NEC Edition2023
Wall Ruleceil(run ÷ 12 ft) · 2 ft+ spaces
Countertop Ruleceil(segment ÷ 48 inches) · 12 in+ segments
RoundingRound up per run or segment

What You Get

ON THIS PAGE:

Written & Reviewed by Editorial Team.

MyBuilderBase is an independent construction calculator and information project. Content is researched and prepared with the assistance of AI tools, followed by editorial review for clarity, consistency, calculation logic, and usability.

Editorial review is not professional engineering, architectural, or building-code approval.

Editorial Policy ›
Last updated: October 23, 2026

How the NEC Outlet Math Works

NEC 210.52 sets minimum receptacle placement for dwelling units, and every rule in it follows the same shape: a receptacle covers a fixed reach along the floor line or countertop line in both directions, so the maximum spacing between two receptacles is twice that reach, and the minimum count for a run of length L is L divided by that maximum spacing, rounded up:

wall run (L ft) → ceil(L ÷ 12)  [210.52(A) ± 2026 cabinet rule]
counter segment (L in) → ceil(L ÷ 48)  [210.52(C)(1)]
island / peninsula → edition rule [210.52(C)(2)–(3)]

Rounding up is not a safety margin — a fractional receptacle is simply another whole receptacle, because a 12 ft wall needs exactly 1, a 16 ft wall needs 2, and a 25 ft wall needs 3. The spacing rule gives you the layout, too: the first receptacle must be within the reach distance of each end (6 feet on a wall, 24 inches on a counter), and no two adjacent receptacles may be farther apart than twice the reach.

Treat each run and each counter segment separately and sum the counts. A sink, range, or similar appliance splits one counter run into separate segments; likewise a doorway, fireplace, or (edition-dependent) cabinet splits a wall run. Space measured around a corner is one continuous run — splitting it at the corner can add a receptacle the code does not require.

What Counts as Wall Space

Under 210.52(A)(2), a wall space is any space 2 feet or more in width, unbroken along the floor line by doorways and similar openings, fireplaces, and (by edition) fixed cabinets and stationary appliances. The 2-foot threshold is absolute: a 23-inch gap needs no receptacle, a 26-inch gap does. What counts as a break changed across editions:

Feature along a runNEC 2020NEC 2023NEC 2026
Doorway or similar openingBreakBreakBreak
FireplaceBreakBreakBreak
Fixed cabinet without counterBreakBreakBreak
Fixed cabinet with counterWall spaceWall spaceBreak — not wall space
Stationary applianceWall spaceBreakBreak
Fixed room divider / railingWall spaceWall spaceWall space
Fixed panel of a sliding glass doorWall spaceWall spaceWall space

Two details trip inspections repeatedly. First, fixed room dividers and the fixed panel of a sliding glass door count as wall space — a long fixed railing separating two living areas needs a receptacle within 6 feet of its end, which often means a floor box. Second, measuring must go around corners: 3 feet to a corner plus 4 feet along the next wall plus 5 feet to the receptacle adds up to 12 feet, right at the limit.

A floor receptacle counts toward the required wall outlets only under 210.52(A)(3): it must be within 18 inches of the wall and installed in a listed floor box per 314.27(B). One out by the coffee table is fine to install, but it does nothing for the spacing rule.

Rules by Edition: 2020 / 2023 / 2026

The wall and countertop rules above have been stable for years; the island rules and the wall-space definition keep changing. This calculator implements each edition exactly:

RuleNEC 2020NEC 2023NEC 2026
Wall reach (210.52(A)(1))No point on the floor line more than 6 ft from a receptacle — ceil(L ÷ 12) per run
Wall spaces (210.52(A)(2))2 ft+ wide; fixed cabinets without counters break runs2020 rule + stationary appliances break runsSame, but all fixed cabinets exclude from wall space
Wall countertop (210.52(C)(1))12-inch+ countertop; no point more than 24 in from a receptacle — ceil(L ÷ 48) per segment
Island / peninsula (210.52(C)(2))1 for the first 9 sq ft or fraction, +1 per additional 18 sq ft or fractionNone required; provisions for future installation required if none installedSame as 2023; final placement rules carried forward
Peninsula end ruleAt least one within 2 ft of the outer endApplies when a receptacle is installed (2019-referenced placement, no count change)
Where installed receptacles goOn/above counter (max 20 in above), in counter, or up to 12 in belowOn or above the countertop (max 20 in above), or in the countertop in a listed assembly — not belowSame as 2023; below-countertop receptacles must be at least 24 in below the surface, and drawer receptacles do not count toward the requirement

The 2023 change ending the island requirement came from injury data: cord-and-plug cooking appliances pulled off the counter by snags were a documented burn hazard, and the panel chose to remove the mandate rather than keep forcing receptacles onto islands. If no receptacle is installed, provisions for future installation are still required — a raceway, cable, or accessible junction box that lets a receptacle be added later without demolition.

Switched receptacles: a receptacle controlled by a wall switch (wall-mounted control device in 2026 wording) does not count toward spacing in any edition; the standard fix is breaking the tab on a duplex so one half is always live. The 2026 list items for receptacles that don't count clarify the half-duplex treatment explicitly.

Receptacles That Don't Count Toward Spacing

You can install a receptacle almost anywhere — but four kinds cannot be used to meet the 210.52 spacing rules, in every edition:

Receptacle TypeCounts?Why
Part of a luminaire or applianceNoA built-in receptacle on a fixture or piece of equipment isn't a receptacle outlet for spacing
Controlled by a wall switch / control deviceNoOne half of a duplex can count if the other half is always hot
Inside cabinets or cupboardsNoEven if it falls within the 12-foot span
More than 5½ feet above the floorNoA TV receptacle at 6 feet doesn't count — a lower one does the work
Floor receptacle >18 inches from the wallNoCounts only within 18 inches, in a listed floor box (314.27(B))
In a drawer (2026, kitchen islands)No (for the island)Allowed to install, but not a substitute for the required receptacle

The rule is about receptacle outlets, not duplex devices — a single receptacle meets it just as well. And residential basements, garages, and utility receptacles follow GFCI and circuit rules from other sections: 210.8 for GFCI protection (all kitchen receptacles in 2023 on, balconies, laundry, garage, basements, outdoors), 210.12 for AFCI in dwelling habitable spaces, and 210.11 for the small-appliance and laundry branch circuits behind those receptacles.

Fixed-Location Receptacle Requirements (Reference)

These receptacles are required by location, not by spacing — they add to the counts this calculator produces for wall and countertop runs. Use the toggles inside the calculator to add any of these locations to the live total; each toggle shows the exact requirement below it, including the GFCI protection that applies per 210.8. The reference table below is written from NEC 210.52 itself (2020 edition subsection numbers; the placement conditions below survive into 2023 and 2026):

LocationRequirementNEC Reference
BathroomAt least one receptacle within 3 ft of the outside edge of each basin210.52(D)
Outdoor, one- & two-familyTwo receptacles accessible at grade (one front, one back), not more than 6½ ft above grade210.52(E)(1)
Balcony, deck, or porchAt least one receptacle accessible from inside the dwelling210.52(E)(3)
Laundry areaAt least one receptacle (on the required laundry branch circuit)210.52(F)
Garage — attached, or detached with electric powerOne receptacle in each vehicle bay, not more than 5½ ft above the floor (2020 change: per bay, not per garage)210.52(G)(1)
Accessory building with electric powerAt least one receptacle outlet210.52(G)(2)
Unfinished basementOne receptacle in each separate unfinished portion210.52(G)(3)
HallwayAt least one receptacle where the hallway is 10 ft or longer210.52(H)
Foyer not part of a hallwayWhere the foyer is over 60 sq ft: one receptacle in each wall space 3 ft or wider (unbroken by doorways)210.52(I)
Kitchen & dining small-appliance areasAll receptacles (and refrigerator outlet) served by two or more 20 A small-appliance branch circuits — a circuit-count question, see our Small-Appliance Circuit tooling210.52(B)

Worked sum for a one-family dwelling: two bathroom basins take one well-placed receptacle within 3 ft of each; a two-car garage takes two (one per bay); an unfinished basement takes one per open portion; a 14-foot hallway takes one; a rear deck takes one; outside takes two at grade; and an 80-square-foot foyer takes one in each qualifying wall space. Those fix the locations — the calculator above fixes the spacing counts along the walls and counters.

Electrical outlet calculator room guide: electrician installing a white duplex receptacle into a wall box with Romex cable visible, showing standard residential receptacle placement practice
A duplex receptacle set into a wall box during rough-in — the count comes from 210.52 spacing, the protection from 210.8, and the box fill from 314.16.

Worked Example

Take the calculator's defaults, which model a living room with an attached kitchen run: a 16-foot wall space, a 12-foot (96-inch) countertop segment, and a 4 × 8-foot island (32 square feet), under the 2023 NEC:

StepCalculationResult
Wall countceil(16 ÷ 12)2 (first within 6 ft of each end, 12 ft apart max)
Countertop countceil(96 ÷ 48)2 (first within 24 in of each end, 48 in apart max)
Island, 2023 ruleRequirement removed0 — provisions for future installation required
Same island, 2020 rule1 + ceil((32 − 9) ÷ 18) = 1 + ceil(1.28)3 (9 sq ft covered by the first; 23 sq ft over → 2 more)
Room minimum (2023)2 + 2 + 04 receptacle outlets

More checks you can reproduce in the calculator: a 12-foot wall needs 1 receptacle (midpoint reach covers both ends), a 25-foot wall needs 3, a 48-inch counter segment needs 1, a 49-inch segment needs 2, and any counter piece narrower than 12 inches needs none. Switch the edition to 2020 and watch the island line go from "none required" to 3, or to 2026 and see the cabinet and switched-receptacle wording change.

Editions & Adoption

The NEC is revised every three years, but each state or municipality adopts editions on its own schedule, often with local amendments. Whichever edition your jurisdiction enforces is the one to measure against — the differences here matter: a kitchen island that needs 3 receptacles under the 2020 NEC needs none under 2023 or 2026, and the 2026 wall-space cabinet rule changes counts in kitchens with substantial cabinetry.

EditionStatusWhat This Tool Does for It
2017 and olderStill enforced in a few jurisdictionsNot supported — wall and counter counts are the same, but verify the island placement rules separately
NEC 2020Most widely adopted as of 2026Supported: per-area island rule, cabinets-without-counters wall break, per-bay garage receptacles
NEC 2023Default in this toolSupported: island optional + future provisions, stationary appliances break wall runs, in-countertop listed assemblies
NEC 2026Newest edition, adoption in progressSupported: fixed cabinets excluded from wall space, wall-mounted control device wording, 24-in-below-countertop rule and drawer exception
Electrical outlet calculator code guide: GFCI receptacle with test and reset buttons installed near a kitchen sink next to white cabinet, showing wet-location outlet protection
A GFCI receptacle beside a kitchen sink — spacing counts are 210.52's job; shock protection in wet locations is 210.8's, and it's module-external to the counts on this page.

For a live picture of which edition your state has adopted, check the NEMA National Electrical Code adoption tracker (linked in the references below), then confirm local amendments with your building department — cities also amend, sometimes aggressively, and this tool does not track local editions.

Frequently Asked Questions

What is the 2–6–12 rule for electrical outlets?▼

NEC 210.52(A)(1) requires that no point measured horizontally along the floor line of any wall space be more than 6 feet from a receptacle outlet. Because a receptacle reaches 6 feet each way, receptacles end up no more than 12 feet apart, with the first one within 6 feet of each doorway or other opening. The 2 in the rule is 210.52(A)(2): any wall space 2 feet or wider needs a receptacle — a wall shorter than 2 feet wide does not require one.

How many outlets do I need on a 16-foot wall?▼

Two, in every NEC edition from 2014 through 2026. Divide the run by the 12-foot maximum spacing and round up: 16 ÷ 12 = 1.33, so 2 receptacles. Place the first within 6 feet of one end, the second no more than 12 feet from the first — that keeps every point on the wall within 6 feet of an outlet. A 12-foot wall needs only 1, and a 25-foot wall needs 3.

How far apart do kitchen countertop outlets have to be?▼

NEC 210.52(C)(1) requires a receptacle at each wall countertop or work surface 12 inches or wider, placed so no point along the wall line is more than 24 inches from an outlet. That is a 48-inch maximum spacing with the first one within 24 inches of each counter end. A 12-foot (144-inch) counter run needs 3 receptacles; a 4-foot (48-inch) run needs 1; a 49-inch run needs 2. A counter piece narrower than 12 inches is exempt.

Do kitchen islands need a receptacle under the current NEC?▼

No — the 2023 NEC removed the long-standing island and peninsula receptacle requirement. If you install none, you must provide provisions for future installation, such as a raceway, cable, or accessible junction box. If you do install one, it goes on or above the countertop (no more than 20 inches above it) or in the countertop using a listed receptacle assembly — not below it. The 2026 NEC adds that a receptacle below the countertop must be at least 24 inches below the surface, and drawer receptacles are allowed but do not count as a required receptacle.

Does a receptacle controlled by a wall switch count toward the spacing requirement?▼

No. A receptacle controlled by a wall switch (or by a wall-mounted control device, the wording in the 2026 NEC) cannot meet the 210.52 spacing rules. The standard fix is to break the tab on a duplex receptacle so one half is always hot and the other half is switched — the unswitched half still counts. For the same reason, a receptacle built into a luminaire or appliance, one inside a cabinet or cupboard, and one mounted above 5½ feet on the wall do not count either.

Which rooms do the wall spacing rules apply to?▼

NEC 210.52(A) lists kitchens, family rooms, dining rooms, living rooms, parlors, libraries, dens, sunrooms, bedrooms, recreation rooms, and any similar room. Hallways have their own rule (one receptacle when the hallway is 10 feet or longer), and bathrooms, garages, basements, laundries, and outdoors have fixed location requirements — see the reference table above.

Do fixed cabinets count as wall space for outlets?▼

In the 2020 and 2023 NEC, fixed cabinets that do not have countertops or similar work surfaces are excluded from wall space — but the space behind cabinets with a countertop counts. The 2026 NEC excludes fixed cabinets entirely: the space they occupy is simply not wall space. Measure your wall runs for the edition your jurisdiction enforces, because the same kitchen can require different counts.

Does a floor receptacle count toward the wall spacing requirement?▼

Only if it meets 210.52(A)(3): a floor receptacle counts toward required wall outlets only when it is within 18 inches of the wall, and it must be in a listed floor box per 314.27(B). A floor receptacle out by the sofa or coffee table is allowed but does not satisfy the wall spacing rule — that is also how fixed railings and glass walls get handled, since they count as wall space.

How does the Room Wizard split the room's walls?▼

The Wizard starts four runs from the room's two length walls and two width walls, then deducts each opening's width — doorways, fireplace, cabinets, stationary appliances — from the longest remaining run, one break at a time. That is the conservative reading: it assumes each break lands on a different run, so a break that actually falls twice on the same run can only reduce the true count. Each resulting run is then counted exactly like the manual mode: runs under 2 feet are exempt, and every run of 2 feet or wider needs ceil(length ÷ 12) receptacles. Corner-continuous placement can occasionally save a receptacle in small square rooms, but the per-run count is how inspections are written up.

How is the device cost estimate built?▼

The required receptacles are split into two device types: receptacles on kitchen counters and islands, and receptacles in wet locations — bathrooms, laundry, garage, balcony or porch, and outdoors — are GFCI devices per NEC 210.8, while wall, hallway, basement, and accessory-building receptacles are standard devices. Each group multiplies by the unit price you enter, all devices multiply by the labor rate, and the total converts to whichever currency you select. Prices are optional — leave all three blank and the page stays a pure quantity takeoff.

References

  1. NFPA 70, National Electrical Code (NEC) 2023 edition, Section 210.52 “Dwelling Unit Receptacle Outlets” — the code text behind the wall, countertop, and island rules; free read-only access, nfpa.org
  2. ICC, International Residential Code (2024/2021), Section E3901.4 “Countertop and Work Surface Receptacles” — the residential-code mirror of 210.52(C)+(D) wording, codes.iccsafe.org
  3. NEMA, NEC Adoption by State tracker — which NEC edition each jurisdiction enforces, adoption.nema.org
  4. EC&M, Key Revisions to Chapter 2 of the 2026 NEC (Sept. 15, 2026) — the 2026 wall-space, switched-receptacle, and below-countertop clarification summary, ecmweb.com

Disclaimer: The electrical outlet calculator on this page computes code-minimum receptacle counts under NEC 210.52 for the 2020, 2023, and 2026 editions and is a planning reference only. Jurisdictions adopt editions with schedule and amendment differences—and a few still enforce 2017 or older, which this tool does not support—so verify the edition and any local amendments with your building department before relying on a count for construction. Receptacle counts are one part of a compliant electrical design: branch circuits, GFCI and AFCI protection, box fill, and permitted locations are governed by other NEC sections and by the electrical designer or licensed electrician responsible for the work.

Outlets planned? Size the circuit loads behind them with the Electrical Load Calculator, then check wire gauges and voltage drop before rough-in — and get quotes from licensed electricians near you.

Get Free Estimates