CIDR to IP range calculator
Convert an IPv4 or IPv6 CIDR block to its first and last address, netmask, wildcard mask and address counts.
Calculated locally in this browser with exact integer arithmetic (128-bit for IPv6). No network request is made and the input is not saved.
Planning aid only. It does not know your routes, reserved ranges, cloud provider rules or authoritative IP address plan. IPv4 usable hosts exclude the network and broadcast addresses except on /31 and /32. To go the other way, use the IP range to CIDR converter; the subnet mask and prefix length cheat sheet lists every prefix.