Calculate IPv4 & IPv6 subnet masks, CIDR network ranges, usable host IPs, subnets, and reverse DNS records.
Standard IPv4 CIDR prefix lengths, subnet masks, total addresses, and usable host counts.
| CIDR | Subnet Mask | Total IPs | Usable Hosts | Typical Use |
|---|---|---|---|---|
| /32 | 255.255.255.255 | 1 | 1 | Single Host / Loopback |
| /30 | 255.255.255.252 | 4 | 2 | Point-to-Point Links |
| /29 | 255.255.255.248 | 8 | 6 | Small Server Subnet |
| /28 | 255.255.255.240 | 16 | 14 | Branch Office Subnet |
| /27 | 255.255.255.224 | 32 | 30 | Department LAN |
| /26 | 255.255.255.192 | 64 | 62 | Medium Business LAN |
| /25 | 255.255.255.128 | 128 | 126 | Large Department Subnet |
| /24 | 255.255.255.0 | 256 | 254 | Standard Class C LAN |
| /23 | 255.255.254.0 | 512 | 510 | Supernet / Dual /24 |
| /22 | 255.255.252.0 | 1,024 | 1,022 | Campus Network Block |
| /16 | 255.255.0.0 | 65,536 | 65,534 | Standard Class B Network |
| /8 | 255.0.0.0 | 16,777,216 | 16,777,214 | Standard Class A Network |
Calculate IPv4 & IPv6 subnet masks, CIDR network ranges, usable host IPs, subnets, and reverse DNS records.
The dual-stack IPv4 & IPv6 Subnet Calculator assists network engineers in planning IP address allocations, routing tables, and firewall subnetting. It seamlessly computes IPv4 masks and host counts alongside full IPv6 expansions, RFC 5952 compression, /64 subnet counts, and ip6.arpa reverse DNS zones.
This online diagnostic utility is powered by ToolPing to provide fast, reliable, and secure network analytics for sysadmins and developers.
Select the 'IPv4 Subnetting' tab, enter an IPv4 address (e.g. 192.168.1.0) and choose a CIDR prefix (/24). The tool instantly calculates network ID, broadcast IP, subnet mask, wildcard mask, and usable host count.
Select the 'IPv6 Subnetting' tab, enter any IPv6 address and select your prefix length (/64, /56, /48). The tool computes full 8-hextet expansion, RFC 5952 compression, available /64 subnets, address scope, and reverse DNS ip6.arpa PTR zones.
In IPv6, a /64 prefix length is required for Stateless Address Autoconfiguration (SLAAC). The top 64 bits identify the subnet and the bottom 64 bits form the host interface ID.
IPv6 replaced broadcast with efficient Multicast (ff02::) and Anycast. This eliminates broadcast storms and ensures network devices only process traffic intended for them.
A /64 provides 1 single subnet. A /56 allocation (typical for residential & SMB internet connections) contains 256 individual /64 subnets. A /48 allocation (for enterprise datacenters) provides 65,536 distinct /64 subnets.