FREE NETWORK TOOL

Subnet mask to prefix

Convert a contiguous IPv4 subnet mask to CIDR prefix length.

Results appear here.

Example input

255.255.255.0

Understanding the result

Convert a contiguous IPv4 subnet mask to CIDR prefix length. Results describe network configuration, not a person’s identity or exact location. DNS answers can change and depend on the resolver.

Read networking guides →