40.0.0.0/5
PublicClass A — /5 prefix — 134,217,726 usable hosts
Network address — the base address of the block (40.0.0.0). All devices in this subnet share this prefix. Cannot be assigned to a host.
Broadcast address — packets sent to 47.255.255.255 are delivered to every device in the subnet. Also reserved — not assignable.
Usable hosts — the 134,217,726 addresses between those two that you can assign to servers, VMs, or interfaces.
Subnet mask — 248.0.0.0 is the dotted-decimal equivalent of /5. Older tools and Cisco configs use this format instead of CIDR slash notation.
Full Details
| CIDR Notation | 40.0.0.0/5 |
| Network Address | 40.0.0.0 |
| Broadcast Address | 47.255.255.255 |
| Subnet Mask | 248.0.0.0 |
| Wildcard Mask | 7.255.255.255 |
| Prefix Length | /5 |
| IP Address Class | Class A |
| Total IP Addresses | 134,217,728 |
| Usable Host Addresses | 134,217,726 |
| First Usable IP | 40.0.0.1 |
| Last Usable IP | 47.255.255.254 |
| Network (Hex) | 0x28000000 |
| Broadcast (Hex) | 0x2FFFFFFF |
| Address Type | Public / Globally Routable |
Binary Representation
The first 5 bits (1s in the mask) identify the network. The remaining 27 bits identify hosts within the network.
Split into Equal Subnets
Split 40.0.0.0/5 into 2 equal /6 subnets (67,108,862 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 40.0.0.0/6 | 40.0.0.0 | 40.0.0.1 | 43.255.255.254 | 43.255.255.255 | 67,108,862 |
| 2 | 44.0.0.0/6 | 44.0.0.0 | 44.0.0.1 | 47.255.255.254 | 47.255.255.255 | 67,108,862 |
Split 40.0.0.0/5 into 4 equal /7 subnets (33,554,430 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 40.0.0.0/7 | 40.0.0.0 | 40.0.0.1 | 41.255.255.254 | 41.255.255.255 | 33,554,430 |
| 2 | 42.0.0.0/7 | 42.0.0.0 | 42.0.0.1 | 43.255.255.254 | 43.255.255.255 | 33,554,430 |
| 3 | 44.0.0.0/7 | 44.0.0.0 | 44.0.0.1 | 45.255.255.254 | 45.255.255.255 | 33,554,430 |
| 4 | 46.0.0.0/7 | 46.0.0.0 | 46.0.0.1 | 47.255.255.254 | 47.255.255.255 | 33,554,430 |
Split 40.0.0.0/5 into 8 equal /8 subnets (16,777,214 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 40.0.0.0/8 | 40.0.0.0 | 40.0.0.1 | 40.255.255.254 | 40.255.255.255 | 16,777,214 |
| 2 | 41.0.0.0/8 | 41.0.0.0 | 41.0.0.1 | 41.255.255.254 | 41.255.255.255 | 16,777,214 |
| 3 | 42.0.0.0/8 | 42.0.0.0 | 42.0.0.1 | 42.255.255.254 | 42.255.255.255 | 16,777,214 |
| 4 | 43.0.0.0/8 | 43.0.0.0 | 43.0.0.1 | 43.255.255.254 | 43.255.255.255 | 16,777,214 |
| 5 | 44.0.0.0/8 | 44.0.0.0 | 44.0.0.1 | 44.255.255.254 | 44.255.255.255 | 16,777,214 |
| 6 | 45.0.0.0/8 | 45.0.0.0 | 45.0.0.1 | 45.255.255.254 | 45.255.255.255 | 16,777,214 |
| 7 | 46.0.0.0/8 | 46.0.0.0 | 46.0.0.1 | 46.255.255.254 | 46.255.255.255 | 16,777,214 |
| 8 | 47.0.0.0/8 | 47.0.0.0 | 47.0.0.1 | 47.255.255.254 | 47.255.255.255 | 16,777,214 |
Split 40.0.0.0/5 into 16 equal /9 subnets (8,388,606 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 40.0.0.0/9 | 40.0.0.0 | 40.0.0.1 | 40.127.255.254 | 40.127.255.255 | 8,388,606 |
| 2 | 40.128.0.0/9 | 40.128.0.0 | 40.128.0.1 | 40.255.255.254 | 40.255.255.255 | 8,388,606 |
| 3 | 41.0.0.0/9 | 41.0.0.0 | 41.0.0.1 | 41.127.255.254 | 41.127.255.255 | 8,388,606 |
| 4 | 41.128.0.0/9 | 41.128.0.0 | 41.128.0.1 | 41.255.255.254 | 41.255.255.255 | 8,388,606 |
| 5 | 42.0.0.0/9 | 42.0.0.0 | 42.0.0.1 | 42.127.255.254 | 42.127.255.255 | 8,388,606 |
| 6 | 42.128.0.0/9 | 42.128.0.0 | 42.128.0.1 | 42.255.255.254 | 42.255.255.255 | 8,388,606 |
| 7 | 43.0.0.0/9 | 43.0.0.0 | 43.0.0.1 | 43.127.255.254 | 43.127.255.255 | 8,388,606 |
| 8 | 43.128.0.0/9 | 43.128.0.0 | 43.128.0.1 | 43.255.255.254 | 43.255.255.255 | 8,388,606 |
| 9 | 44.0.0.0/9 | 44.0.0.0 | 44.0.0.1 | 44.127.255.254 | 44.127.255.255 | 8,388,606 |
| 10 | 44.128.0.0/9 | 44.128.0.0 | 44.128.0.1 | 44.255.255.254 | 44.255.255.255 | 8,388,606 |
| 11 | 45.0.0.0/9 | 45.0.0.0 | 45.0.0.1 | 45.127.255.254 | 45.127.255.255 | 8,388,606 |
| 12 | 45.128.0.0/9 | 45.128.0.0 | 45.128.0.1 | 45.255.255.254 | 45.255.255.255 | 8,388,606 |
| 13 | 46.0.0.0/9 | 46.0.0.0 | 46.0.0.1 | 46.127.255.254 | 46.127.255.255 | 8,388,606 |
| 14 | 46.128.0.0/9 | 46.128.0.0 | 46.128.0.1 | 46.255.255.254 | 46.255.255.255 | 8,388,606 |
| 15 | 47.0.0.0/9 | 47.0.0.0 | 47.0.0.1 | 47.127.255.254 | 47.127.255.255 | 8,388,606 |
| 16 | 47.128.0.0/9 | 47.128.0.0 | 47.128.0.1 | 47.255.255.254 | 47.255.255.255 | 8,388,606 |