A /28 subnet mask is 255.255.255.240, with 16 addresses and 14 usable hosts.
| CIDR prefix | /28 |
|---|---|
| Subnet mask | 255.255.255.240 |
| Subnet mask (binary) | 11111111.11111111.11111111.11110000 |
| Wildcard mask | 0.0.0.15 |
| Network bits / host bits | 28 / 4 |
| Total addresses | 16 |
| Usable hosts | 14 |
| /28 subnets in a /8 | 1,048,576 |
| /28 subnets in a /16 | 4,096 |
| /28 subnets in a /24 | 16 |
The mask ends 4 bits into octet 4, so blocks step in increments of 16 in that octet. Sixteen per /24, with 14 usable hosts each. Common for small server groups and DMZ segments.
| Network | First usable host | Last usable host | Broadcast |
|---|---|---|---|
| 192.168.1.0/28 | 192.168.1.1 | 192.168.1.14 | 192.168.1.15 |
| 192.168.1.16/28 | 192.168.1.17 | 192.168.1.30 | 192.168.1.31 |
| 192.168.1.32/28 | 192.168.1.33 | 192.168.1.46 | 192.168.1.47 |
| 192.168.1.48/28 | 192.168.1.49 | 192.168.1.62 | 192.168.1.63 |
| 192.168.1.64/28 | 192.168.1.65 | 192.168.1.78 | 192.168.1.79 |
| 192.168.1.80/28 | 192.168.1.81 | 192.168.1.94 | 192.168.1.95 |
| 192.168.1.96/28 | 192.168.1.97 | 192.168.1.110 | 192.168.1.111 |
| 192.168.1.112/28 | 192.168.1.113 | 192.168.1.126 | 192.168.1.127 |
A /28 subnet mask is 255.255.255.240. In binary that is 11111111.11111111.11111111.11110000: 28 network bits followed by 4 host bits. The wildcard mask is 0.0.0.15.
A /28 holds 16 addresses in total. Subtracting the network and broadcast addresses leaves 14 usable hosts.
A /24 divides into 16 subnets of size /28, because each extra mask bit doubles the number of subnets.
Calculate this over HTTP: curl https://networkcalc.com/api/ip/192.168.1.0/28.
See the Subnet Calculator API.