CIDR
/9
Subnet Mask
255.128.0.0
Total Addresses
8,388,608
Usable Hosts
8,388,606
01 / EXAMPLE

Example: 10.128.0.0/9

Network address
10.128.0.0
Broadcast
10.255.255.255
First host
10.128.0.1
Last host
10.255.255.254
Subnet mask
255.128.0.0
Wildcard mask
0.127.255.255
Open in Calculator → Open as AWS VPC
02 / CLOUD HOSTS

Usable hosts by cloud provider

Provider Reserved Usable Hosts
Standard (RFC)28,388,606
AWS VPC58,388,603
Azure VNet58,388,603
GCP48,388,604
OCI38,388,605
8,388,608 total − 5 reserved = 8,388,603 usable
03 / WHERE YOU SEE /9

When to use a /9

Useful for large regional partitions of a /8 block.

03 / SUBNET MATH

How to read the /9 mask

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

The wildcard mask — the bitwise inverse of the subnet mask — is 0.127.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 /9, that leaves 23 don't-care host bits.

To find the network address for any IP in a /9 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 /9 in real networks

A /9 is half of a Class A network — 8.4 million addresses. You see /9 as an aggregate route in BGP tables and as a planning unit for ISP-scale allocations. It's never a usable LAN; the broadcast domain would be absurd.

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 /9 on standard RFC math gives you 8.39M usable hosts, but on AWS or Azure that drops to 8.39M. 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

How many usable hosts does a /9 subnet have?

A /9 subnet has 8.39M usable hosts on standard RFC math. On AWS or Azure (which reserve 5 IPs per subnet), you get 8.39M usable. On GCP (4 reserved), 8.39M. On OCI (3 reserved), 8.39M.

What is the subnet mask for /9?

The /9 prefix corresponds to subnet mask 255.128.0.0. The matching wildcard mask (used in Cisco ACLs) is 0.127.255.255.

How do you calculate the network and broadcast addresses for a /9?

Apply a bitwise AND between the IP and the subnet mask to get the network address. OR the network address with the wildcard mask to get the broadcast. For example, 10.0.0.0/9 has 8.39M total addresses, with the first being the network address and the last being the broadcast.

06 / RELATED

Related prefixes & tools

← /8
All prefixes →
/10 →