CIDR Calculator
Calculate subnet details from CIDR notation: network address, broadcast, host range, subnet mask, wildcard mask, and more.
Enter an IPv4 address, or include a prefix like 10.0.0.0/8
Enter an IP address and click "Calculate" to see subnet details
About CIDR Calculator
CIDR (Classless Inter-Domain Routing) is a method of allocating IP addresses and routing Internet Protocol packets that replaced the old classful addressing system. CIDR notation compactly represents an IP address and its associated network mask by appending a suffix indicating the number of leading bits in the mask, such as 192.168.1.0/24. Understanding CIDR is essential for network engineers, system administrators, and developers working with cloud infrastructure, VPCs, firewalls, and access control lists.
Our CIDR Calculator instantly computes all relevant subnet information from any IPv4 address and prefix length. It derives the network and broadcast addresses, the range of usable host IPs, subnet and wildcard masks, total and usable host counts, the IP class, and the binary representation of the subnet mask. All calculations run entirely in your browser using custom IP math logic with no external libraries or server requests, keeping your network data completely private.
How to Use
Enter IP Address
Type an IPv4 address in the input field, either standalone (e.g., 10.0.0.0) or in CIDR notation (e.g., 10.0.0.0/8). You can also use the slider or dropdown to set the prefix length.
Calculate
Click "Calculate" or press Enter to compute the full subnet details. Use the preset buttons (/8, /16, /24, /28, /30, /32) for quick common configurations.
Review Results
View the results grid showing network address, broadcast address, host range, masks, host counts, IP class, and binary mask. Click any value to copy it to your clipboard.