Ipcidrsubnet Calculator
Our subnetting & ip tool computes ipcidrsubnet accurately. Enter your inputs for detailed analysis and optimization tips.
Reviewed by Daniel Agrici, Founder & Lead Developer
Formula
Usable Hosts = 2^(32-CIDR) - 2 | Network = IP AND Mask | Broadcast = Network OR Wildcard
The subnet mask is derived from the CIDR prefix length. Network address is the bitwise AND of the IP and mask. Broadcast address is the network address OR-ed with the wildcard mask (inverse of subnet mask). Usable hosts exclude the network and broadcast addresses.
Worked Examples
Example 1: Standard Office Network (/24)
Problem:Calculate subnet details for the network 192.168.1.0/24.
Solution:Subnet Mask: 255.255.255.0\nNetwork Address: 192.168.1.0\nBroadcast Address: 192.168.1.255\nFirst Usable Host: 192.168.1.1\nLast Usable Host: 192.168.1.254\nTotal Addresses: 256\nUsable Hosts: 254
Result:Network: 192.168.1.0/24 | 254 usable hosts | Class C Private
Example 2: Small Department Subnet (/28)
Problem:A department needs 10 devices. Calculate subnet details for 10.0.1.0/28.
Solution:Subnet Mask: 255.255.255.240\nNetwork Address: 10.0.1.0\nBroadcast Address: 10.0.1.15\nFirst Host: 10.0.1.1\nLast Host: 10.0.1.14\nTotal Addresses: 16\nUsable Hosts: 14\n/28 provides 14 usable hosts, sufficient for 10 devices with room for 4 more.
Result:Network: 10.0.1.0/28 | 14 usable hosts | Class A Private
References
Reviewed by Daniel Agrici, Founder & Lead Developer ยท Editorial policy