{{ result.summaryTitle }} {{ result.primaryDisplay }} {{ result.secondaryText }} State: {{ result.statusLabel }} Pool: {{ result.poolBadge }} Subnet: {{ result.subnetBadge }} Lease: {{ result.leaseBadge }}
DHCP subnet, pool, demand, and configuration inputs
For example, 192.168.40.0/24 or 192.168.40.0 255.255.255.0.
Keep the router outside the assignable pool unless the server explicitly reserves it.
Use start-end pairs such as 192.168.40.20-192.168.40.240. Leave blank for the full usable subnet.
Enter one IP, CIDR block, or start-end range per line.
Use peak concurrent leases rather than every known device when many are offline.
clients
The policy below determines whether reservations reduce effective dynamic capacity.
leases
Choose how the reserved lease count affects the pool.
{{ formatSliderPercent(growth_pct, 0) }}
Adds projected device growth to active clients.
%
{{ formatSliderPercent(target_util_pct, 0) }}
The verdict compares projected demand with this planned ceiling.
%
{{ formatSliderHours(lease_hours) }}
Included in the configuration handoff and lease-recovery guidance.
hours
Used in exports and configuration snippets.
Choose the server format for the configuration handoff.
{{ workflowFeedback }}
Add event, onboarding, or failover clients; 0 is neutral.
clients
Model declined, quarantined, or administratively held addresses; 0 is neutral.
leases
{{ formatSliderPercent(failover_reserve_pct, 0) }}
Withhold an optional split-scope or failover buffer; 0% is neutral.
%
DHCP subnet and capacity calculation ledger
MetricValueDetailCopy
{{ row.metric }}{{ row.value }}{{ row.detail }}
Entered DHCP pools, exclusions, and gateway intersections
KindRangeIn poolIn subnetStatusCopy
{{ row.kind }}{{ row.range }}{{ row.poolCount }}{{ row.subnetCount }}{{ row.status }}
DHCP scope planning decisions and operator actions
CheckVerdictActionWhy it mattersCopy
{{ row.check }}{{ row.verdict }}{{ row.action }}{{ row.reason }}

Configuration handoff

{{ copySnippetDone ? 'Configuration copied.' : (downloadSnippetDone ? 'Configuration downloaded.' : '') }}
{{ result.configSnippet }}
{{ summaryAnnouncement }}

Address shortages often appear as failed renewals, self-assigned addresses, or a rush of help-desk reports, but the underlying problem may have started much earlier when a dynamic pool was sized too close to normal demand. A DHCP scope is the address policy for one IPv4 subnet. It defines which addresses a server may lease, which addresses stay unavailable, and how long a client may keep an assignment.

A subnet and a DHCP pool are related but not identical. The subnet sets the complete network boundary. The pool is the subset offered dynamically, while gateways, servers, printers, network appliances, and other fixed-address devices normally sit outside that pool or occupy explicit reservations. Network and broadcast addresses are also unavailable on ordinary IPv4 subnets, so a /24 contains 256 addresses but only 254 conventional host addresses before local policy reduces the usable count further.

Capacity planning should use peak concurrent leases rather than the total number of devices ever seen. A workforce may own thousands of registered devices while only a fraction are present at once. Guest events, onboarding days, wireless failover, stale leases, quarantined addresses, and duplicate reservations can still raise the peak above an ordinary daily count.

DHCP scope quantities and their capacity effects
Quantity What it represents Capacity effect
Dynamic poolUnique usable addresses offered to clientsSets the gross lease supply
ExclusionAn address or range the server must not leaseReduces supply only where it overlaps the pool
ReservationA predictable lease for a particular clientReduces dynamic supply only when it consumes a pool address
HeadroomUnused capacity kept below complete exhaustionCreates room for bursts, growth, and lease recovery
Lease timeHow long an assignment remains validChanges address turnover, not the pool's physical size

A shorter lease can recycle addresses sooner in a transient network, but it also increases renewal traffic and does not create addresses during a sustained peak. A longer lease reduces renewal frequency and helps intermittently connected clients retain an address, yet abandoned or slow-to-expire leases can remain unavailable longer. Scope size, lease policy, and observed client behavior therefore need to be reviewed together.

A calculated plan is a starting point, not proof that a live scope is healthy. Before changing production, compare the estimate with server lease counts, decline or abandoned-address records, relay reachability, overlapping scopes, and the actual busiest interval. A large pool cannot compensate for a gateway accidentally placed inside the dynamic range or for two servers issuing conflicting leases.

How to Use This Tool:

