CIDR to IP Range

Expand any CIDR block into its network, broadcast and usable host range.

What you provide

An address and prefix length, for example 10.0.0.0/8 or 203.0.113.64/26.

Result

192.168.1.0/24 — 254 usable hosts

The first and last addresses are reserved for the network and broadcast, so usable hosts are two fewer than the total.

32 bits, split at /24

Address

11000000101010000000000100000000

192.168.1.0

Mask

11111111111111111111111100000000

255.255.255.0 — /24

Network

11000000101010000000000100000000

192.168.1.0/24

  • Network — 24 bits, fixed
  • Host — 8 bits, free to vary
Diagnostic telemetry
Network address
192.168.1.0
Broadcast address
192.168.1.255
Usable host range
192.168.1.1 – 192.168.1.254
Subnet mask
255.255.255.0
Wildcard mask
0.0.0.255
Total addresses
256
Usable hosts
254
Scope
Private (RFC 1918)

What this cannot tell you

  • Arithmetic on the block you supply — it does not check whether these addresses are in use, routed or reachable.
  • IPv4 only. IPv6 blocks are handled by the IPv6 tools.

Take this with you

CIDR to IP Range on RunTheTests — free browser-based netmath tools, no sign-up.