Subnet calculator › CIDR /24

/24 subnet mask (255.255.255.0)

A /24 uses the first 24 bits for the network and the remaining 8 bits for hosts: 256 addresses, 254 usable hosts.

CIDR notation/24
Subnet mask255.255.255.0
Wildcard mask0.0.0.255
Binary mask11111111.11111111.11111111|00000000
Hex mask0xFFFFFF00
Total addresses256 (28)
Usable hosts254 · 256 addresses minus the network and broadcast addresses.
Block size The third octet changes in steps of 1

What is a /24 used for?

/24 address range examples

Splitting 192.168.1.0/24 into /24 gives 1 subnets.

NetworkUsable rangeBroadcast
192.168.1.0/24 192.168.1.1 ~ 192.168.1.254 192.168.1.255

Try it in the calculator →

Splitting a /24 further

Split intoSubnetsHosts each
/25 2 126
/26 4 62
/27 8 30
/28 16 14
/29 32 6
/30 64 2
/31 128 2
/32 256 1

How many /24s fit in a larger block

Other prefixes