Start with the network boundary and the addresses that may really be leased, then model peak demand and the buffer you want to preserve.

  1. Enter Subnet CIDR in prefix or dotted-mask notation and add the Gateway IP. Keep the gateway outside the dynamic pool unless it is deliberately reserved.
  2. List DHCP pool ranges as single addresses, CIDR blocks, or start-end ranges. Add fixed or unavailable addresses under Excluded or static ranges; overlapping entries are counted once.
  3. Set Active clients to the busiest concurrent lease count, then add reservations, growth, temporary bursts, held leases, and any failover reserve that genuinely applies.
  4. Choose whether reservations Consume pool, set the Target utilization, and enter the lease time. The reservation choice changes capacity; the lease time changes operating guidance and generated configuration.
  5. Read Target headroom with Physical spare leases. If the address ledger reports clipping, an invalid range, or a gateway inside the pool, correct that definition before using the sizing result.

Interpreting Results:

The most useful result is Target headroom. A non-negative value means projected demand stays at or below the chosen utilization ceiling. A negative value states how many additional usable lease slots are needed to meet that target.

  • Physical spare leases can remain positive while target headroom is negative. That scope is not yet exhausted, but it has already consumed the planned safety buffer.
  • Projected utilization compares demand with effective capacity after exclusions, in-pool reservations, held leases, and failover reserve.
  • A suggested prefix is a capacity fit, not permission to renumber. First check whether unused addresses inside the current subnet can extend the pool safely.
  • Warnings about clipped or overlapping ranges change confidence in the address ledger. Resolve them and compare the plan with live lease telemetry before deployment.

Technical Details:

DHCP scope sizing is interval arithmetic followed by demand arithmetic. The IPv4 prefix produces a network boundary and a usable host interval. Pool ranges are clipped to that interval and merged, exclusions are subtracted only where they intersect the pool, and each address is counted once even when input ranges overlap.

Reservations affect the result according to the selected policy. Held leases always reduce the modeled dynamic supply. The failover reserve is rounded up from capacity before reservations, while projected growth is rounded up from active clients. The target lease ceiling is rounded down, which keeps the headroom test conservative at fractional boundaries.

Formula Core:

The equations below preserve the order used to turn an address ledger into effective capacity and a target verdict.

Pavailable=Pgross-X F=Pavailable×f100 Peffective=max(0,Pavailable-R-H-F) D=A+A×g100+B Starget=Peffective×t100-D
DHCP capacity formula symbols and policies
SymbolMeaningPolicy
Pgross, XMerged pool count and exclusions inside that poolOut-of-subnet addresses are clipped before counting
RReservation impactReserved lease count when reservations consume the pool; otherwise zero
H, FHeld leases and failover reserveFailover reserve uses percentage f and rounds up
A, g, BActive clients, growth percent, and temporary burstGrowth clients round up before the burst is added
t, StargetTarget utilization percent and remaining target headroomThe target maximum rounds down

For the default 192.168.40.0/24 plan, the range 192.168.40.20-192.168.40.240 contributes 221 unique pool addresses. Eleven excluded addresses and 18 in-pool reservations reduce effective capacity to 192. Growth raises 145 active clients to projected demand of 174. The 80% ceiling allows 153 leases, so target headroom is -21 even though 18 physical addresses remain.

Rule Core:

DHCP scope parsing and boundary rules
RuleExact behaviorConsequence
Subnet syntaxPrefix length must be 0 through 32; a dotted mask must be contiguousInvalid subnet input blocks the calculation
Conventional usable hostsPrefixes below /31 exclude network and broadcast addresses/31 and /32 are counted arithmetically but flagged as rarely suitable client scopes
Range syntaxOne address, CIDR block, or start-end range per lineInvalid rows are reported instead of silently counted
Target statusNegative headroom is short; zero or greater meets the selected ceilingA small positive value may still be labeled tight when it is no more than the larger of 5 leases and 10% of effective capacity
Prefix suggestionDemand is divided by target utilization, reductions are added back, and the smallest fitting power-of-two subnet is selectedUnused capacity inside the current subnet is preferred before expansion

Accuracy Notes:

The interval and demand calculations are deterministic, but their planning value depends on the inputs. Collect active-client counts, held leases, and burst demand from the same busy period. Confirm whether reservations really sit inside the dynamic ranges, because server products and local designs handle that choice differently.

  • Lease time is reported and carried into configuration guidance; it does not change the calculated number of addresses.
  • The prefix recommendation assumes one contiguous IPv4 subnet and does not model VLAN redesign, relay topology, high-availability state, or address conflicts.
  • Generated configuration is a handoff aid. Review syntax, server version, options, exclusions, and failover policy before applying it.

References: