Subnet Mask Calculator

Enter a CIDR prefix length or specify your required number of hosts to instantly calculate the correct subnet mask in dotted-decimal, binary, and hexadecimal formats. Find the optimal mask size for your network, view usable host ranges, and convert between subnet mask notations — all in one place.

/
255.255.255.0

Subnet Mask Reference Table

CIDR Subnet Mask Wildcard Mask Total IPs Usable Hosts

Comments & Feedback

Share your experience or ask questions about this tool