Subnet Mask
255.240.0.0
CIDR
/12
Total Addresses
1,048,576
Usable Hosts
1,048,574
01 / KEY VALUES

255.240.0.0 at a glance

Subnet mask
255.240.0.0
CIDR notation
/12
Wildcard mask
0.15.255.255
Total addresses
1,048,576
Usable hosts (RFC)
1,048,574
Subnet bits
12
Open in Calculator → See /12 prefix page
02 / CLOUD HOSTS

Usable hosts by cloud provider

Provider Reserved Usable Hosts
Standard (RFC)21,048,574
AWS VPC51,048,571
Azure VNet51,048,571
GCP41,048,572
OCI31,048,573
03 / WHERE YOU SEE IT

When to use 255.240.0.0

172.16.0.0/12 is one of the three private ranges. Roughly a million addresses.

For the full deep dive (use cases, examples, AWS-specific sizing), see the /12 prefix page →

← 255.224.0.0 (/11)
All masks →
255.248.0.0 (/13) →
03 / SUBNET MATH

How to read the 255.240.0.0 mask

The /12 subnet uses 255.240.0.0 as its subnet mask — meaning the first 12 bits of every address identify the network, and the remaining 20 bits identify the host within that network. That gives you 1.05M total addresses (1.05M usable on standard RFC math, after subtracting the network and broadcast addresses).

The wildcard mask — the bitwise inverse of the subnet mask — is 0.15.255.255. Wildcards are what Cisco access-control lists and OSPF area definitions use instead of subnet masks; the "1" bits mark "don't care" positions. For a /12, that leaves 20 don't-care host bits.

To find the network address for any IP in a /12 block, perform a bitwise AND between the IP and the subnet mask. To find the broadcast, OR the network address with the wildcard. Modern tools — like our subnet calculator — do this in microseconds, but the underlying mechanics are straightforward binary arithmetic.

04 / IN PRACTICE

Where you encounter 255.240.0.0 in real networks

A /12 contains 1 million addresses. The 172.16.0.0/12 private range (RFC 1918) is the most famous example. Docker's default bridge network sits inside this range, which is why container networking discussions often mention /12.

Cloud-provider quirks matter at every prefix size: AWS and Azure reserve 5 IPs per subnet, GCP reserves 4, and OCI reserves 3. So a /12 on standard RFC math gives you 1.05M usable hosts, but on AWS or Azure that drops to 1.05M. The capacity-planning gap bites hardest at small prefixes (a /28 has 14 usable on paper, only 11 on AWS) but exists at every size. Our cloud-aware calculator applies the right math automatically.

05 / FAQ

Common questions

What CIDR notation is 255.240.0.0?

The subnet mask 255.240.0.0 equals /12 in CIDR notation. This means 12 bits of the 32-bit address identify the network, and 20 bits identify the host.

How many hosts does the 255.240.0.0 subnet support?

A subnet with mask 255.240.0.0 (/12) supports 1.05M usable hosts on standard RFC math. On AWS or Azure (5 reserved IPs), 1.05M hosts. On GCP (4 reserved), 1.05M.

What is the wildcard mask for 255.240.0.0?

The wildcard mask is the bitwise inverse of the subnet mask. For 255.240.0.0, the wildcard is 0.15.255.255. Cisco access control lists use wildcard masks instead of subnet masks.

06 / RELATED

Related prefixes & tools