Toolman

/9 subnet

A /9 has a subnet mask of 255.128.0.0 and 8,388,606 usable hosts.

The numbers

Prefix length/9
Subnet mask255.128.0.0
Wildcard mask0.127.255.255
Network bits9
Host bits23
Total addresses8,388,608
Usable hosts8,388,606
/24 networks contained32,768

Where a /9 is used

Half a /8. Used when carving up a large private range into two regions.

Why the usable count is what it is

A /9 leaves 23 bits for hosts, giving 223 = 8,388,608 addresses. Two of those cannot be assigned to a machine: the one with all host bits set to zero is the network address, which names the subnet itself, and the one with all host bits set to one is the broadcast address. That leaves 8,388,606.

Binary layout

mask   11111111.10000000.00000000.00000000
       ^^^^^^^^^                       
       9 network bits, 23 host bits

Splitting and combining

PrefixUsable hostsRelationship
Twice the size/816,777,214Two /9 networks combine into one /8
This network/98,388,606
Half the size/104,194,302One /9 splits into two /10 networks
A quarter/112,097,150Four /11 networks fit in a /9

Frequently asked questions

How many hosts are in a /9?

8,388,608 addresses in total, of which 8,388,606 are usable. The first is the network address and the last is the broadcast address, so two are always lost.

What is the subnet mask for /9?

255.128.0.0. The prefix length is the count of leading 1 bits in the mask, so /9 is 9 ones followed by 23 zeros.

What is the wildcard mask for /9?

0.127.255.255 — the bitwise inverse of the subnet mask. Cisco access lists and OSPF network statements take the wildcard rather than the mask; a zero bit must match and a one bit is ignored.

How does a /9 compare to a /24?

A /9 is 32,768 times larger than a /24 — it contains 32,768 of them.

Other prefix lengths

All prefix lengths · Subnet calculator