How to use it
- Enter an address such as 192.168.1.10/24, or an address and a mask.
- Read the network, broadcast and host range.
- Check the number of usable hosts.
How it works
The prefix length is the number of leading 1 bits in the mask. The network address is the address AND the mask, the broadcast address is the network address with all host bits set to 1, and the wildcard mask is the mask inverted. A subnet has 2^(32 − prefix) addresses; normally two are not usable (network and broadcast), while a /31 point-to-point link uses both (RFC 3021) and a /32 is a single host.
Examples
- 192.168.1.10/24: network 192.168.1.0, broadcast 192.168.1.255, hosts .1 to .254 (254 usable).
Limitations
- IPv4 only. Addresses with leading zeros (such as 010.1.1.1) are rejected because tools disagree on whether they are octal.
- The “type” label only recognises a few well-known special ranges. Cloud networks often reserve extra addresses in each subnet.
References
Last verified . See our Accuracy & Editorial Policy. Found a problem? Email contact@tools.gift.