IPv4 Subnet Calculator

Network address, broadcast, host range, wildcard mask and binary breakdown for any IPv4 CIDR block.

Accepts 10.0.0.5/26, 10.0.0.5 255.255.255.192, or a bare IP.

Results for 198.0.0.0/7

198.0.0.0/7 is the network in CIDR notation · Public
Network address
198.0.0.0
Broadcast address
199.255.255.255
Subnet mask
254.0.0.0
Wildcard mask
1.255.255.255
Total addresses
33,554,432
Usable hosts
33,554,430 (excludes network & broadcast)
First usable host
198.0.0.1
Last usable host
199.255.255.254
CIDR notation
198.0.0.0/7
IP type
Public

How the bits line up

Octets (binary)
IP address11000110000000000000000000000000
Subnet mask11111110000000000000000000000000
Network11000110000000000000000000000000
Broadcast11000111111111111111111111111111

The mask's 7 leading ones select the network portion; the remaining 25 bits are available for hosts.

Keep exploring

See every fact about the /7 subnet mask, plan multiple subnets with the VLSM calculator, or convert ranges on the range-to-CIDR tool.