Skip to main content

// tool

CIDR Subnet Calculator

Parse CIDR blocks, compute ranges, split into smaller subnets, and check whether an IP lives inside a network.

Network address10.0.0.0
Broadcast address10.0.255.255
First usable10.0.0.1
Last usable10.0.255.254
Usable hosts65,534
Total addresses65,536
Subnet mask255.255.0.0
Wildcard mask0.0.255.255
Prefix length/16

// split /16 into smaller subnets

#NetworkRangeUsable
010.0.0.0/1810.0.0.1 - 10.0.63.25416,382
110.0.64.0/1810.0.64.1 - 10.0.127.25416,382
210.0.128.0/1810.0.128.1 - 10.0.191.25416,382
310.0.192.0/1810.0.192.1 - 10.0.255.25416,382

How CIDR works

Prefix length

The number after the slash is the prefix length. It tells you how many bits of the address are the network portion. /24 means the first 24 bits are the network, leaving 8 bits (256 addresses) for hosts.

Usable vs total

Every normal subnet reserves the first address for the network identifier and the last for broadcast. Usable hosts = total addresses minus 2. Point-to-point links (/31) and host routes (/32) are the exceptions.

Common prefixes

  • /32: a single host (1 address)
  • /30: 4 addresses, 2 usable (point-to-point link)
  • /24: 256 addresses, 254 usable (classic LAN)
  • /16: 65,536 addresses (AWS VPC default)
  • /8: 16,777,216 addresses (one of the old class-A ranges)

// related simulators

Sponsored
Carbon Ads