Calculate conduit fill (NEC Chapter 9)
calculate_conduit_fillConduit fill percent and how many wires fit: THHN/THWN-2 in EMT or PVC Schedule 40 from NEC Chapter 9 Table 1 (53 % for one wire, 31 % for two, 40 % for three or more), Table 4 (conduit area) and Table 5 (wire area), with Note 7 rounding for wires of one size, so the counts equal Annex C Table C.1 (e.g. 16 × 12 AWG or 22 × 14 AWG in 3/4" EMT). Mixes sizes (circuit wires plus a ground), says how many more fit and the smallest conduit. Or, for any round cable (IEC practice), fill from the cable's outer diameter and the conduit's inner diameter in mm.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "calculate_conduit_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conductors | No | NEC mode: THHN/THWN-2 conductors by size and count, grounds included | |
| trade_size | No | 3/4 | |
| cable_count | No | Any-cable mode: number of cables | |
| conduit_type | No | EMT or PVC Schedule 40 | emt |
| cable_diameter_mm | No | Any-cable mode (IEC, multi-core cables): outer Ø, mm | |
| conduit_inner_diameter_mm | No | Any-cable mode: conduit inner Ø, mm |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| more | Yes | ||
| steps | Yes | ||
| method | Yes | ||
| passes | Yes | ||
| warnings | Yes | ||
| area_unit | Yes | ||
| wire_area | Yes | ||
| conductors | Yes | ||
| conduit_area | Yes | ||
| fill_percent | Yes | ||
| limit_percent | Yes | Chapter 9 Table 1: 53 % one wire, 31 % two, 40 % three or more | |
| room_for_more | No | ||
| permitted_by_note_7 | No | ||
| smallest_trade_size | No | Smallest conduit of this type that fits them all | |
| max_conductors_of_this_size | No | When all conductors are one size: the most that fit (Annex C count) |