Subnet Calculator
Network address, mask, broadcast and host range for an IPv4 subnet.
Worked example
The address 192.168.1.10/24 is in network 192.168.1.0 with subnet mask 255.255.255.0. The broadcast address is 192.168.1.255 and there are 254 usable hosts, from 192.168.1.1 to 192.168.1.254.
Common questions
What does /24 mean?
The first 24 bits of the address identify the network, which equals a subnet mask of 255.255.255.0. The remaining 8 bits give 256 addresses, 254 of them usable.
How many hosts are in a subnet?
2 to the power of (32 minus the prefix length), minus 2 for the network and broadcast addresses. A /26 has 64 − 2 = 62 usable hosts.
What is a wildcard mask?
It is the inverse of the subnet mask, used in access control lists and routing configuration. The wildcard for 255.255.255.0 is 0.0.0.255.
Last updated