IPv4 Subnet Calculator
Network address, broadcast, host range, wildcard mask and binary breakdown for any IPv4 CIDR block.
Results for 172.16.0.0/16
- Network address
- 172.16.0.0
- Broadcast address
- 172.16.255.255
- Subnet mask
- 255.255.0.0
- Wildcard mask
- 0.0.255.255
- Total addresses
- 65,536
- Usable hosts
- 65,534 (excludes network & broadcast)
- First usable host
- 172.16.0.1
- Last usable host
- 172.16.255.254
- CIDR notation
- 172.16.0.0/16
- IP type
- Private (RFC 1918)
How the bits line up
| Octets (binary) | ||||
|---|---|---|---|---|
| IP address | 10101100 | 00010000 | 00000000 | 00000000 |
| Subnet mask | 11111111 | 11111111 | 00000000 | 00000000 |
| Network | 10101100 | 00010000 | 00000000 | 00000000 |
| Broadcast | 10101100 | 00010000 | 11111111 | 11111111 |
The mask's 16 leading ones select the network portion; the remaining 16 bits are available for hosts.
How to use the calculator
Type any block in CIDR notation — 10.0.0.0/22 — or supply an address with a dotted mask, e.g. 10.0.0.5 255.255.255.192. The calculator accepts either form and derives the containing network from whichever host address you give it. Each field in the results panel means:
- Network address — the first address of the block, where the subnet begins.
- Broadcast address — the last address, delivered to every host on the segment.
- First / last usable host — the assignable range between those two endpoints.
- Wildcard mask — the inverted subnet mask used in Cisco ACLs and OSPF match statements.
- Binary breakdown — shows how the mask's leading ones divide network bits from host bits.
Worked example: enter 192.168.1.0/24. With 24 network bits the mask is 255.255.255.0, the network address is 192.168.1.0, broadcast is 192.168.1.255, and hosts may claim 192.168.1.1 through 192.168.1.254 — 254 usable addresses. The result link encodes your query in the URL, so sharing it reopens the identical calculation.
Keep exploring
See every fact about the /16 subnet mask, plan multiple subnets with the VLSM calculator, or convert ranges on the range-to-CIDR tool.