How do I calculate a subnet range from a CIDR block?
Enter your base IP address and choose the CIDR network prefix (e.g. /24) in the dropdown. The tool instantly computes the subnet mask, network start, broadcast end, and usable IP host range.
What is CIDR notation?
CIDR (Classless Inter-Domain Routing) notation specifies an IP address and its associated routing prefix length (e.g. 192.168.1.1/24), indicating that 24 bits are allocated for the network prefix.
What is a subnet mask?
A subnet mask is a 32-bit number that splits an IP address into network and host addresses. For a /24 CIDR prefix, the subnet mask is 255.255.255.0.
How many usable hosts are in a /24 subnet?
A /24 subnet has a total of 256 host addresses. Subtracting 2 (one for the network address, and one for the broadcast address) leaves 254 usable host IPs.
Is this CIDR calculator secure for private networks?
Yes, 100%. All subnet math is calculated locally in your browser using JavaScript. No IP addresses or network details are ever uploaded to any server.
What is a wildcard mask?
A wildcard mask is the bitwise inversion of the subnet mask, commonly used in Cisco OSPF and access control lists (ACLs). For netmask 255.255.255.0, the wildcard mask is 0.0.0.255.
How are the network and broadcast addresses determined?
The network address is calculated using a bitwise AND between the IP and the mask. The broadcast address is calculated by performing a bitwise OR between the IP and the inverted mask.
Does the calculator support IPv6?
Currently, our subnet calculator supports IPv4 address blocks, which are the most common configurations for local networks and routing tables.
Can I copy the calculated network parameters?
Yes. You can copy individual fields like the host range or wildcard mask directly from the output results card.
What is the subnet mask for /28 CIDR?
A /28 CIDR block corresponds to a subnet mask of 255.255.255.240, allowing for 14 usable hosts.
How does the tool show the binary IP breakdown?
It converts each octet of the IP, netmask, and network addresses into 8-bit binary strings, displaying them in aligned sections to visualize the network/host boundary.
Does it validate invalid IP address entries?
Yes. If an entered IP does not follow the standard x.y.z.w format or has octet values outside 0-255, the validator flags a syntax error.
What is the difference between usable hosts and total hosts?
Total hosts include all combinations of the host bits. Usable hosts exclude the first address (Network ID) and the last address (Broadcast ID) which are reserved for routing.
What is /32 CIDR prefix used for?
A /32 prefix designates a single, specific host address (subnet mask 255.255.255.255) with 0 usable client host ranges.
Does this subnet tool work offline?
Yes. Once loaded, all binary conversions and mask calculations work offline since they run completely in local client-side memory.