Toolman

/1 subnet

A /1 has a subnet mask of 128.0.0.0 and 2,147,483,646 usable hosts.

The numbers

Prefix length/1
Subnet mask128.0.0.0
Wildcard mask127.255.255.255
Network bits1
Host bits31
Total addresses2,147,483,648
Usable hosts2,147,483,646
/24 networks contained8,388,608

Where a /1 is used

Half the internet. Only ever seen in routing experiments and in the two-route trick for splitting default traffic between two paths without touching the default route itself.

Why the usable count is what it is

A /1 leaves 31 bits for hosts, giving 231 = 2,147,483,648 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 2,147,483,646.

Binary layout

mask   10000000.00000000.00000000.00000000
       ^                               
       1 network bits, 31 host bits

Splitting and combining

PrefixUsable hostsRelationship
Twice the size/04,294,967,294Two /1 networks combine into one /0
This network/12,147,483,646
Half the size/21,073,741,822One /1 splits into two /2 networks
A quarter/3536,870,910Four /3 networks fit in a /1

Frequently asked questions

How many hosts are in a /1?

2,147,483,648 addresses in total, of which 2,147,483,646 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 /1?

128.0.0.0. The prefix length is the count of leading 1 bits in the mask, so /1 is 1 one followed by 31 zeros.

What is the wildcard mask for /1?

127.255.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 /1 compare to a /24?

A /1 is 8,388,608 times larger than a /24 — it contains 8,388,608 of them.

Other prefix lengths

All prefix lengths · Subnet calculator