{{ result.summaryTitle }}
{{ result.primaryDisplay }}
{{ result.secondaryText }}
{{ result.statusLabel }} {{ result.poolBadge }} {{ result.subnetBadge }} {{ result.leaseBadge }}
{{ scopeHeatstripCursorLabel }} Start End Pool
DHCP scope inputs
Use CIDR or dotted mask notation, for example 192.168.40.0/24 or 192.168.40.0 255.255.255.0.
Keep the router outside the assignable pool unless your DHCP platform explicitly reserves it.
Use start-end pairs such as 192.168.40.20-192.168.40.240. Leave blank to use the full usable subnet.
One IP, CIDR block, or start-end range per line. Only overlaps with the DHCP pool reduce capacity.
Use the busiest observed active lease count, not total devices if many are rarely online.
clients
Pair with the reservation policy below so capacity matches how your server treats fixed leases.
leases
Choose whether the reserved lease count should reduce the dynamic pool capacity.
{{ formatSliderPercent(growth_pct, 0) }}
Use the near-term device growth percentage for this VLAN or access segment.
%
{{ formatSliderPercent(target_util_pct, 0) }}
Keep below 100% so abandoned leases, bursts, and audits do not exhaust the scope.
%
{{ formatSliderHours(lease_hours) }}
Use hours. The calculator reports capacity, not a replacement for DHCP server lease-state cleanup.
hours
Optional human-readable scope name for the configuration artifact.
Choose a familiar output format for handoff notes.
Leave 0 when no temporary client surge is planned.
clients
Leave 0 unless the server shows unavailable addresses that are not active clients.
leases
{{ formatSliderPercent(failover_reserve_pct, 0) }}
Leave 0 for neutral math; raise it when a standby or split policy withholds part of the scope.
%
MetricValueDetailCopy
{{ row.metric }}{{ row.value }}{{ row.detail }}
KindRangeCount in poolCount in subnetStatusCopy
No address rows to show
Fix the subnet or pool input before the range ledger can be calculated.
{{ row.kind }}{{ row.range }}{{ row.poolCount }}{{ row.subnetCount }}{{ row.status }}
CheckVerdictActionWhy it mattersCopy
{{ row.check }}{{ row.verdict }}{{ row.action }}{{ row.reason }}
{{ result.configSnippet }}
Customize
Advanced
:

Introduction:

DHCP failures often look like wireless, switch, or client trouble until the lease pool is checked. A subnet may contain hundreds of IPv4 addresses, but a DHCP server can hand out only the addresses that belong to the configured dynamic pool and are not excluded, reserved, held, or kept back for failover policy.

A Dynamic Host Configuration Protocol (DHCP) scope is the address plan for one IPv4 subnet. It defines the network boundary, the pool clients may lease from, the gateway and other options clients receive, and the addresses that should be withheld for infrastructure or static assignments. Good scope planning separates subnet size from leaseable capacity because those numbers are rarely the same in production.

Capacity pressure usually comes from operating behavior as much as address math. Guest networks fill during events, classrooms renew at the same time, mobile devices keep leases after leaving, printers and access points need fixed addresses, and high-availability designs may reserve part of the pool. A short lease can recycle addresses faster, but it also increases DHCP traffic and log noise. A long lease is calmer for stable clients, but abandoned addresses can remain unavailable for longer.

DHCP scope planning factors and common mistakes
Planning factor What it changes Common mistake
Subnet prefix Sets the outer IPv4 address boundary and usable host range. Counting network and broadcast addresses as ordinary client leases.
Dynamic pool Defines the addresses the server may assign automatically. Letting the gateway or static devices overlap the dynamic inventory.
Exclusions and reservations Remove or account for addresses that should not be general leases. Assuming every DHCP platform counts fixed leases the same way.
Lease churn Controls how quickly addresses return after clients leave. Sizing for active clients while ignoring held or abandoned leases.
DHCP scope diagram showing usable subnet, dynamic pool, excluded static blocks, demand, and growth room.

A reliable scope estimate has to answer three separate questions. Which IPv4 addresses belong to the subnet, which of those addresses are actually in the dynamic pool, and how much projected demand can the remaining pool carry before the chosen utilization target is exceeded. Treating those as one number hides the address conflicts and reserve policies that cause many real lease shortages.

Scope capacity is not a live-server health check. It cannot prove that relays are forwarding, that options are correct, or that stale leases have been cleaned up. It gives a disciplined address ledger that can be compared with server counters, lease history, and change notes before a scope is deployed, expanded, or moved.

