When US homeowners add a 48A Level 2 EV charger (11,520 VA continuous on a 60A breaker) or a heat pump to a 100A or 200A panel, naive nameplate addition overstates required service amperage by 2x to 3x. NEC Article 220.82 defines the Optional Calculation for existing and new single-family dwelling units, and modeling it cleanly in TypeScript eliminates spreadsheet rounding drift.
1. Domain Types for NEC 220.82(B)-(C)
Keep inputs strongly typed around standard US residential service tiers (100 | 150 | 200 | 400) and continuous EVSE presets (0 | 32 | 40 | 48 amps):
export type ExistingServiceAmps = 100 | 150 | 200 | 400; export type EvChargerAmps = 0 | 32 | 40 | 48; export type HvacHeatingMode = | 'gas_hydronic' | 'heat_pump_aux' | 'electric_strip_le3' | 'electric_strip_ge4'; export interface ElectricalPanelLoadInput { livingAreaSqFt: number; smallApplianceCircuits: number; // 1,500 VA each (min 2) laundryCircuits: number; // 1,500 VA each (min 1) fixedApplianceVa: number; // range, dryer, water heater, disposal, dishwasher coolingAcVa: number; heatingMode: HvacHeatingMode; heatingStripVa: number; evChargerAmps: EvChargerAmps; existingServiceAmps: ExistingServiceAmps; } 2. General Demand (10kVA @ 100% + 40%) & Non-Coincident HVAC
Under NEC 220.82(B), general lighting (3 VA/sq ft), small-appliance/laundry circuits (1,500 VA each), and fixed fastened-in-place appliances are summed first; the first 10,000 VA counts at 100% and everything above 10,000 VA scales at 40%. Under NEC 220.82(C), you take only the larger of cooling (100%) versus electric space heating (65% for 3 or fewer separately controlled units, 40% for 4+ units, or 100% for heat pump plus supplemental strips):
export interface PanelLoadResult { generalDemandVa: number; hvacDemandVa: number; evDemandVa: number; totalDemandVa: number; calculatedAmps: number; headroomAmps: number; recommendedServiceAmps: ExistingServiceAmps; copperFeeder: string; aluminumFeeder: string; status: 'ok' | 'tight' | 'upgrade'; } const FEEDERS: Record<ExistingServiceAmps, { cu: string; al: string }> = { 100: { cu: '4 AWG Cu', al: '2 AWG Al' }, 150: { cu: '1 AWG Cu', al: '2/0 AWG Al' }, 200: { cu: '2/0 AWG Cu', al: '4/0 AWG Al' }, 400: { cu: '400 kcmil Cu', al: 'Parallel 4/0 Al' } }; export function evaluatePanelLoad(input: ElectricalPanelLoadInput): PanelLoadResult { const lightingVa = Math.max(0, input.livingAreaSqFt) * 3; const branchVa = (Math.max(2, input.smallApplianceCircuits) + Math.max(1, input.laundryCircuits)) * 1500; const generalConnected = lightingVa + branchVa + Math.max(0, input.fixedApplianceVa); const generalDemandVa = generalConnected <= 10000 ? generalConnected : 10000 + (generalConnected - 10000) * 0.4; const heatFactor = input.heatingMode === 'gas_hydronic' ? 0 : input.heatingMode === 'heat_pump_aux' ? 1.0 : input.heatingMode === 'electric_strip_le3' ? 0.65 : 0.4; const hvacDemandVa = Math.max(input.coolingAcVa, input.heatingStripVa * heatFactor); // Level 2 EVSE is a 100% continuous demand load (240V) const evDemandVa = input.evChargerAmps * 240; const totalDemandVa = Math.round(generalDemandVa + hvacDemandVa + evDemandVa); const calculatedAmps = Math.round((totalDemandVa / 240) * 10) / 10; const headroomAmps = Math.round((input.existingServiceAmps - calculatedAmps) * 10) / 10; const recommendedServiceAmps: ExistingServiceAmps = calculatedAmps <= 100 ? 100 : calculatedAmps <= 150 ? 150 : calculatedAmps <= 200 ? 200 : 400; const status = headroomAmps < 0 ? 'upgrade' : headroomAmps < 25 ? 'tight' : 'ok'; return { generalDemandVa: Math.round(generalDemandVa), hvacDemandVa: Math.round(hvacDemandVa), evDemandVa, totalDemandVa, calculatedAmps, headroomAmps, recommendedServiceAmps, copperFeeder: FEEDERS[recommendedServiceAmps].cu, aluminumFeeder: FEEDERS[recommendedServiceAmps].al, status }; } 3. Verifying Real Boundary Cases
Testing a 2,200 sq ft home with 3 small-appliance/laundry circuits, 21,500 VA fixed appliances, 4,800 VA central AC, and a 48A EV charger (11,520 VA) yields:
- General connected:
32,600 VA-> Demand:19,040 VA - HVAC demand:
4,800 VA - Total service demand:
35,360 VA->147.3 A(52.7 Aremaining headroom on200A,PASS). - On an older
100Aranch panel, the exact same48AEV charger returnsheadroomAmps = -47.3 A(upgrade), immediately surfacing the need for a200Aservice upgrade or NEC 750 energy management system.
Interactive Tool & Copyable Workbook
- Try the interactive NEC 220.82 Electrical Panel Load Calculator with presets and one-click CAD handoff.
- Copy the zero-error Google Sheet #45 NEC 220.82 Panel Load & EVSE Workbook.
- Pair with our NEC 210.52 Electrical Outlet Placement Calculator and AutoCAD R12 .DXF & Sheet E-101 Blueprint Maker.
- Free Browser Studio (
$0) exports instant1400x1050watermarked proof PNGs; full 5-sheet vector PDFs (including Electrical SheetE-101) and 8-layer AutoCAD.DXFfiles unlock via one-time passes starting at$19(clean 2-sheet print PDFs at$9), with 14-day instant refunds at PlanCaliber Refunds.
Disclaimer: Preliminary estimating and space-planning software math only, not licensed electrical engineering. Always verify loads, feeders, and local NEC amendments with a licensed electrician and your local Authority Having Jurisdiction (AHJ).


