Details
| Property | Value |
|---|---|
| Network bits | 12 |
| Host bits | 20 |
| Mask in binary | 11111111.11110000.00000000.00000000 |
| Mask in hex | 0xFFF00000 |
| Total addresses | 220 = 1,048,576 |
| Usable hosts | 220 − 2 = 1,048,574 |
| Number of /24s inside | 4,096 |
| Historic class equivalent | — |
Typical use: 172.16.0.0/12 private block.
Example: 10.0.0.0/12
Network 10.0.0.0, broadcast 10.15.255.255, hosts 10.0.0.1 to 10.15.255.254.
Neighbouring prefixes
Each step of one bit halves (or doubles) the size: a /12 holds two /13s.