
How the calculator counts
The prefix length says how many leading bits of the address belong to the network. A /26 leaves 6 bits for hosts, which gives 64 addresses: the first is the network address and the last is the broadcast, so 62 are usable.
Networks /31 and /32 are exceptions: a /31 link uses both addresses, and a /32 is a single host. The wildcard mask is the inverted mask that routers and firewalls use in access lists.
When you need it
- Allow a whole office network in the IP authorisation of your proxies
- Check that two ranges from a provider do not overlap
- Plan subnets for servers, VPN and guest Wi-Fi
- Turn a mask like 255.255.255.224 into a prefix and back