Free Online IP Subnet Calculator
Perform accurate subnetting calculations for your network infrastructure using our free ip subnet calculator. Whether you need to manage legacy systems with the ipv4 subnet calculator or design next-generation architectures using the ipv6 subnet calculator, our tool provides complete network parameters instantly. Easily find network addresses, host ranges, broadcast targets, and CIDR notations to streamline your network planning.
IPv4 Subnet Calculator
Select the network class, choose your subnet mask/CIDR prefix, and input your base IPv4 address to calculate full network details.
IPv6 Subnet Calculator
Select the prefix length and specify an IPv6 address block to instantly view full hexadecimal network allocation boundaries.
IPv4 Ready
How to Use the IP Subnet Calculator
Managing enterprise subnets or configuring home router boundaries manually requires painstaking binary arithmetic. Utilizing our smart subnet calculator, you can automatically parse any IPv4 or IPv6 block and compute addresses effortlessly. This ip subnet calculator helps eliminate misconfiguration risks by providing visual and mathematical metrics in real-time.
By inputting your metrics into the dedicated ip calculator, you can discover standard routing parameters instantly, mapping custom hosts to your business or lab needs without error.
IPv4 Prefix Size & Subnet Mask Reference Table
Below is the comprehensive competitor reference map for IPv4 blocks outlining CIDR prefix notations, standard subnet masks, the exact number of usable hosts per segment, and traditional class allocations:
| Prefix Size | Network Mask | Usable Hosts per Subnet | Class |
|---|---|---|---|
| /1 | 128.0.0.0 | 2,147,483,646 | - |
| /2 | 192.0.0.0 | 1,073,741,822 | - |
| /3 | 224.0.0.0 | 536,870,910 | - |
| /4 | 240.0.0.0 | 268,435,454 | - |
| /5 | 248.0.0.0 | 134,217,726 | - |
| /6 | 252.0.0.0 | 67,108,862 | - |
| /7 | 254.0.0.0 | 33,554,430 | - |
| /8 | 255.0.0.0 | 16,777,214 | Class A |
| /9 | 255.128.0.0 | 8,388,606 | Class A |
| /10 | 255.192.0.0 | 4,194,302 | Class A |
| /11 | 255.224.0.0 | 2,097,150 | Class A |
| /12 | 255.240.0.0 | 1,048,574 | Class A |
| /13 | 255.248.0.0 | 524,286 | Class A |
| /14 | 255.252.0.0 | 262,142 | Class A |
| /15 | 255.254.0.0 | 131,070 | Class A |
| /16 | 255.255.0.0 | 65,534 | Class B |
| /17 | 255.255.128.0 | 32,766 | Class B |
| /18 | 255.255.192.0 | 16,382 | Class B |
| /19 | 255.255.224.0 | 8,190 | Class B |
| /20 | 255.255.240.0 | 4,094 | Class B |
| /21 | 255.255.248.0 | 2,046 | Class B |
| /22 | 255.255.252.0 | 1,022 | Class B |
| /23 | 255.255.254.0 | 510 | Class B |
| /24 | 255.255.255.0 | 254 | Class C |
| /25 | 255.255.255.128 | 126 | Class C |
| /26 | 255.255.255.192 | 62 | Class C |
| /27 | 255.255.255.224 | 30 | Class C |
| /28 | 255.255.255.240 | 14 | Class C |
| /29 | 255.255.255.248 | 6 | Class C |
| /30 | 255.255.255.252 | 2 | Class C |
| /31 | 255.255.255.254 | 0 | Class C |
| /32 | 255.255.255.255 | 0 | Class C |
The Mathematical Principles Behind Subnetting
Subnetting is achieved by executing bitwise logical AND operations between an IP address and its matching subnet mask calculator parameters. Here is how network segments are derived:
Broadcast Address = Network Address OR ( NOT Subnet Mask )
Frequently Asked Questions (FAQs)
Explore our advanced utility parameters and chronological tracking tools: