The /13 prefix means the first 13 bits of the address identify the network and the remaining 19 identify the host. Written out, the mask is 255.248.0.0, in binary 11111111.11111000.00000000.00000000, and its Cisco wildcard or inverse form is 0.7.255.255. It covers 524,288 addresses, of which 524,286 can be given to hosts.
| CIDR prefix | /13 |
|---|---|
| Subnet mask | 255.248.0.0 |
| Mask in binary | 11111111.11111000.00000000.00000000 |
| Wildcard (inverse) mask | 0.7.255.255 |
| Host bits | 19 |
| Total addresses | 524,288 |
| Usable hosts | 524,286 |
| Block size (magic number) | 8 in octet 2 |
A 10.0.0.0/8 contains 32 subnets of /13. Here are the first 8, which is enough to see the pattern: each one starts 8 after the last in octet 2.
| Network | First host | Last host | Broadcast |
|---|---|---|---|
| 10.0.0.0/13 | 10.0.0.1 | 10.7.255.254 | 10.7.255.255 |
| 10.8.0.0/13 | 10.8.0.1 | 10.15.255.254 | 10.15.255.255 |
| 10.16.0.0/13 | 10.16.0.1 | 10.23.255.254 | 10.23.255.255 |
| 10.24.0.0/13 | 10.24.0.1 | 10.31.255.254 | 10.31.255.255 |
| 10.32.0.0/13 | 10.32.0.1 | 10.39.255.254 | 10.39.255.255 |
| 10.40.0.0/13 | 10.40.0.1 | 10.47.255.254 | 10.47.255.255 |
| 10.48.0.0/13 | 10.48.0.1 | 10.55.255.254 | 10.55.255.255 |
| 10.56.0.0/13 | 10.56.0.1 | 10.63.255.254 | 10.63.255.255 |
Take the interesting octet of the mask, the one that is neither 255 nor 0. For /13 that is 248 in octet 2. Subtract it from 256:
256 - 248 = 8
That is the block size. Every /13 network address is a multiple of 8 in octet 2, so you can list them by counting: 0, 8, 16, 24, and so on. No binary needed once you know the number.
A /13 is a quarter of a /11 and holds half a million addresses. It shows up in provider aggregation and in the middle layers of a large private plan. It is a routing-table size, not a subnet size.
A /13 holds 524,288 addresses in total. After reserving the network and broadcast addresses, 524,286 are usable by hosts.
The /13 subnet mask is 255.248.0.0 in dotted-decimal notation.
The wildcard mask, also called the inverse mask, is 0.7.255.255. It is the bitwise inverse of 255.248.0.0 and is what Cisco access lists and OSPF network statements expect.
The /13 mask written out bit by bit is 11111111.11111000.00000000.00000000: 13 ones followed by 19 zeros.