IP Range Calculator
Read the inclusive range of a block, from the network address through the broadcast, and the tighter usable host range inside it. Firewall objects and IPAM exports usually want the inclusive pair. DHCP scopes usually want the usable pair.
Two ranges, on purpose
The inclusive block for 172.16.5.4/22 is 172.16.4.0 through 172.16.7.255. That is every address the prefix covers, including the network and broadcast.
The usable host range drops those two ends: 172.16.4.1 through 172.16.7.254. On a /31 those ends are not dropped, because both addresses are hosts.
A DHCP scope for that /22 should stay inside 172.16.4.1 through 172.16.7.254. The inclusive block is 1,024 addresses and includes 172.16.4.0 and 172.16.7.255. Putting either end in the scope hands out an address that is not a host.
Questions
No. The range starts at the network address of the prefix, which may be lower than the address you entered.
Use the network address with the wildcard mask, not a from-to host list, unless the ACL syntax asks for an inclusive range.
The range is one address. Network, broadcast, and host are the same value. There is nothing to exclude.
A /22 has 10 host bits. 2 to the 10th is 1,024. Usable hosts are 1,022, because the first and last addresses of a conventional block are not hosts.
Sources
Reviewed 8 October 2026. The methodology page records what these labels do not cover.
Related tools
- Subnet CalculatorNetwork, broadcast, mask, and usable hosts for an IPv4 address and prefix.
- Subnet SplitterDivide a network into equal, non-overlapping subnets.
- Wildcard Mask CalculatorInvert a subnet mask into the wildcard bits an ACL checks.
- IP in CIDR CheckerTest whether one address belongs to a network.
