A 24-port PoE switch does not give you 24 powered ports, and its wattage number does not tell you how many devices it will accept. Those two facts cost a warehouse manager I worked with eleven days of arguing with a vendor, and they cost me a Saturday morning on site.

Here is the short version. A switch reserves power per port by class, not by what the device actually draws. A 370 W budget is exactly 24 × 15.4 W — the 802.3af ceiling — which means the same box that powers 24 old cameras will only accept twelve 802.3at devices. I have watched a switch with six physically empty ports refuse a new access point because the reserved total had already crossed the budget line, while the actual measured draw on that switch was under 260 W. If you are counting ports to size a switch, you are counting the wrong thing.

Three numbers live on the same box

Walk up to any PoE switch and you can read three different port counts off it, and only one of them is the number you need.

The first is the marketing number: "24-port gigabit PoE switch." The second is the physical count, which is usually higher, because the two SFP cages or the two RJ45/SFP combo uplinks are extra copper you can see but not power. The third is the number that actually matters, and it is the physical count minus everything that will never draw PoE: the uplink pair, the NVR or the management laptop, the fibre-to-copper converter feeding the far cabinet, the spare cable you keep terminated for the next camera.

The 8-port class is where this gets comic. Half the "8-port PoE switches" I open up are four PoE ports plus four plain gigabit ports in one housing. The box says 8. The datasheet, if you read the fine print, says "4 PoE + 4 non-PoE." Someone buys it for eight cameras, gets four powered and four dark, and concludes the switch is broken. It is not broken. It is a four-port switch wearing an eight-port label.

So count powered devices, not ports, then add the things that eat a socket without eating watts. An 18-camera site with three access points is 21 devices, plus two uplinks, plus the recorder: 24 sockets, which is either 24 ports with no slack or 48 with too much. That gap is where the arguments start.

370 W is 24 ports of exactly one thing

Take the most common PoE budget on earth: 370 W on a 24-port switch. That number is not a coincidence. 24 × 15.4 W = 369.6 W. The power supply was sized for a row of 802.3af ports running at the class ceiling, and the marketing department rounded up. The generic budget formula — device draw, cabling loss, safety margin — is already written up here, and I am not going to re-derive it. What that formula misses is the order the switch does the arithmetic in.

Now put 802.3at devices on it. 370 ÷ 30 = 12.3. Twelve ports, and the thirteenth request gets denied. Same chassis, same PSU, half the devices. Nothing failed. The budget simply is what it is.

The mechanism is the class quantum. When a powered device completes detection and classification — the 25 kΩ handshake, the 12.5 V probe — it announces a class, and the PSE reserves a fixed slice of budget for that class whether the device uses it or not:

Class PSE reserves Device may draw Typical device
0–3 15.4 W 12.95 W Fixed dome camera, phone, small sensor
4 30 W 25.5 W PTZ, Wi-Fi 6/7 access point, door controller
5 45 W 40 W Heated outdoor camera, large panel
6–8 60–90 W 51–71.3 W PoE lighting, high-power AP, digital signage

Read the first column against the second row and you find the gap that trips people. A class 3 camera that idles at 4 W and peaks at 6 W still reserves 15.4 W. On a 24-port switch, twelve of those cameras hold 184.8 W of budget while drawing maybe 60 W. The switch is not lying to you. It is being conservative on purpose, because it has no way to know that this particular camera will never ask for the full class allowance.

This is also why 802.3bt devices hurt so much on an old budget. One class 8 port reserves 90 W — a quarter of a 370 W supply — and four of them will close the switch to everything else. Same story at 30 W, where the ceiling sits just under what a modern access point wants to pull; that is the subject of the 30 W trap note. If you want to understand where the reservation logic comes from at the wire level, the detection and classification piece walks through the resistor values and probe voltages in more detail than I want to repeat here.

The warehouse where 257 W did not fit in a 370 W budget

The site was a distribution warehouse, 24-port PoE+ switch in a wall cabinet, 740 W budget because someone had specified generously. Eighteen cameras and six ceiling access points. When I first looked at the port map everything seemed fine: 24 devices, 24 PoE ports, the two uplinks on SFP. Tight, but fine.

Then they tried to add a seventh access point on a spare port that had appeared after two cameras were decommissioned. The switch refused it. Not a link problem — the port never left the detecting state. The facility manager had a screenshot showing the switch's total PoE consumption at 258 W with a 740 W budget and a port that would not power up. He was convinced the port was dead. I was fairly convinced of it too, for about twenty minutes.

Here is what the switch was actually holding:

12 fixed domes, class 3: 12 × 15.4 = 184.8 W reserved, about 62 W measured.
6 PTZ, class 4: 6 × 30 = 180 W reserved, about 81 W measured.
6 access points, class 4: 6 × 30 = 180 W reserved, about 114 W measured.
Reserved total 544.8 W. Measured total 257.4 W. The seventh AP would have reserved 30 W more and still fit inside 740 W — except this cabinet was running at 41 °C intake in August, and the unit was configured to derate its PoE budget above 40 °C. At roughly 70% of nameplate the usable budget was near 518 W. The reservation had already crossed it. The port was fine. The accounting was not.

Two changes fixed it, and neither involved buying hardware. First, we moved the switch from class-based reservation to the measured or LLDP-negotiated mode, which lets the PSE allocate from what the device says it needs instead of the class ceiling. Second, we moved four of the access points onto the 802.3at ports on a second switch in the same rack, spreading the reservation across two supplies instead of one.

