More detailsNeighboring subnets, wildcard mask, hex, reverse DNS, and binary breakdown
Neighboring /12 subnets
- Wildcard mask
- Used in Cisco ACLs and OSPF
- CIDR notation
- IP in hexadecimal
- IP as 32-bit integer
- Reverse DNS (PTR)
- Host bits / subnet bits
Binary breakdown
IP address
10101100.00010000.00000000.00000000Subnet mask
11111111.11110000.00000000.00000000Network
10101100.00010000.00000000.00000000Broadcast
10101100.00011111.11111111.11111111Quick facts for /12
- Subnet mask: 255.240.0.0
- Wildcard: 0.15.255.255
- Usable hosts: 1,048,574
- Total addresses: 1,048,576
/12 reference guideBit split, overview, sizing tables, notable networks, and FAQ
Binary bit split
11111111·11110000·00000000·00000000
Network bits (12)Host bits (20)
- Network bits
- 12
- Host bits
- 20
- Subnet mask
- 255.240.0.0
- Wildcard mask
- 0.15.255.255
- Total addresses
- 1,048,576
- Usable hosts
- 1,048,574
- Hosts formula
- 2^20 − 2
- /24 relationship
- 4,096 × /24 networks
Overview
A /12 block contains 1,048,576 addresses. The entire 172.16.0.0/12 range is reserved by RFC 1918 for private networking — covering 172.16.x.x through 172.31.x.x.
Common use cases
- RFC 1918 Class B private range (172.16.0.0/12)
- Docker default network bridge addressing
- Large enterprise multi-site addressing
- Cloud VPC address pools
Subnet sizing reference
Notable /12 networks
172.16.0.0/12RFC 1918 Class B private range
Frequently asked questions
Common questions about /12 networks, subnet masks, and use cases.