Subnet Calculator — Free Online IPv4 Subnet Mask Calculator
Calculate subnet mask, network address, broadcast address, host range, and usable hosts from an IP/CIDR.
Jump to tool ↓Frequently Asked Questions
IPv4 Subnetting: Dividing Networks into Manageable Segments
Subnetting is the process of dividing an IP network into smaller subnetworks. It's fundamental to network design — allowing organizations to segment traffic by department, function, or security zone while efficiently using IP address space. Every network engineer, DevOps professional, and cloud architect needs to understand subnetting.
CIDR notation (e.g., 192.168.1.0/24) encodes both the network address and the subnet mask in a compact format. The prefix length (/24) specifies how many bits belong to the network — the remaining bits are available for host addresses. A /24 gives 256 total addresses with 254 usable (network and broadcast are reserved).
Cloud providers (AWS VPC, Azure Virtual Network, GCP VPC) all use CIDR notation for subnet definition. Kubernetes pods and services use CIDR ranges. Firewall rules reference CIDR blocks. This calculator provides all the subnet details needed for network planning, firewall configuration, and cloud infrastructure.
Standards & References
Built and maintained by DevDecode. This tool processes your input in your browser; it is not uploaded for processing. Found an issue? Let us know.
Related Tools
Related Guides
How to Find Your MAC Address (Windows, Mac, iPhone, Android)
Find your MAC address in seconds on Windows, Mac, iPhone, or Android. Step-by-step instructions for every device, plus what the address means.
NetworkHow to Fix Slow DNS Lookups: 6 Proven Fixes
Slow DNS lookups delay every website you visit. Learn how to fix slow DNS — switch to a faster resolver, flush the cache, rule out VPN/antivirus interference, and diagnose the problem with dig and nslookup.
NetworkWhat Is a MAC Address? Format and How It Works
Learn how 48-bit MAC addresses identify interfaces on a local network, how randomized addresses work, and why a MAC address is not proof of device identity.
NetworkWhat Is a Static IP Address (vs Dynamic)?
Compare static IP configuration with DHCP and reservations. Learn when a stable LAN or public address helps and when DNS or dynamic addressing is enough.