CIDR /12Private (RFC 1918)Class B Private Block
172.16.0.0/12 Subnet Calculator & Range | ipcalc.net
Complete subnet breakdown for 172.16.0.0/12 (Class B Private Block): Netmask 255.240.0.0, host range 172.16.0.1 - 172.31.255.254, usable hosts: 10,48,574.
Enter any notation: 192.168.1.1/24, 10.0.0.1 255.255.255.0, or plain IP
Subnet Mask Prefix: /12Netmask: 255.240.0.0
Presets:
32-Bit Subnet Boundary Visualizer
Click any bit position to adjust the CIDR prefix boundary
Network (12 bits)
Host (20 bits)
Octet 1172Mask: 255
11111111
Octet 216Mask: 240
11110000
Octet 30Mask: 0
00000000
Octet 40Mask: 0
00000000
Usable Hosts
1,048,574
Total IPs: 1,048,576
Network Address
172.16.0.0
Prefix: /12
Usable Host Range
172.16.0.1
172.31.255.254
Broadcast Address
172.31.255.255
Subnet Broadcast
Detailed Subnet Breakdown
Private (RFC 1918)Subnet Mask
255.240.0.0
Wildcard Mask (Cisco ACL)
0.15.255.255
Hexadecimal IP / Mask
0xAC100000 / 0xFFF00000
Integer / Decimal IP
2886729728
IP Class & Routing
Class B • Classless Inter-Domain Routing (CIDR)
Reverse DNS (in-addr.arpa)
0.0.16.172.in-addr.arpa
Cisco IOS Command Templates
ip address 172.16.0.0 255.240.0.0
access-list 1 permit 172.16.0.0 0.15.255.255
Technical Subnet Specifications
Prefix Length/12
Dotted Decimal Subnet Mask255.240.0.0
Wildcard Mask (Inverse)0.15.255.255
Total Available IP Addresses10,48,576
Usable Host Capacity10,48,574 hosts
Network Bits vs Host Bits12 Network / 20 Host
Binary Subnet Mask11111111.11110000.00000000.00000000
Cisco IOS Configuration
Copy-paste templates for Cisco router and switch interface setup:
! Configure Interface
interface GigabitEthernet0/0/1
ip address 172.16.0.1 255.240.0.0
no shutdown
! Access-Control List
access-list 10 permit 172.16.0.0 0.15.255.255
Tip: Wildcard mask is computed by inverting the subnet mask (
~mask).Typical Network Use Cases for /12
A /12 network block provides 10,48,576 total IP addresses with 10,48,574 usable host interfaces.
Designated Role: Subnet block.
Frequently Asked Questions: /12 (255.240.0.0)
Authoritative answers to common /12 subnetting, host capacity, and networking questions.
Q1How many usable hosts are in a /12 subnet?
A /12 subnet provides 10,48,574 usable host IP addresses out of 10,48,576 total addresses. In IPv4 networking, 2 addresses are reserved: the network address (172.16.0.0) and the directed broadcast address (172.31.255.255). Formula: 2^(32 - 12) - 2 = 10,48,574 usable hosts.
Q2What is the subnet mask and wildcard mask for /12?
The dotted-decimal subnet mask for a /12 prefix is 255.240.0.0. The corresponding wildcard mask (used in Cisco ACLs and OSPF network statements) is 0.15.255.255. In binary, the subnet mask consists of 12 network bits (1s) followed by 20 host bits (0s).
Q3What are the network, broadcast, and usable IP ranges for 172.16.0.0/12?
For the 172.16.0.0/12 subnet: the Network Address is 172.16.0.0, the Broadcast Address is 172.31.255.255, and the usable host range extends from 172.16.0.1 through 172.31.255.254. Any host interface configured in this subnet must have an IP within this range and netmask 255.240.0.0.
Q4What is a /12 subnet typically used for in network design?
A /12 subnet is typically deployed for subnet block. In enterprise and cloud environments (such as AWS VPCs or Azure VNets), /12 allocations provide the optimal balance between host capacity and address conservation.
Q5What does /12 mean in CIDR notation?
Classless Inter-Domain Routing (CIDR) notation expresses the subnet mask as a forward slash followed by the prefix length. A /12 prefix indicates that the first 12 bits of the 32-bit IPv4 address are locked for network identification, leaving the remaining 20 bits available for addressing host interfaces.