Calculate Subnet Masks

Convert CIDR notation to subnet masks and calculate usable host ranges.

Subnet Mask
Total Hosts
Usable Hosts
The Methodology
Binary bitmask calculation

This tool uses the verified professional formula shown above. We cite our sources so you can trust every result.

Networking made simple

Calculating subnets manually is prone to error. Use this tool to quickly verify your network configurations and host limits.