/0 Subnet Mask (0.0.0.0)
| Prefix | /0 |
|---|---|
| Subnet mask | 0.0.0.0 |
| Wildcard mask | 255.255.255.255 |
| Binary mask | 00000000.00000000.00000000.00000000 |
| Total addresses | 4,294,967,296 |
| Usable hosts | 4,294,967,294 |
| Host bits | 32 |
e.g. 10.0.0.5/22 or 10.0.0.5 255.255.252.0
| Network address | 0.0.0.0 | |
|---|---|---|
| Broadcast address | 255.255.255.255 | |
| First usable host | 0.0.0.1 | |
| Last usable host | 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 | |
| CIDR notation | 0.0.0.0/0 | |
| IP class | Class A (legacy) | |
| Address type | "This network" (RFC 1122) | |
| IP address (binary) | 00000000.00000000.00000000.00000000 | |
| Subnet mask (binary) | 00000000.00000000.00000000.00000000 |
■ network bits ■ host bits
| Requested hosts | CIDR | First host | Last host | Broadcast | Usable hosts |
|---|
Runs entirely in your browser. Nothing you enter is sent to a server.
What is a /0 subnet?
A /0 subnet uses the first 0 bits of an IPv4 address for the network and leaves 32 bits for hosts. Its subnet mask is 0.0.0.0, and it contains 2³² = 4,294,967,296 addresses, of which 4,294,967,294 can be assigned to devices. Typical use: Default route; matches every IPv4 address (0.0.0.0/0). Use the subnet calculator above to check any /0 network.
A /0 covers the entire IPv4 address space (2³² of 2³² addresses).
/0 subnet example
For 0.0.0.0/0: network address 0.0.0.0, usable hosts 0.0.0.1 – 255.255.255.254, broadcast address 255.255.255.255, wildcard mask 255.255.255.255.
Frequently asked questions
How many usable IPs are in a /0?
4,294,967,294. The block has 4,294,967,296 addresses; the first is the network address and the last is the broadcast address.
What is the subnet mask for /0?
0.0.0.0, or 00000000.00000000.00000000.00000000 in binary.