IPv4 subnetting divides an address into network and host portions. CIDR notation writes the prefix length after a slash, such as 192.168.1.10/24.
What /24 means
A /24 prefix means the first 24 bits identify the network. The equivalent subnet mask is 255.255.255.0, leaving 8 bits for addresses inside the subnet.
Network address
The network address is the lowest address in the block after the host bits are set to zero. For 192.168.1.10/24, the network is 192.168.1.0.
Broadcast address
In a conventional IPv4 subnet, the broadcast address has all host bits set to one. For the same /24 block, that is 192.168.1.255.
Usable host range
Traditional subnets reserve the network and broadcast addresses, so a /24 commonly provides 254 usable host addresses. /31 and /32 have special operational use cases, so modern networking practice may treat them differently.
Check an address
Enter an IPv4 address and prefix in the IPv4 Subnet Calculator to display the mask, network, broadcast and host range.