40.0.0.0/7

Public

Class A — /7 prefix — 33,554,430 usable hosts

Network Address
40.0.0.0
Broadcast Address
41.255.255.255
Subnet Mask
254.0.0.0
Usable Hosts
33,554,430
First Usable IP
40.0.0.1
Last Usable IP
41.255.255.254
Total IPs
33,554,432
Prefix Length
/7

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 41.255.255.255 are delivered to every device in the subnet. Also reserved — not assignable.

Usable hosts — the 33,554,430 addresses between those two that you can assign to servers, VMs, or interfaces.

Subnet mask254.0.0.0 is the dotted-decimal equivalent of /7. Older tools and Cisco configs use this format instead of CIDR slash notation.

Full Details

CIDR Notation 40.0.0.0/7
Network Address 40.0.0.0
Broadcast Address 41.255.255.255
Subnet Mask 254.0.0.0
Wildcard Mask 1.255.255.255
Prefix Length /7
IP Address Class Class A
Total IP Addresses 33,554,432
Usable Host Addresses 33,554,430
First Usable IP 40.0.0.1
Last Usable IP 41.255.255.254
Network (Hex) 0x28000000
Broadcast (Hex) 0x29FFFFFF
Address Type Public / Globally Routable

Binary Representation

Network Address
001010 00101000.00000000.00000000.00000000
Subnet Mask
11111110.00000000.00000000.00000000

The first 7 bits (1s in the mask) identify the network. The remaining 25 bits identify hosts within the network.

Subnet Breakdown — splitting into /8

This /7 block can be divided into 2 /8 subnets.

CIDR Network Broadcast First Usable Last Usable Hosts
40.0.0.0/8 40.0.0.0 40.255.255.255 40.0.0.1 40.255.255.254 16,777,214
41.0.0.0/8 41.0.0.0 41.255.255.255 41.0.0.1 41.255.255.254 16,777,214

/7 Subnet Reference

Total IPs 33,554,432
Usable Hosts 33,554,430
Subnet Mask 254.0.0.0
Wildcard 1.255.255.255

Calculate Another