Advanced Subnet Calculator
Calculate subnets, plan VLSM, split networks, convert IP ranges, and aggregate subnets.
| CIDR | Subnet Mask | Wildcard | Addresses | Usable Hosts | Class |
|---|
What is IP Subnetting?
Subnetting is the practice of dividing a larger IP network into smaller, more manageable sub-networks (subnets). It improves network efficiency, security, and organization by grouping related devices, reducing broadcast domains, and enabling routing between network segments. Every enterprise network, data center, and cloud environment relies on subnetting to organize its IP address space.
IPv4 addresses are 32 bits long, written as four octets (e.g., 192.168.1.0). A subnet mask or CIDR prefix defines which bits belong to the network portion and which to the host portion. /24 means the first 24 bits are the network address, leaving 8 bits for hosts (254 usable host addresses).
How to Use This Tool
- Basic Subnet Calculator — Enter an IP address and CIDR (e.g.,
192.168.1.0/24) to see network address, broadcast, host range, wildcard mask, and binary representation. - VLSM Planner — Enter a parent network and required host counts per subnet. The tool allocates optimally sized subnets.
- Subnet Splitter — Divide any network into a specific number of equal subnets.
- IP Range to CIDR — Convert an arbitrary IP range to the minimum set of CIDR blocks covering that range.
- Supernet Calculator — Aggregate multiple contiguous subnets into a summary route.
CIDR Notation Quick Reference
/8— 16,777,214 hosts (Class A, e.g., 10.0.0.0/8)/16— 65,534 hosts (Class B, e.g., 172.16.0.0/16)/24— 254 hosts (Class C, most common LAN size)/25— 126 hosts (split a /24 in half)/28— 14 hosts (small office segment)/30— 2 hosts (point-to-point link)/31— 2 hosts, no network/broadcast (RFC 3021 P2P links)/32— Single host route (loopback, virtual IPs)
Private IP Address Ranges (RFC 1918)
10.0.0.0/8— Large enterprises, cloud VPCs172.16.0.0/12— Medium networks (172.16.0.0–172.31.255.255)192.168.0.0/16— Home and small office networks
Frequently Asked Questions
255.255.255.0 equals CIDR /24 — both mean the first 24 bits are the network address. CIDR (Classless Inter-Domain Routing) notation is more compact and is the modern standard. Subnet masks are still used in older equipment and some configuration interfaces. This tool accepts both formats.access-list 10 permit 192.168.1.0 0.0.0.255 permits any address in the 192.168.1.0/24 range. The wildcard 0.0.0.255 corresponds to subnet mask 255.255.255.0.