How to Use This Tool:

Start with the IPv4 boundary, then add the pool and operating assumptions that reduce or consume lease capacity.

  1. Enter Subnet CIDR as CIDR notation or dotted-mask notation, such as 192.168.40.0/24 or 192.168.40.0 255.255.255.0. Host-bit input is normalized to the network boundary.
  2. Enter Gateway IP. The address ledger will show whether the gateway is inside the dynamic pool, inside the subnet but outside the pool, or outside the subnet.
  3. Enter one or more DHCP pool range(s). Leave the field blank only when the whole usable subnet should be treated as dynamic lease space.
  4. Add Excluded/static ranges for infrastructure, manual assignments, or addresses that should never be leased automatically. Each line may be a single IPv4 address, CIDR block, or start-end range.
  5. Set Active clients, Reserved leases, Reservation policy, Growth headroom, Target utilization, and Lease time. Use the busiest observed active lease count rather than total device inventory when many devices are rarely connected.
  6. Open Advanced to model a Temporary burst, Held leases, or Failover reserve, or to choose the Snippet style for handoff notes.
  7. If the summary shows Input blocked, fix the listed issue before using the ledgers, curve, or snippet. Invalid IPv4 text, a non-contiguous mask, or pool ranges with no usable DHCP addresses can block a trustworthy result.

Interpreting Results:

Target headroom is the main planning readout. It compares projected demand with the selected utilization ceiling, not with absolute exhaustion. A negative value means the plan is short for the buffer you chose, even when a few physical leases still remain.

Physical spare leases measures distance from a completely empty pool. That number can stay positive while Target headroom is negative because the target ceiling intentionally leaves room for churn, cleanup, bursts, audits, and mistakes. Verify the Active clients, Growth headroom, Held leases, and Failover reserve assumptions before accepting a close result.

DHCP scope status interpretation
Output cue Boundary What to check next
Within target Target headroom is greater than the tight-target buffer. Compare the demand inputs with recent server lease peaks.
Tight target Target headroom is non-negative but no more than 5 leases or 10% of the effective pool, whichever is larger. Review growth, burst, held-lease, failover, and reservation policy assumptions.
Target short Target headroom < 0 Add effective lease slots, expand the pool, reduce demand, or change the prefix plan.
Gateway in pool The gateway overlaps the dynamic inventory. Exclude the gateway or move the pool boundary before deployment.

Use Scope Capacity Ledger to audit the arithmetic, Address Exclusion Ledger to inspect every pool, exclusion, gateway, and invalid row, and Scope Sizing Brief for operator actions. The Lease Pressure Curve is most useful when comparing growth percentages against the same pool.

Technical Details:

IPv4 scope capacity is interval arithmetic. The subnet prefix produces a network address, broadcast address, and usable host interval. Pool ranges are intersected with that usable interval, then overlapping pool entries are merged so an address is counted once.

Exclusions reduce capacity only where they overlap the dynamic pool. Reservations reduce capacity only when they are modeled as consuming addresses inside the pool. Held leases and failover reserve are then subtracted from the remaining practical pool before projected demand is compared with the target utilization ceiling.

Formula Core:

The core capacity model counts usable intervals, subtracts modeled reductions, then compares projected clients with the utilization ceiling.

Pgross = count(merged pool ranges inside usable subnet) Pavailable = Pgross-exclusions inside pool F = Pavailable×failover reserve %100 Peffective = max(0,Pavailable-R-H-F) D = A+A×G100+B Starget = Peffective×T100-D
DHCP scope formula symbols
Symbol Meaning Rounding or policy
R Reservation impact Equals reserved leases when Reservation policy is Consumes pool; otherwise 0.
H Held leases Whole unavailable lease count entered under Held leases.
F Failover reserve Rounded up from available-before-reservations times the selected reserve percentage.
A, G, B Active clients, growth percent, and temporary burst Growth clients are rounded up before burst clients are added.
T Target utilization percent The target lease ceiling is rounded down before demand is subtracted.

For the default 192.168.40.0/24 case, pool 192.168.40.20-192.168.40.240 contains 221 raw dynamic addresses. Excluding 192.168.40.50-192.168.40.59 and 192.168.40.200 subtracts 11 addresses, leaving 210 leases before reservations. With 18 reservations consuming the pool, the effective pool is 192 leases.

