Calculate network details from an IP address and CIDR prefix.
IP subnetting is the process of dividing a large IP network into smaller, logical sub-networks. Every IPv4 address is a 32-bit number, split into a network portion and a host portion. The subnet mask (or CIDR prefix) determines where that split happens. Subnetting lets network administrators control traffic flow, improve security through isolation, and use IP address space more efficiently.
CIDR (Classless Inter-Domain Routing) notation uses a slash followed by a number to indicate the subnet mask. For example, 192.168.1.0/24 means the first 24 bits are the network address, leaving 8 bits for host addresses (256 total, 254 usable). The smaller the CIDR number, the larger the network.
| CIDR | Subnet Mask | Usable Hosts |
|---|---|---|
| /8 | 255.0.0.0 | 16,777,214 |
| /16 | 255.255.0.0 | 65,534 |
| /20 | 255.255.240.0 | 4,094 |
| /24 | 255.255.255.0 | 254 |
| /25 | 255.255.255.128 | 126 |
| /26 | 255.255.255.192 | 62 |
| /27 | 255.255.255.224 | 30 |
| /28 | 255.255.255.240 | 14 |
| /29 | 255.255.255.248 | 6 |
| /30 | 255.255.255.252 | 2 |
Once your subnets are configured, make sure your services stay reachable. UptimeSignal monitors your endpoints from outside your network and alerts you the moment something goes down.
Start monitoring free →25 monitors free. No credit card required.