Skip to content
TR EN
/12 IPv4 RFC 4632

/12 Subnet Mask & Usable Host Capacity

Mask 255.240.0.0 with 1,048,574 usable hosts. The RFC 1918 private range 172.16.0.0/12 has this size (172.16.0.0 – 172.31.255.255). Docker's default bridge network, 172.17.0.0/16, sits inside it.

Open in Calculator →
Subnet Mask 255.240.0.0 12 Network Bits
Wildcard Mask 0.15.255.255 Inverse Mask
Usable Hosts 1,048,574 2^20 - 2
Total IP Space 1,048,576 Inc. Net & Broadcast

/12 Subnet Architecture & Use Cases

The /12 prefix indicates that 12 bits of the 32-bit IPv4 address belong to the network prefix, while the remaining 20 bits identify local host nodes.

A network interface assigned to this subnet can address up to 1,048,574 active nodes simultaneously in its local broadcast segment.

/12 in Binary: Network vs Host Bits

Subnet mask 255.240.0.0 in binary is 11111111.11110000.00000000.00000000: the first 12 bits are 1s (network portion) and the last 20 bits are 0s (host portion). That gives 2^20 = 1,048,576 addresses; minus the network and broadcast addresses, 1,048,574 are usable.

A /8 block splits into 16 subnets of size /12.

Example: 10.0.0.0/12 Address Range

Network address10.0.0.0
First usable IP10.0.0.1
Last usable IP10.15.255.254
Broadcast address10.15.255.255

Frequently Asked Questions (FAQ)

How many usable hosts are in a /12 subnet? →

A /12 subnet accommodates 1,048,576 total IP addresses and 1,048,574 usable host endpoints.

What is the subnet mask and wildcard mask for /12? →

The subnet mask for /12 is 255.240.0.0, and the wildcard mask is 0.15.255.255.

Where is a /12 network typically deployed? →

Mask 255.240.0.0 with 1,048,574 usable hosts. The RFC 1918 private range 172.16.0.0/12 has this size (172.16.0.0 – 172.31.255.255). Docker's default bridge network, 172.17.0.0/16, sits inside it.

What is the /12 subnet mask in binary? →

The /12 mask is 255.240.0.0, written in binary as 11111111.11110000.00000000.00000000: the first 12 bits are 1s (network portion) and the remaining 20 bits are 0s (host portion). Total addresses are 2^20 = 1,048,576; subtracting the network and broadcast addresses leaves 1,048,574 usable hosts.

Example: what is the IP range of 10.0.0.0/12? →

For 10.0.0.0/12, the network address is 10.0.0.0, the first usable IP is 10.0.0.1, the last usable IP is 10.15.255.254 and the broadcast address is 10.15.255.255.

How many /12 subnets fit in a /8? →

A /8 block can be divided into 16 subnets of size /12 (2^(12-8) = 16).

Network Engineering Toolset

All calculations execute client-side in your browser.

11 tools