Subnet Calculator
IPv4 and IPv6 — CIDR, host ranges, wildcard masks, subnet splitting
Enter an IPv4 or IPv6 address with a CIDR prefix or subnet mask. The calculator returns network address, broadcast, host range, wildcard mask, and usable host count. Optionally split the network into equal subnets by specifying the number of subnets needed or the required hosts per subnet.
How to read the results
For 192.168.1.0/24, the IPv4 network is 192.168.1.0, the broadcast is 192.168.1.255, and there are 254 usable hosts. /31 uses both addresses for a point-to-point link; /32 represents one address. IPv6 has no broadcast address.
Subnet splitting
Equal subnet counts round up to a power of two: requesting three networks returns four. Host-based splitting chooses the smallest subnet that meets the requirement. IPv4 requests for one or two hosts use /32 or /31; check whether these suit your network. Results are limited to 4,096 subnets. IPv6 input accepts hexadecimal colon notation, including :: compression.