Subnet Calculator
Calculate IPv4 and IPv6 subnet details from CIDR notation — network, broadcast, mask, host range, and subnet division.
Calculate IPv4 and IPv6 subnet details from CIDR notation — network, broadcast, mask, host range, and subnet division.
192.168.1.0/24 or 2001:db8::/48.Besides the math, the calculator identifies what kind of range you're looking at: RFC 1918 private ranges, loopback, link-local, carrier-grade NAT (100.64.0.0/10), documentation ranges, and multicast for IPv4, and unique local, link-local, and global unicast for IPv6. IPv6 addresses are shown both compressed and fully expanded, and large IPv6 ranges are sized exactly.
254. A /24 has 256 addresses, and the first (network) and last (broadcast) are reserved. A /31 is a special case used for point-to-point links, where both addresses are usable.
The inverse of the subnet mask, so 0.0.0.255 for a /24. Cisco access lists and OSPF use it to match address ranges.
No. All calculations happen in your browser, so internal network plans stay private. To read a DNS zone, use the DNS Zone File Inspector.
More in Network Tools · All 73 tools