DHCP Scope Size Calculator
Calculate required DHCP scope size
Calculation Breakdown
Common Scope Sizes
The DHCP Scope Size Calculator determines the optimal subnet size for DHCP pools based on expected client counts, lease duration, and growth projections. Enter the number of concurrent clients (e.g., 150), your lease time (e.g., 8 hours), the count of static exclusions, and a growth factor -- and get a recommended prefix length along with a breakdown of total addresses, usable pool size, and headroom percentage.
Understanding DHCP Scope Sizing
Getting the size of a DHCP scope right is one of those tasks that seems simple until you get it wrong. Too small, and clients start failing to obtain addresses during peak hours -- showing up as mysterious connectivity failures that are often misdiagnosed as WiFi problems, switch issues, or application bugs before someone thinks to check the DHCP pool. Too large, and you waste precious IPv4 address space that could be used for other subnets, especially painful when you are working within a constrained allocation like a single /22 for an entire building.
The complication is that DHCP pool size is not the same as client count. A subnet's total address space loses addresses to overhead before a single client even connects. The network address and broadcast address are always reserved. The default gateway takes one address. Any statically assigned devices -- servers, printers, access points, cameras -- each consume an address that the DHCP server cannot hand out. After subtracting this overhead, the remaining addresses form your usable pool, and that pool needs to accommodate not just today's clients but also a reasonable growth buffer. A scope that perfectly fits 120 workstations today will be exhausted the day the company hires ten more people or deploys a wave of IoT sensors.
This calculator handles all of these factors. You provide the expected client count, lease duration, number of static exclusions, and a growth multiplier. The tool computes the adjusted requirement, compares it against available subnet sizes (which come in powers of two), and recommends the smallest prefix length that provides adequate headroom. It also shows the next larger and smaller options so you can make an informed tradeoff between address efficiency and operational safety margin.
How to Calculate DHCP Scope Size
- Enter the expected number of concurrent DHCP clients (e.g., 150 workstations)
- Set the DHCP lease duration (e.g., 8 hours, 24 hours, 7 days)
- Specify the number of static exclusions -- gateway, servers, printers, and infrastructure devices
- Choose a growth factor to account for future expansion (e.g., 1.5x for 50% headroom)
- Review the recommended subnet prefix length and pool size breakdown
DHCP Scope Size Calculation Examples
Office Floor with 120 Workstations
| Parameter | Value |
|---|---|
| Expected Clients | 120 |
| Lease Duration | 8 hours |
| Static Exclusions | 10 (gateway + servers + printers) |
| Growth Factor | 1.5x |
Calculation:
- Adjusted client count: 120 x 1.5 = 180
- Plus exclusions: 180 + 10 = 190
- Plus network + broadcast: 190 + 2 = 192
| Prefix | Total Addresses | Usable Pool | Fits? | Headroom |
|---|---|---|---|---|
/25 | 128 | 116 | No | -64 addresses short |
/24 | 256 | 244 | Yes | 54 addresses (22%) |
/23 | 512 | 500 | Yes | 310 addresses (62%) |
Recommendation: /24 (256 addresses) -- provides 244 usable addresses with 22% headroom above the growth-adjusted requirement.
Guest WiFi with Variable Load
| Parameter | Value |
|---|---|
| Expected Clients | 50 (average), 200 (peak event) |
| Lease Duration | 2 hours |
| Static Exclusions | 3 (gateway + DNS + controller) |
| Growth Factor | 1.2x |
Recommendation: /24 to handle peak events. With 2-hour leases, addresses recycle quickly, so even 200 concurrent guests fit within 251 usable addresses.
Point-of-Sale Network
| Parameter | Value |
|---|---|
| Expected Clients | 8 POS terminals |
| Lease Duration | 7 days |
| Static Exclusions | 2 (gateway + payment server) |
| Growth Factor | 2.0x |
Recommendation: /28 (16 addresses, 12 usable pool) -- fits 16 adjusted clients with minimal waste. Long lease times mean addresses stay held even when terminals power off overnight.
When to Use the DHCP Scope Size Calculator
- New VLAN design -- select the right prefix length before creating the subnet
- Scope exhaustion troubleshooting -- verify whether an overloaded scope needs expansion
- Office expansion planning -- calculate the subnet size needed when headcount grows
- Network segmentation -- right-size scopes when migrating from a flat network to VLANs
- Lease time optimization -- understand how lease duration impacts required pool size
- Capacity planning -- determine when an existing scope will reach capacity based on growth trends
How DHCP Scope Sizing Works
The available DHCP pool is always smaller than the total subnet size. Several addresses must be excluded from dynamic allocation:
Address Overhead Breakdown
| Reserved Address | Purpose |
|---|---|
Network address (e.g., 10.1.1.0) | Identifies the subnet -- cannot be assigned |
Broadcast address (e.g., 10.1.1.255) | Broadcast delivery -- cannot be assigned |
Default gateway (e.g., 10.1.1.1) | Router interface -- statically assigned |
| Static reservations | Servers, printers, APs with fixed IPs |
Usable DHCP pool = Total addresses - 2 (network + broadcast) - gateway - static exclusions
The Lease Duration Factor
Shorter leases recycle addresses faster, allowing more clients to share a smaller pool. Longer leases hold addresses even after clients disconnect, requiring a larger pool:
| Lease Duration | Best For | Pool Sizing Impact |
|---|---|---|
| 1-4 hours | Guest WiFi, hotspots | Smaller pool needed; rapid turnover |
| 8 hours | Office workdays | Moderate; addresses freed overnight |
| 24 hours | General enterprise | Standard; slight overnight retention |
| 7+ days | Remote offices, IoT | Larger pool needed; slow address recovery |
Practical Scope Sizing Advice
The biggest mistake administrators make is sizing DHCP scopes to the current headcount without any growth buffer. A scope that is 95% utilized on a normal day will fail during any spike -- a company all-hands meeting, a training session with loaner laptops, or the day facilities deploys twenty new IoT sensors on the building management network. When a scope runs out of addresses, new clients receive APIPA self-assigned addresses in the 169.254.0.0/16 range and cannot reach any network resources. The symptoms look like a network outage, and it often takes longer to diagnose than a genuine connectivity failure because the infrastructure itself is healthy.
Choose a growth factor that matches your environment's volatility. For stable office floors with predictable headcount, 1.3x (30% headroom) is usually sufficient. For guest WiFi networks that experience event-driven spikes, size for peak attendance with at least 1.5x headroom. For IoT and operational technology networks where device counts grow unpredictably, 2.0x gives you a year or two of runway before re-subnetting is needed.
Lease duration is the other lever you can pull. If you are running short on pool capacity, shortening the lease time from 8 hours to 4 hours means addresses are returned faster when employees leave for the day or when laptops go to sleep. This is particularly effective for guest networks where visitors connect for an hour and then leave. However, shorter leases generate more DHCP traffic (renewals happen twice as often), so there is a tradeoff. For wired office networks with stable clients, 8-24 hours is the sweet spot. For guest WiFi, 1-2 hours works well. For IoT devices that should keep the same address for weeks, 7-30 days is appropriate.
Frequently Asked Questions
What happens when a DHCP scope runs out of addresses?
New clients receive a DHCPNAK or no response at all, causing them to self-assign an APIPA address in the 169.254.0.0/16 range (link-local). These clients cannot reach the network gateway or any routed resources. The DHCP server typically logs "no addresses available" events.
How much growth headroom should I plan for?
A 1.5x growth factor (50% headroom) is a common starting point. High-growth environments like startups or expanding offices may warrant 2.0x. Stable environments with predictable headcount can use 1.2x-1.3x. Always round up to the next available subnet size since prefixes come in powers of two.
Should I use a /23 or two /24s?
A single /23 (510 usable hosts) is simpler to manage than two /24 subnets with a relay. Use a /23 if all clients are in the same broadcast domain. Split into two /24 subnets if you need separate VLANs for security segmentation or if switch port density limits apply.
How does lease time affect DHCP pool utilization?
Shorter leases mean addresses are returned to the pool faster, effectively increasing capacity without changing subnet size. An 8-hour lease means most addresses free up overnight. A 7-day lease means a device that connected once on Monday holds its address until the following Monday, even if it disconnected Tuesday morning. For transient networks (guest WiFi, conference rooms), short leases are essential.
Can I monitor DHCP pool utilization in real time?
Most DHCP server platforms provide utilization statistics. Windows Server shows scope utilization percentages in the DHCP console. ISC DHCP tracks lease counts in the dhcpd.leases file. Set up alerts at 80% utilization to give yourself time to expand before exhaustion. Many monitoring tools (PRTG, Zabbix, LibreNMS) include DHCP utilization sensors.
Related Tools
- VLSM Calculator - Calculate variable-length subnet allocations for your full network design
- DHCP Exclusion Range Generator - Generate exclusion configurations for static IPs within DHCP scopes
- IP Reservation Table Builder - Document static IP reservations for servers and infrastructure
- VLAN-to-Subnet Mapper - Map DHCP-enabled VLANs to their subnet assignments
- Overallocated Subnet Detector - Detect when assigned hosts exceed subnet capacity