Skip to content
IPCheckHQDashboard

/12 subnet

A /12 fixes the first 12 bits of the address and leaves 20 for hosts. That gives 1,048,576 addresses and subnet mask 255.240.0.0.

Example: 10.0.0.0/12

CIDR block
10.0.0.0/12
Network address
10.0.0.0
Broadcast address
10.15.255.255
Usable host range
10.0.0.1 – 10.15.255.254
Total addresses
1,048,576
Usable hosts
1,048,574
Subnet mask
255.240.0.0
Wildcard mask
0.15.255.255
Mask in binary
11111111.11110000.00000000.00000000

Check another address in the subnet calculator.

Where you see a /12

  • 172.16.0.0/12 is one of the three private ranges (RFC 1918). It covers 172.16.0.0 to 172.31.255.255.

What fits inside a /12

Smaller blockHow many
/132
/144
/158
/1616
/1732
/1864
/19128
/20256
/244,096
/321,048,576

Splitting 10.0.0.0/12 into /14 blocks starts with 10.0.0.0/14, 10.4.0.0/14, 10.8.0.0/14, 10.12.0.0/14.

How many fit in a larger block

  • A /8 holds 16 blocks of /12.

Questions

How many hosts are in a /12 subnet?

A /12 has 1,048,576 addresses. Two are reserved for the network and broadcast addresses, which leaves 1,048,574 usable hosts.

What is the subnet mask for a /12?

The subnet mask for a /12 is 255.240.0.0, written in binary as 11111111.11110000.00000000.00000000. The wildcard mask is 0.15.255.255.

What is an example of a /12 range?

10.0.0.0/12 runs from 10.0.0.0 to 10.15.255.255. Hosts use 10.0.0.1 to 10.15.255.254, and 10.15.255.255 is the broadcast address.