subnet.im

/0 Subnet

A /0 has the subnet mask 0.0.0.0 and contains 4,294,967,296 IP addresses, of which 4,294,967,294 are usable hosts. Every other prefix is in the subnet cheat sheet.

Subnet Mask

0.0.0.0

Wildcard Mask

255.255.255.255

Total IPs

4,294,967,296

Usable Hosts

4,294,967,294

Network Bits

0

Host Bits

32

About /0 Networks

Default route — matches all IPv4 addresses. A /0 subnet uses the mask 0.0.0.0 and provides 4,294,967,294 usable host addresses out of 4,294,967,296 total IPs.

Example /0 Networks

NetworkBroadcastFirst HostLast Host
0.0.0.0/0255.255.255.2550.0.0.1255.255.255.254
0.0.0.0/0255.255.255.2550.0.0.1255.255.255.254
0.0.0.0/0255.255.255.2550.0.0.1255.255.255.254
0.0.0.0/0255.255.255.2550.0.0.1255.255.255.254
0.0.0.0/0255.255.255.2550.0.0.1255.255.255.254

Splitting a /0 Into Smaller Subnets

A /0 divides evenly into any longer prefix. Each row shows how many subnets of that size fit inside one /0, and how many usable hosts each of them carries.

Subnet SizeHow Many FitMaskUsable Hosts Each
/12 × /1128.0.0.02,147,483,646
/24 × /2192.0.0.01,073,741,822
/38 × /3224.0.0.0536,870,910
/416 × /4240.0.0.0268,435,454
/532 × /5248.0.0.0134,217,726
/664 × /6252.0.0.067,108,862
/7128 × /7254.0.0.033,554,430
/8256 × /8255.0.0.016,777,214
/9512 × /9255.128.0.08,388,606
/101,024 × /10255.192.0.04,194,302
/112,048 × /11255.224.0.02,097,150
/124,096 × /12255.240.0.01,048,574
/138,192 × /13255.248.0.0524,286
/1416,384 × /14255.252.0.0262,142
/1532,768 × /15255.254.0.0131,070
/1665,536 × /16255.255.0.065,534
/17131,072 × /17255.255.128.032,766
/18262,144 × /18255.255.192.016,382
/19524,288 × /19255.255.224.08,190
/201,048,576 × /20255.255.240.04,094
/212,097,152 × /21255.255.248.02,046
/224,194,304 × /22255.255.252.01,022
/238,388,608 × /23255.255.254.0510
/2416,777,216 × /24255.255.255.0254
/2533,554,432 × /25255.255.255.128126
/2667,108,864 × /26255.255.255.19262
/27134,217,728 × /27255.255.255.22430
/28268,435,456 × /28255.255.255.24014
/29536,870,912 × /29255.255.255.2486
/301,073,741,824 × /30255.255.255.2522
/312,147,483,648 × /31255.255.255.2542
/324,294,967,296 × /32255.255.255.2551

Adjacent CIDRs

Comparing sizes? The full /0 to /32 cheat sheet table puts every prefix side by side.

Frequently Asked Questions

What is a /0 subnet?

A /0 subnet uses the subnet mask 0.0.0.0 with 4,294,967,294 usable host addresses and 4,294,967,296 total IP addresses. It has 0 network bits and 32 host bits.

How many IP addresses are in a /0?

A /0 contains 4,294,967,296 IP addresses, of which 4,294,967,294 are usable hosts. The network address and the broadcast address are the two that cannot be assigned to a host.

What subnet mask does /0 use?

A /0 subnet uses the mask 0.0.0.0 (wildcard mask 255.255.255.255). This means the first 0 bits identify the network and the remaining 32 bits identify hosts.

How many /2 subnets are in a /0?

One /0 splits into 4 /2 subnets, each with mask 192.0.0.0 and 1,073,741,822 usable hosts. Every prefix longer than /0 divides it evenly — the full table is above.

Standards

The figures on this page follow from the following specifications rather than from convention.