Subnet Calculator (IPv4 CIDR)
Report Issue
Found an issue or calculation bug in Subnet Calculator (IPv4 CIDR)? Send a report with your device diagnostics included so we can resolve it quickly.
Device Info IncludedAuto-detected
OS: Detecting...
Browser: Detecting...
Screen: --
Viewport: --
To: support@toolslash.com
Guide
IPv4 Subnetting & CIDR Notation Guide
A Subnet Calculator divides IP network addresses into smaller, efficient broadcast domains using Classless Inter-Domain Routing (CIDR) prefix masks.
Essential Subnetting Terms
- Network Address: The very first IP in the subnet block (all host bits set to 0). It identifies the network routing destination and cannot be assigned to an individual host interface.
- Broadcast Address: The last address in the subnet block (all host bits set to 1). Packets sent to this IP are received by all hosts within the local subnet.
- Usable Host Range: All addresses strictly between the network address and the broadcast address (from
Network + 1toBroadcast − 1). - Subnet Mask & CIDR: Represents the count of contiguous 1s in a 32-bit mask (e.g.,
/24equals 24 network bits =255.255.255.0). - Wildcard Mask: The inverted subnet mask (e.g.
0.0.0.255), widely used in Cisco ACLs (Access Control Lists) and OSPF routing configurations.
Quick CIDR Host Capacities
- /24: 256 Total IPs • 254 Usable Hosts • Standard LAN Subnet
- /28: 16 Total IPs • 14 Usable Hosts • Small Office or Server Cluster
- /30: 4 Total IPs • 2 Usable Hosts • Point-to-Point Router Interconnects
- /31: 2 Total IPs • 2 Usable Hosts • RFC 3021 Point-to-Point Links