IP Subnet Calculator
Subnet mask, network/broadcast address and host range for plant network planning.
READY
ip_subnet_calculator.tool
READY
Address typeClass CPrivate (RFC1918)
Network address192.168.10.0/24
Broadcast address192.168.10.255
First host192.168.10.1
Last host192.168.10.254
Usable hosts254
Subnet mask255.255.255.0
Wildcard mask0.0.0.255
Total addresses256
Address rangeSelected subnet
192.168.10.0/24Whole network
192.168.10.0192.168.10.255
Selected subnet: 192.168.10.0 – 192.168.10.255
Bit splitNetwork bits (24)Host bits (8)
11000000
.10101000
.00001010
.00110010
Subnet division
// HOW IT WORKS
From an IP address and a CIDR prefix the tool derives the network address, broadcast address, usable host range and host count. It applies the subnet mask to the IP bitwise.
Formula
network = IP AND mask broadcast = network OR (NOT mask) usable hosts = 2^(32 − prefix) − 2
Example
192.168.1.50/24 → network 192.168.1.0, broadcast 192.168.1.255, hosts 192.168.1.1–254 (254 usable).
Notes
- The −2 reserves the network and broadcast addresses, which cannot be assigned to hosts.
- /31 (point-to-point, RFC 3021) and /32 (single host) are special cases with no host subtraction.