Tools / IPv4 Subnet Calculator

IPv4 Subnet Calculator

Enter a subnet in CIDR notation to calculate network details, address range and host counts.

Common Subnet Reference
CIDR Subnet Mask Addresses Usable Hosts
/8 255.0.0.0 16,777,216 16,777,214
/16 255.255.0.0 65,536 65,534
/24 255.255.255.0 256 254
/25 255.255.255.128 128 126
/26 255.255.255.192 64 62
/27 255.255.255.224 32 30
/28 255.255.255.240 16 14
/29 255.255.255.248 8 6
/30 255.255.255.252 4 2
/31 255.255.255.254 2 2 (p2p)
/32 255.255.255.255 1 1 (host)