What is calculated?
- Network address, broadcast address, first and last usable address
- Total addresses and usable host count; the special rules for /31 and /32
- Subnet mask, wildcard mask and prefix length
- The block's type: private (RFC 1918), shared address space (CGNAT, RFC 6598), loopback, link-local, documentation or multicast
- Binary view with network bits and host bits marked separately
- Splitting the block into smaller blocks, VLSM planning by host needs and an "is this address in the block?" check
How do I read the result?
- Usable hosts are the total minus two: the network address and the broadcast address are not given to hosts. A /31 (RFC 3021) has two usable addresses and a /32 has one.
- If the address you typed has host bits set (192.168.10.77/26), the result shows the block that address belongs to (192.168.10.64/26).
- The wildcard mask is the inverse of the subnet mask (255.255.255.192 → 0.0.0.63); it is used in access lists (ACLs).
- IPv6 has no broadcast address. The first address of a subnet (interface identifier zero) is reserved for routers (the subnet-router anycast address, RFC 4291); the result shows only the first and last address. The standard prefix for a local network is /64.
Frequently asked questions
How many hosts is a /24?
256 addresses and 254 usable hosts, with the subnet mask 255.255.255.0. The network and broadcast addresses are not assigned to hosts.
What is the difference between a prefix and a mask?
They carry the same information: /26 is the prefix length (the first 26 bits are the network part) and 255.255.255.192 is the same number in dotted form. The mask bits must be contiguous; 255.0.255.0 is not a valid subnet mask.
Are the addresses I enter stored?
No. The calculation is done by the script on the page in your browser; the addresses are not sent to a server and are not kept in any list.
Why are addresses with leading zeros such as 010.1.1.1 rejected?
On some systems a leading zero means an octal number; 010 can be 8, not decimal 10. The notation is rejected so that you do not get a wrong result.