subnet.im

/24 Subnet

Subnet Mask

255.255.255.0

Wildcard Mask

0.0.0.255

Total IPs

256

Usable Hosts

254

Network Bits

24

Host Bits

8

About /24 Networks

Standard LAN — the most common subnet size for local networks (254 hosts). A /24 subnet uses the mask 255.255.255.0 and provides 254 usable host addresses out of 256 total IPs.

Example /24 Networks

NetworkBroadcastFirst HostLast Host
10.0.0.0/2410.0.0.25510.0.0.110.0.0.254
172.16.0.0/24172.16.0.255172.16.0.1172.16.0.254
192.168.0.0/24192.168.0.255192.168.0.1192.168.0.254
192.168.1.0/24192.168.1.255192.168.1.1192.168.1.254
8.8.8.0/248.8.8.2558.8.8.18.8.8.254

Splitting a /24 Into Smaller Subnets

A /24 divides evenly into any longer prefix. Each row shows how many subnets of that size fit inside one /24, and how many usable hosts each of them carries.

Subnet SizeHow Many FitMaskUsable Hosts Each
/252 × /25255.255.255.128126
/264 × /26255.255.255.19262
/278 × /27255.255.255.22430
/2816 × /28255.255.255.24014
/2932 × /29255.255.255.2486
/3064 × /30255.255.255.2522
/31128 × /31255.255.255.2542
/32256 × /32255.255.255.2551

How Many /24 Subnets Fit in a Larger Network

The same arithmetic read the other way: how many /24 subnets you get when you carve up each of the next larger prefixes.

Parent Network/24 SubnetsMaskTotal IPs
/232 × /24255.255.254.0512
/224 × /24255.255.252.01,024
/218 × /24255.255.248.02,048
/2016 × /24255.255.240.04,096
/1932 × /24255.255.224.08,192
/1864 × /24255.255.192.016,384
/17128 × /24255.255.128.032,768
/16256 × /24255.255.0.065,536

Adjacent CIDRs

Comparing sizes? The full /0 to /32 cheat sheet table puts every prefix side by side.

Frequently Asked Questions

What is a /24 subnet?

A /24 subnet uses the subnet mask 255.255.255.0 with 254 usable host addresses and 256 total IP addresses. It has 24 network bits and 8 host bits.

How many hosts in a /24 network?

A /24 network supports 254 usable hosts out of 256 total IP addresses. The usable range excludes the network address and broadcast address.

What subnet mask does /24 use?

A /24 subnet uses the mask 255.255.255.0 (wildcard mask 0.0.0.255). This means the first 24 bits identify the network and the remaining 8 bits identify hosts.

How many /26 subnets are in a /24?

One /24 splits into 4 /26 subnets, each with mask 255.255.255.192 and 62 usable hosts. Every prefix longer than /24 divides it evenly — the full table is above.

How many /24 subnets are in a /23?

A /23 holds 2 /24 subnets. Each step to a shorter prefix doubles that count, because one bit moves from the host portion of the address to the network portion.

Standards

The figures on this page follow from the following specifications rather than from convention.