IPv4 subnet calculator
Enter an IPv4 address and prefix length to find its network range and subnet mask.
Address range
- Network address
- 192.0.2.64
- Broadcast address
- 192.0.2.79
- Subnet mask
- 255.255.255.240
- Total addresses
- 16
How does the prefix work?
The prefix counts the fixed bits in a 32-bit IPv4 address. A /28 leaves four variable bits and covers 16 addresses. A /31 describes two addresses and is often used for a point-to-point link. A /32 describes a single host.