Skip to content
IPCheckHQDashboard

/0 subnet

A /0 fixes the first 0 bits of the address and leaves 32 for hosts. That gives 4,294,967,296 addresses and subnet mask 0.0.0.0.

Example: 0.0.0.0/0

CIDR block
0.0.0.0/0
Network address
0.0.0.0
Broadcast address
255.255.255.255
Usable host range
0.0.0.1 – 255.255.255.254
Total addresses
4,294,967,296
Usable hosts
4,294,967,294
Subnet mask
0.0.0.0
Wildcard mask
255.255.255.255
Mask in binary
00000000.00000000.00000000.00000000

Check another address in the subnet calculator.

Where you see a /0

  • 0.0.0.0/0 matches every IPv4 address. Routing tables use it as the default route, and firewall rules use it to mean any address.

What fits inside a /0

Smaller blockHow many
/12
/24
/38
/416
/532
/664
/7128
/8256
/2416,777,216
/324,294,967,296

Splitting 0.0.0.0/0 into /2 blocks starts with 0.0.0.0/2, 64.0.0.0/2, 128.0.0.0/2, 192.0.0.0/2.

Questions

How many hosts are in a /0 subnet?

A /0 has 4,294,967,296 addresses. Two are reserved for the network and broadcast addresses, which leaves 4,294,967,294 usable hosts.

What is the subnet mask for a /0?

The subnet mask for a /0 is 0.0.0.0, written in binary as 00000000.00000000.00000000.00000000. The wildcard mask is 255.255.255.255.

What is an example of a /0 range?

0.0.0.0/0 runs from 0.0.0.0 to 255.255.255.255. Hosts use 0.0.0.1 to 255.255.255.254, and 255.255.255.255 is the broadcast address.