For IPv6 calculations, use the IPv6 Prefix Calculator.
Enter an IPv4 address and select a subnet mask from the dropdown to calculate the network address and broadcast address.
| Network Address | ||
|---|---|---|
| Broadcast Address | ||
| Wildcard Mask | ||
| Binary Subnet Mask | ||
| Usable Host Range (Start) | ||
| Usable Host Range (End) | ||
| Usable Hosts | ||
| IP Class | ||
| IP Type |
How the calculation works
The network address is obtained by a bitwise AND of the IP address and the subnet mask. The broadcast address is obtained by a bitwise OR of the network address and the inverted subnet mask (the host bits set to all 1s). See the IPv4 Addresses page for more details.