Loading…
Loading…
NetCalc
IP + CIDR prefix in, full subnet details out — network, broadcast, host range.
A /24 means the first 24 bits are the network portion, leaving 8 bits (2⁸ = 256 addresses, 254 usable hosts) for hosts. Each step down (/25, /26, …) halves the host count. The subnet mask is just those network bits set to 1 — /24 = 255.255.255.0, /16 = 255.255.0.0.
The first address in a subnet is the network address (identifies the subnet itself) and the last is the broadcast address (reaches all hosts on the subnet). Neither can be assigned to a device, so usable hosts = 2^(32 − prefix) − 2. A /31 is a special case used for point-to-point links.
What you entered
Subnet mask from CIDR prefix
/24 → 32-bit mask= 255.255.255.0Network address (IP AND mask)
192.168.1.100 AND 255.255.255.0= 192.168.1.0Broadcast address (network OR ~mask)
192.168.1.0 OR ~255.255.255.0= 192.168.1.255Usable host range
192.168.1.1 – 192.168.1.254= 254 hostsResult
Network: 192.168.1.0
192.168.1.100/24 belongs to network 192.168.1.0 with subnet mask 255.255.255.0. The usable host range is 192.168.1.1 to 192.168.1.254 (254 hosts). Broadcast address: 192.168.1.255.