Skip to content
Press Equals

IP Subnet Calculator

Subnet mask and CIDR.

Result

Subnet mask

255.255.255.0

Usable hosts
254

Common questions

How do I calculate subnets from a CIDR notation?

The CIDR prefix (e.g., /24) tells you how many bits are the network portion. A /24 has 256 addresses (254 usable). The calculator shows network address, broadcast address, and usable host range.

What is the difference between /24 and /16 subnets?

A /24 subnet has 256 addresses (one Class C). A /16 has 65,536 addresses. Each bit less in the prefix doubles the number of available addresses.