Instantly calculate the network, broadcast, subnet mask, and host range from an IPv4 address and prefix length
A /24 corresponds to the subnet mask 255.255.255.0 and has 256 total addresses (2 to the 8th power). Excluding the network address at the start and the broadcast address at the end, 254 addresses are usable for actual devices.
A subnet mask is a 32-bit value that shows which part of an IPv4 address is the network portion and which part is the host portion. The leading consecutive 1 bits indicate the network portion, and the number of those 1 bits is called the prefix length (such as /24). For example, /24 is the same as 255.255.255.0.
Yes. The calculation from the IP address and prefix length you enter happens entirely in JavaScript inside your browser. Your input is never sent to or stored on a server.