Enter an IP address and prefix length to get the complete subnet details instantly.
| Prefix | Subnet Mask | Total Hosts | Usable Hosts |
|---|
IP/prefix. The prefix (0–32) indicates how many bits form the network portion. For example, 192.168.1.0/24 means the first 24 bits identify the network, leaving 8 bits for hosts (254 usable addresses).255.255.255.0. The wildcard mask is the bitwise inverse: 0.0.0.255. Wildcard masks are commonly used in ACLs and routing protocols like OSPF.2^(32−prefix) − 2. The −2 accounts for the network address (first) and broadcast address (last), which cannot be assigned to hosts. A /24 has 2^8 − 2 = 254 usable hosts. A /30 (common for point-to-point links) has only 2 usable hosts.Enter any IP address and subnet mask (in CIDR notation or dotted decimal) to instantly see the network address, broadcast address, usable host range, number of usable hosts, and wildcard mask. Supports IPv4. Useful for network planning, firewall rule configuration, and understanding how IP addressing and subnetting work.