That second change is the one I keep coming back to. Spare ports and spare watts are two different resources, and a site can be out of one while sitting on plenty of the other.

The spare port is often on the wrong bank

Now the part that took me longest to believe. On the 24-port units I have opened, across several generations, the PoE side is not one circuit. It is normally three controllers of eight ports each, sometimes four of six. Each controller has its own current sensing and its own local cap, and they share the chassis supply.

Which means the budget is real but the headroom is not always reachable. On a 370 W unit that works out to roughly 123 W per bank, and at class 4 reservation that is four ports per bank, twelve in total — the same number the division gave us, now with a physical reason attached. Fill bank A with four PTZ and leave banks B and C empty, and many firmwares will still refuse the fifth PTZ on bank A even though the chassis supply has hundreds of watts free. I have seen exactly that on a bench unit, and the log said "insufficient power" while the total meter read 128 W of 370 W.

Some platforms pool the banks and some do not, and the datasheet almost never says which. The practical test takes ten minutes: put four class 4 loads on ports 1–4, confirm they come up, then try a fifth on port 5 and watch whether the refusal happens at the bank boundary or at the chassis total. If the fifth port powers, the banks are pooled. If it does not, your spare ports are only spare inside their own group, and your port map needs to be laid out by bank, not by convenience.

This also changes what a spare port is worth. A spare port on a bank that is already at its local cap is decoration. Twenty percent spare ports spread evenly across banks is worth far more than the same twenty percent clustered at the end of the row, and nobody plans it that way because the port numbering on the front panel gives no hint where the banks divide.

The count I do now

After enough of these, the process has settled into something I can do from a device list in about fifteen minutes. It is not clever, but it has not failed me yet.

  1. List every powered device by class, not by name. Two cameras with the same model number can ship with different class signatures if one has a heater.
  2. Separate the non-PoE consumers: recorder, uplink pair, media converter, the desk phone nobody remembers. These take sockets and no watts.
  3. Count sockets: powered devices + non-PoE consumers. That is your minimum port count, before any spare.
  4. Compute the reserved watts at the class ceiling: class 3 × 15.4, class 4 × 30, class 5–8 at 45/60/75/90. Do not use the measured draw for this step.
  5. Compute the measured watts separately, from spec sheets or a clamp meter. The ratio between the two numbers tells you whether measured or LLDP allocation will save you a switch.
  6. Compare the reserved total against the budget after thermal derating, not the nameplate. If reserved exceeds 70% of the derated figure, you have no growth room whatever the port count says.
  7. Lay the loads out per bank, four class 4 ports per eight-port group as a working rule, and put the devices you cannot afford to lose on separate banks.

Twenty percent spare ports is a reasonable starting point for step 3, but it is only the port half of the answer. The watt half needs its own margin, and it usually needs to be bigger, because reservation rounds every device up to a class quantum. A camera that draws 5 W and reserves 15.4 W is a 3× rounding error, applied twenty-four times.

And if step 6 says you are already over the line, the question stops being how many ports you need and becomes which ones get cut first. That is a separate design job, and I wrote it up as the port priority and shedding order problem, because the answer is never "whatever the firmware decides."

Questions I get asked

Is a 24-port PoE switch really 24 powered ports?

Usually yes on the copper, but check the uplinks. Combo ports that share an RJ45 and an SFP are counted twice in the marketing number and once in reality. And the moment you plug the recorder into a PoE port, you have spent a powered socket on a device that will never draw power from it.

Why does the switch refuse a device when total consumption is under budget?

Because it is not comparing consumption, it is comparing reservations. In class mode the PSE holds the full class allowance from the moment classification completes. Switch to measured or LLDP-negotiated allocation and the refusal often disappears. If it does not, look at the thermal derating and at the per-bank cap, in that order.

Is 20% spare ports enough?

For ports, usually. For watts, treat it as a floor. If most of your load is class 3 hardware drawing a third of its allowance, 20% on paper is 60% in practice. Add heated cameras or bt access points and it evaporates in two devices.

One 48-port switch, or two 24-port switches?

Two 24s halve the blast radius and let you split the reservation across two supplies, at the cost of an extra uplink, an extra management address and a link between them. One 48 concentrates both heat and PoE budget in a single chassis and a single PSU. For a camera wall in one room I take the 48. For anything distributed across a building I take two 24s and put them on different circuits.

Does an empty PoE port waste power?

Not per port. Reservation only applies to ports that have linked and classified, so twenty empty ports reserve nothing. The controller itself still idles at a watt or two per bank, which is why an unloaded 24-port does not drop to the same draw as a 24-port non-PoE unit.

Where I still get this wrong

I sized a school's switch last spring by device count, hit the number exactly, and felt clever about it for about six weeks. Then they added a set of heated outdoor cameras in November, each of which reserved class 5, and the whole thing had to be swapped in the cold. The port count was right the entire time. The reservation was not, and I had not asked what the winter load looked like.

So the number I would give anyone sizing this today is not a port count. It is two numbers: sockets and reserved watts, both computed after thermal derating, both checked against the bank layout. If you have a port map that fights its budget, the three things worth sending me are the class of each device, the budget printed on the label, and the intake temperature of the cabinet it lives in. Those three usually explain the refusal before anyone needs to touch a cable. There are more of these bench notes under PoE Knowledge if you want the ones on cabling, derating and power supplies — most of them started as a site visit that went sideways.