CIDR & subnet calculator — IPv4 and IPv6

Netmask, wildcard, broadcast, host range and host count for any IPv4 CIDR block. Split it into subnets, check an address is inside, and expand or compress IPv6.