Subnet calculator › CIDR /18
/18 subnet mask (255.255.192.0)
A /18 uses the first 18 bits for the network and the remaining 14 bits for hosts: 16,384 addresses, 16,382 usable hosts.
| CIDR notation | /18 |
|---|---|
| Subnet mask | 255.255.192.0 |
| Wildcard mask | 0.0.63.255 |
| Binary mask | 11111111.11111111.11|000000.00000000 |
| Hex mask | 0xFFFFC000 |
| Total addresses | 16,384 (214) |
| Usable hosts | 16,382 · 16,384 addresses minus the network and broadcast addresses. |
| Block size | The third octet changes in steps of 64 |
What is a /18 used for?
- Large subnets inside a VPC, Pod ranges for many-node Kubernetes clusters
/18 address range examples
Splitting 10.0.0.0/16 into /18 gives 4 subnets.
| Network | Usable range | Broadcast |
|---|---|---|
| 10.0.0.0/18 | 10.0.0.1 ~ 10.0.63.254 | 10.0.63.255 |
| 10.0.64.0/18 | 10.0.64.1 ~ 10.0.127.254 | 10.0.127.255 |
| 10.0.128.0/18 | 10.0.128.1 ~ 10.0.191.254 | 10.0.191.255 |
| 10.0.192.0/18 | 10.0.192.1 ~ 10.0.255.254 | 10.0.255.255 |
Splitting a /18 further
| Split into | Subnets | Hosts each |
|---|---|---|
| /19 | 2 | 8,190 |
| /20 | 4 | 4,094 |
| /21 | 8 | 2,046 |
| /22 | 16 | 1,022 |
| /23 | 32 | 510 |
| /24 | 64 | 254 |
| /25 | 128 | 126 |
| /26 | 256 | 62 |