DHCP Scope Calculator: Pool Size, Lease Time and Failover

This DHCP scope calculator sizes the dynamic pool for a subnet and tests it against real demand. It subtracts exclusions, static addresses and reservations from the usable hosts, estimates leases in use from client numbers and lease time, warns when utilisation passes your alert level, and shows how a 50/50 or 80/20 failover split divides the pool.

Result

The result updates automatically as you change any input.

Formula and worked steps
Formulas used
  • Dynamic pool = usable hosts - excluded - static - reservations
  • Leases in use = clients + arrivals per hour x hold time (Little's law, N = lambda x T)
  • Hold time = stay if clients release, else the longer of stay and lease time
  • Utilisation = leases in use / dynamic pool; alert at the level you set (default 80%)
  • Renewal rate = clients / (lease hours x 30) per minute (clients renew at T1 = 50% of the lease)
Assumptions
  • Arrivals are steady during the peak hour and each transient client takes one lease; devices that connect twice (phone and laptop) must be counted twice.
  • Without a release message the lease stays allocated until it expires, which is what happens for most Wi-Fi guests.
  • The failover split is the classic split-scope idea. DHCP failover in hot-standby or load-balance mode shares the whole pool instead.
References

What is a DHCP scope?

A DHCP scope is the range of addresses a server may hand out on one subnet, together with options such as gateway, DNS servers and lease time. The subnet might be a /24 with 254 usable hosts, but the scope is smaller: addresses for routers, servers, printers and fixed reservations must be kept out of it, or two devices end up with the same address.

Pool, exclusions, statics and reservations

Exclusions are addresses inside the scope range that the server must never lease. Static addresses are configured by hand on the device and sit outside the dynamic pool. Reservations tie an address to a specific client identifier (usually a MAC address); the server still controls them but they are not available to anyone else. The dynamic pool is what remains after all three are removed from the usable host count.

Lease time and churn

The lease is how long a client may use an address before it must renew. By default a client asks to renew halfway through the lease (T1 = 50%, RFC 2131) and starts broadcasting for any server at 87.5% (T2). A long lease reduces renewal traffic. A short lease returns addresses faster when devices disappear, which matters on guest Wi-Fi where hundreds of phones come and go.

How the DHCP scope calculator works

Formulas

Pool = usable hosts − excluded − static − reservations. For leases in use, the tool adds the clients that stay to the transient arrivals multiplied by how long each holds an address. This is Little’s law: the average number of items in a system equals the arrival rate times the time each spends in it. A transient client holds its lease for the longer of its stay and the lease time unless it releases it when leaving.

Worked example: office subnet

A /24 has 254 usable hosts. Excluding 10, 20 static addresses and 5 reservations leaves 219 dynamic addresses. With 150 permanent devices and no transient clients, leases in use are 150 and utilisation is 68.5%, under an 80% alert. At an 8-hour lease the renewal rate is 150 ÷ (8 × 30) = 0.625 per minute, which any server handles easily.

Worked example: guest network

Now add 20 new guests per hour who stay 3 hours with an 8-hour lease and do not release. Each holds an address for 8 hours, so 20 × 8 = 160 leases join the 150 permanent clients: 310 leases against a pool of 219, 141.6% utilisation. Addresses are exhausted. If clients release on leaving, the hold time drops to 3 hours: 150 + 60 = 210 leases, 95.9%, still above the alert. The fix is a shorter lease on the guest scope (1 to 2 hours) or a bigger subnet; the recommended subnet row shows the size that keeps utilisation under your alert level.

Failover splits

In a 50/50 split each server owns half of the pool. An 80/20 split gives the main server most of it and leaves the partner a smaller reserve. The calculator shows how many addresses each server can offer if the other is down and whether that is enough for the estimated leases. True DHCP failover, where both servers share one pool and replicate lease state, avoids dividing addresses at all.

Subnet size and DHCP together

The recommended subnet row works backwards from demand. It takes the pool needed to stay under your alert level, adds the excluded, static and reserved addresses, adds two for the network and broadcast addresses and rounds up to a power of two. For 150 permanent devices and an 80% alert, that is 188 dynamic addresses plus 35 others, 223 in total, so a /24 is the smallest block that fits.

Renewal traffic

Renewal load is rarely a problem on small networks, but it scales with clients and shrinks with lease time. A 10,000-device campus with 1-hour leases generates about 333 renewals per minute, which is still modest. It becomes noticeable after a power event, when every client asks at once, so size the server and relay path for that burst rather than the average.

Auditing a live scope

Compare the calculator’s estimate with the server’s lease report. If active leases are far below the estimate, your transient-client numbers are too high or leases expire faster than you assumed. If they are above it, count devices again: tablets, phones, watches and IoT devices each take an address, and a single person often carries three.

Why it matters for network engineers

DHCP exhaustion looks like a random outage: new devices get a 169.254 address and cannot reach anything while existing devices work. It usually happens at a busy moment, so an alert level of 80% gives time to react. Sizing from lease demand rather than from the device count also stops long leases quietly eating the guest pool. A good scope size follows from the subnet arithmetic in the IPv4 subnet calculator and from how large a broadcast domain you are willing to run; check that with the broadcast domain size calculator.

Best practices and common mistakes

Keep a consistent layout across subnets, for example gateways at the start, static devices next, then the dynamic pool, so exclusions are easy to audit. Use short leases where devices are transient and long leases where they are stable. Count devices, not people. Alert at 80% and review before 90%. Use conflict detection on the server so a mistyped static address is caught.

Avoid a failover split that leaves a partner with fewer addresses than the clients it must serve. Do not forget DHCP relay: a scope exists per subnet, and a relay must forward requests to both servers. If you are planning several scopes at once, allocate the subnets with the VLSM calculator first.

FAQs

How do you calculate a DHCP scope size?

Take the usable hosts in the subnet and subtract the excluded addresses, the static addresses and the reservations. What is left is the dynamic pool the server can lease.

What is a good DHCP lease time?

It depends on churn. Stable office networks often use 8 hours to several days. Guest and public Wi-Fi networks usually use 1 to 2 hours so addresses return quickly.

When should I alert on DHCP pool usage?

A common alert level is 80% utilisation. It gives you time to extend the scope, shorten leases or enlarge the subnet before addresses run out.

How do I split a DHCP scope between two servers?

A classic split gives 50% to each server, or 80% to the primary and 20% to the partner. Hot-standby and load-balance failover instead let both servers share the full pool.

Next, try the IPv4 subnet calculator, the broadcast-domain-size-calculator and VLSM calculator, or browse all IP & Addressing calculators and the full list of network calculators.