Enter an IPv4 address with CIDR notation to instantly calculate network address, broadcast address, subnet mask, wildcard mask, host range, and more. All processing happens client-side -- your data never leaves your browser.
Enter an IP address with CIDR notation and see all subnet details calculated instantly as you type. No form submission needed -- results update in real time.
View the binary representation of both the IP address and subnet mask to understand exactly how network and host bits are divided.
See how a network can be divided into smaller subnets with detailed breakdowns of host counts and address ranges for each subdivision level.
Quick-reference table showing all CIDR prefix lengths from /8 to /32 with their corresponding subnet masks and host counts.
IP subnetting is the practice of dividing a network into smaller, more manageable sub-networks. Subnetting allows network administrators to efficiently allocate IP addresses, reduce broadcast traffic, and improve network security through segmentation. The most common notation for expressing subnets is CIDR (Classless Inter-Domain Routing), which appends a prefix length to an IP address, such as 192.168.1.0/24.
While classful addressing is largely historical (replaced by CIDR), the original IP classes are still referenced. Class A (0-127) supports large networks, Class B (128-191) medium networks, Class C (192-223) small networks, Class D (224-239) is for multicast, and Class E (240-255) is reserved for experimental use.
RFC 1918 defines three private IP address ranges: 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. These addresses are not routable on the public internet and are used within local networks, VPNs, and cloud VPCs. Network Address Translation (NAT) is used to map private addresses to public addresses for internet access.
Check out our other free developer tools. Format JSON, decode JWTs, parse cron expressions, and more -- all from your browser with no sign-up required.
JSON Formatter →