Subnet calculator › CIDR /0
/0 subnet mask (0.0.0.0)
A /0 uses the first 0 bits for the network and the remaining 32 bits for hosts: 4,294,967,296 addresses, 4,294,967,294 usable hosts.
| CIDR notation | /0 |
|---|---|
| Subnet mask | 0.0.0.0 |
| Wildcard mask | 255.255.255.255 |
| Binary mask | 00000000.00000000.00000000.00000000 |
| Hex mask | 0x00000000 |
| Total addresses | 4,294,967,296 (232) |
| Usable hosts | 4,294,967,294 · 4,294,967,296 addresses minus the network and broadcast addresses. |
What is a /0 used for?
- Default route
0.0.0.0/0: "every other destination" in a routing table - In firewalls and security groups it means "allow any IP" — be careful when exposing services
/0 address range examples
Splitting 0.0.0.0/0 into /0 gives 1 subnets.
| Network | Usable range | Broadcast |
|---|---|---|
| 0.0.0.0/0 | 0.0.0.1 ~ 255.255.255.254 | 255.255.255.255 |
Splitting a /0 further
| Split into | Subnets | Hosts each |
|---|---|---|
| /1 | 2 | 2,147,483,646 |
| /2 | 4 | 1,073,741,822 |
| /3 | 8 | 536,870,910 |
| /4 | 16 | 268,435,454 |
| /5 | 32 | 134,217,726 |
| /6 | 64 | 67,108,862 |
| /7 | 128 | 33,554,430 |
| /8 | 256 | 16,777,214 |