With 145 active clients and 20% growth, projected demand is 174 leases because the 29 growth clients are rounded up. At an 80% target utilization ceiling, the target maximum is 153 leases, so Target headroom is -21 while Physical spare leases remains 18.

Validation and Boundary Rules:

DHCP scope validation and boundary rules
Rule Boundary Effect
CIDR and mask parsing CIDR prefix must be 0 through 32; dotted masks must be contiguous. Invalid subnet text blocks capacity, chart, and snippet output.
Usable host range Ordinary prefixes below /31 exclude network and broadcast addresses. /31 and /32 are modeled arithmetically, with a warning that they are rarely suitable DHCP client scopes.
Range parsing Each range line may be one IP address, a CIDR block, or a start-end range. Invalid range lines appear as notices and ledger rows instead of silently changing capacity.
Pool clipping Only addresses inside the usable subnet can become dynamic leases. Out-of-subnet pool rows are clipped before counting, and overlaps are deduplicated.
Recommended prefix When the target is short, projected demand is divided by target utilization and modeled reductions are added back. Unused addresses inside the current subnet are preferred before a larger prefix is suggested.

Accuracy Notes:

This is a planning calculator, not a DHCP server audit. It does not discover active leases, inspect relay paths, verify option delivery, or confirm that a generated snippet is complete for a production server.

  • Calculations use the values entered after the page loads. Sharing a URL can expose entered scope values in that URL.
  • Generated snippets cover calculated ranges, lease interval, and router option where available, but they still need review against the target server platform and site policy.
  • Lease duration affects capacity guidance and snippets. Actual reuse timing still depends on server behavior, client release behavior, and cleanup of declined or abandoned leases.

Worked Examples:

The examples below show why target headroom and physical spare leases can point to different operational decisions.

Healthy office VLAN

For 192.168.40.0/24 with pool 192.168.40.20-192.168.40.240, exclusions for 192.168.40.50-192.168.40.59 and 192.168.40.200, 10 reservations that consume the pool, 120 active clients, and 10% growth, the effective pool is 200 leases and projected demand is 132. At an 80% target, Target headroom is 28 leases, so the status is Within target.

Same pool, tighter buffer

With the default pool and exclusions, 18 reservations, 145 active clients, and 20% growth, projected demand is 174 leases against 192 effective leases. At 80% target utilization, the status becomes Target short with 21 leases missing at the target ceiling. Raising the target to 95% changes Target headroom to 8 leases, which is still Tight target.

Gateway or input cleanup

If the pool starts at 192.168.40.1 while Gateway IP is also 192.168.40.1, the Address Exclusion Ledger flags Gateway in pool. If a subnet is entered with a non-contiguous dotted mask, the summary changes to Input blocked and the capacity rows list the parsing issue before any snippet should be used.

FAQ:

Does this check my live DHCP server?

No. The result is calculated from the subnet, pool, exclusions, reservations, demand, and reserve values you enter. Compare it with real lease counters before changing a production scope.

Why can target headroom be negative while spare leases remain?

Physical spare leases measures distance from total exhaustion. Target headroom measures distance from the utilization ceiling, so it can be negative while some leases are still unused.

Should reserved leases consume the pool?

Use Consumes pool when fixed leases sit inside the dynamic range and reduce ordinary lease inventory. Use Outside pool when reservations are assigned outside the dynamic ranges.

Why did a range get clipped or deduplicated?

Pool rows are intersected with the usable subnet, and overlapping intervals are counted once. The Address Exclusion Ledger keeps each entered row visible so you can see what was applied, clipped, or ignored.

What should I do with the generated snippet?

Treat it as a handoff draft. Review the available segments, gateway option, lease interval, and platform syntax before applying it to ISC dhcpd, Windows DHCP, or Kea.

Glossary:

DHCP scope
The address plan a DHCP server uses for one IPv4 subnet.
Usable subnet
The client-address portion of the subnet after ordinary network and broadcast addresses are removed.
Dynamic pool
The addresses the server may assign automatically to clients.
Exclusion range
An address or interval that should not be handed out as an ordinary lease.
Reservation
A fixed lease associated with a specific client identity, such as a MAC address or client identifier.
Held lease
An address unavailable for practical planning even though it is not counted as an active client.
Target utilization
The planned maximum percentage of the effective pool that projected demand should consume.
Lease duration
The time a client may keep an assigned address before renewal or expiry rules return it to the pool.