Subnet Visualizer
Understand how an IP address is split into network and host portions.
Interactive workspace
Change the address or prefix length and watch the network and host portions separate.
Try an address
Start with an IP address and choose how many leading bits identify the network.
Examples
Bits breakdown
The first 24 bits are the network prefix. The remaining 8 bits are host space.
Octet 1
Octet 2
Octet 3
Octet 4
/24 means the first 24 bits identify the network. The remaining 8 bits are available for host addresses inside that network.
Result
Network address and host range for this subnet.
Network address
192.168.10.0
Usable host range
192.168.10.1
to 192.168.10.254
- Subnet mask
- 255.255.255.0
- Broadcast
- 192.168.10.255
- Total hosts
- 256
- Usable hosts
- 254
What to notice
The CIDR prefix fixes the network portion of the address. Every host in 192.168.10.0/24 shares those prefix bits, while the host bits change to identify devices.
Quick practice
Change the prefix from /24 to /25. What happens to the usable host count and why?