/0 subnet (CIDR)

A /0 network has subnet mask 0.0.0.0, 4,294,967,296 total addresses and 4,294,967,294 usable hosts.

0.0.0.0Subnet mask
255.255.255.255Wildcard mask
4,294,967,296Addresses
4,294,967,294Usable hosts

Open 0.0.0.0/0 in the subnet calculator →

Details

PropertyValue
Network bits0
Host bits32
Mask in binary00000000.00000000.00000000.00000000
Mask in hex0x00000000
Total addresses232 = 4,294,967,296
Usable hosts232 − 2 = 4,294,967,294
Number of /24s inside16,777,216
Historic class equivalent—

Typical use: The default route: every IPv4 address.

Example: 0.0.0.0/0

Network 0.0.0.0, broadcast 255.255.255.255, hosts 0.0.0.1 to 255.255.255.254.

Neighbouring prefixes

Each step of one bit halves (or doubles) the size: a /0 holds two /1s.

Frequently asked questions

How many hosts in a /0?
4,294,967,294 usable out of 4,294,967,296 addresses.
What is the subnet mask for /0?
0.0.0.0 (binary 00000000.00000000.00000000.00000000).