Subnet Mask Calculator
Calculate IPv4 subnet details: network, broadcast, host range, CIDR, mask, wildcard, binary mask, and suggest CIDR for desired hosts.
Updated
What is the Subnet Mask Calculator?
How it works
Examples
Compute standard /24 network from IP
Suggest a subnet for 50 usable hosts
Handle IP plus dotted mask
Frequently asked questions
Related tools
More utilities you might find handy.
Network
URL Parser
Break any URL into scheme, host, path, query parameters, fragment and more
Developer
.env File Generator
Generate .env files from key-value pairs with configurable quoting; verify the output with the parser used by your application.
Developer
.htaccess Redirect Builder
Generate Apache .htaccess rules for common redirects, HTTPS enforcement, and canonical URL routing; review and test before deployment.