Subnet Calculator
Enter an IPv4 address and CIDR prefix to get subnet mask, wildcard mask, usable host range, and address counts.
Calculate network, broadcast, and host ranges from CIDR.
How to use
- Enter an IPv4 address (e.g., 192.168.1.0).
- Set the CIDR prefix length (e.g., /24).
- View subnet mask, network address, broadcast address, and host range.
- Use the results for network design or troubleshooting.
About Subnet Calculator
Calculate network, broadcast, and host ranges from CIDR.
Runs in your browser — your files and input stay on your device.
Frequently asked questions
Is calculation done locally?
Yes. All subnet math runs in your browser.
Does it support IPv6?
This tool focuses on IPv4 CIDR subnets.
What is CIDR?
Classless Inter-Domain Routing — a way to specify IP network size with a prefix length.