IPv4 Subnet Calculator
Enter an IP with a CIDR prefix or a subnet mask to see its network, broadcast, host range, and host count. You can also split the network into smaller subnets.
/20 split into /26 · 64 subnets
close ×| # | network | host range | broadcast |
|---|---|---|---|
| 1 | 10.8.160.0/26 | 10.8.160.1 – 10.8.160.62 | 10.8.160.63 |
| 2 | 10.8.160.64/26 | 10.8.160.65 – 10.8.160.126 | 10.8.160.127 |
| 3 | 10.8.160.128/26 | 10.8.160.129 – 10.8.160.190 | 10.8.160.191 |
| 4 | 10.8.160.192/26 | 10.8.160.193 – 10.8.160.254 | 10.8.160.255 |
| 5 | 10.8.161.0/26 | 10.8.161.1 – 10.8.161.62 | 10.8.161.63 |
| 6 | 10.8.161.64/26 | 10.8.161.65 – 10.8.161.126 | 10.8.161.127 |
| 7 | 10.8.161.128/26 | 10.8.161.129 – 10.8.161.190 | 10.8.161.191 |
| 8 | 10.8.161.192/26 | 10.8.161.193 – 10.8.161.254 | 10.8.161.255 |
| 9 | 10.8.162.0/26 | 10.8.162.1 – 10.8.162.62 | 10.8.162.63 |
| 10 | 10.8.162.64/26 | 10.8.162.65 – 10.8.162.126 | 10.8.162.127 |
| 11 | 10.8.162.128/26 | 10.8.162.129 – 10.8.162.190 | 10.8.162.191 |
| 12 | 10.8.162.192/26 | 10.8.162.193 – 10.8.162.254 | 10.8.162.255 |
| 13 | 10.8.163.0/26 | 10.8.163.1 – 10.8.163.62 | 10.8.163.63 |
| 14 | 10.8.163.64/26 | 10.8.163.65 – 10.8.163.126 | 10.8.163.127 |
| 15 | 10.8.163.128/26 | 10.8.163.129 – 10.8.163.190 | 10.8.163.191 |
| 16 | 10.8.163.192/26 | 10.8.163.193 – 10.8.163.254 | 10.8.163.255 |
| 17 | 10.8.164.0/26 | 10.8.164.1 – 10.8.164.62 | 10.8.164.63 |
| 18 | 10.8.164.64/26 | 10.8.164.65 – 10.8.164.126 | 10.8.164.127 |
| 19 | 10.8.164.128/26 | 10.8.164.129 – 10.8.164.190 | 10.8.164.191 |
| 20 | 10.8.164.192/26 | 10.8.164.193 – 10.8.164.254 | 10.8.164.255 |
| 21 | 10.8.165.0/26 | 10.8.165.1 – 10.8.165.62 | 10.8.165.63 |
| 22 | 10.8.165.64/26 | 10.8.165.65 – 10.8.165.126 | 10.8.165.127 |
| 23 | 10.8.165.128/26 | 10.8.165.129 – 10.8.165.190 | 10.8.165.191 |
| 24 | 10.8.165.192/26 | 10.8.165.193 – 10.8.165.254 | 10.8.165.255 |
| 25 | 10.8.166.0/26 | 10.8.166.1 – 10.8.166.62 | 10.8.166.63 |
| 26 | 10.8.166.64/26 | 10.8.166.65 – 10.8.166.126 | 10.8.166.127 |
| 27 | 10.8.166.128/26 | 10.8.166.129 – 10.8.166.190 | 10.8.166.191 |
| 28 | 10.8.166.192/26 | 10.8.166.193 – 10.8.166.254 | 10.8.166.255 |
| 29 | 10.8.167.0/26 | 10.8.167.1 – 10.8.167.62 | 10.8.167.63 |
| 30 | 10.8.167.64/26 | 10.8.167.65 – 10.8.167.126 | 10.8.167.127 |
| 31 | 10.8.167.128/26 | 10.8.167.129 – 10.8.167.190 | 10.8.167.191 |
| 32 | 10.8.167.192/26 | 10.8.167.193 – 10.8.167.254 | 10.8.167.255 |
| 33 | 10.8.168.0/26 | 10.8.168.1 – 10.8.168.62 | 10.8.168.63 |
| 34 | 10.8.168.64/26 | 10.8.168.65 – 10.8.168.126 | 10.8.168.127 |
| 35 | 10.8.168.128/26 | 10.8.168.129 – 10.8.168.190 | 10.8.168.191 |
| 36 | 10.8.168.192/26 | 10.8.168.193 – 10.8.168.254 | 10.8.168.255 |
| 37 | 10.8.169.0/26 | 10.8.169.1 – 10.8.169.62 | 10.8.169.63 |
| 38 | 10.8.169.64/26 | 10.8.169.65 – 10.8.169.126 | 10.8.169.127 |
| 39 | 10.8.169.128/26 | 10.8.169.129 – 10.8.169.190 | 10.8.169.191 |
| 40 | 10.8.169.192/26 | 10.8.169.193 – 10.8.169.254 | 10.8.169.255 |
| 41 | 10.8.170.0/26 | 10.8.170.1 – 10.8.170.62 | 10.8.170.63 |
| 42 | 10.8.170.64/26 | 10.8.170.65 – 10.8.170.126 | 10.8.170.127 |
| 43 | 10.8.170.128/26 | 10.8.170.129 – 10.8.170.190 | 10.8.170.191 |
| 44 | 10.8.170.192/26 | 10.8.170.193 – 10.8.170.254 | 10.8.170.255 |
| 45 | 10.8.171.0/26 | 10.8.171.1 – 10.8.171.62 | 10.8.171.63 |
| 46 | 10.8.171.64/26 | 10.8.171.65 – 10.8.171.126 | 10.8.171.127 |
| 47 | 10.8.171.128/26 | 10.8.171.129 – 10.8.171.190 | 10.8.171.191 |
| 48 | 10.8.171.192/26 | 10.8.171.193 – 10.8.171.254 | 10.8.171.255 |
| 49 | 10.8.172.0/26 | 10.8.172.1 – 10.8.172.62 | 10.8.172.63 |
| 50 | 10.8.172.64/26 | 10.8.172.65 – 10.8.172.126 | 10.8.172.127 |
| 51 | 10.8.172.128/26 | 10.8.172.129 – 10.8.172.190 | 10.8.172.191 |
| 52 | 10.8.172.192/26 | 10.8.172.193 – 10.8.172.254 | 10.8.172.255 |
| 53 | 10.8.173.0/26 | 10.8.173.1 – 10.8.173.62 | 10.8.173.63 |
| 54 | 10.8.173.64/26 | 10.8.173.65 – 10.8.173.126 | 10.8.173.127 |
| 55 | 10.8.173.128/26 | 10.8.173.129 – 10.8.173.190 | 10.8.173.191 |
| 56 | 10.8.173.192/26 | 10.8.173.193 – 10.8.173.254 | 10.8.173.255 |
| 57 | 10.8.174.0/26 | 10.8.174.1 – 10.8.174.62 | 10.8.174.63 |
| 58 | 10.8.174.64/26 | 10.8.174.65 – 10.8.174.126 | 10.8.174.127 |
| 59 | 10.8.174.128/26 | 10.8.174.129 – 10.8.174.190 | 10.8.174.191 |
| 60 | 10.8.174.192/26 | 10.8.174.193 – 10.8.174.254 | 10.8.174.255 |
| 61 | 10.8.175.0/26 | 10.8.175.1 – 10.8.175.62 | 10.8.175.63 |
| 62 | 10.8.175.64/26 | 10.8.175.65 – 10.8.175.126 | 10.8.175.127 |
| 63 | 10.8.175.128/26 | 10.8.175.129 – 10.8.175.190 | 10.8.175.191 |
| 64 | 10.8.175.192/26 | 10.8.175.193 – 10.8.175.254 | 10.8.175.255 |
IPv4 CIDR prefix table.
Click a prefix longer than your network to split it into subnets.
| prefix | subnet mask | addresses | hosts | in your /20 |
|---|---|---|---|---|
| /0 | 0.0.0.0 | 4,294,967,296 | 4,294,967,294 | - |
| /1 | 128.0.0.0 | 2,147,483,648 | 2,147,483,646 | - |
| /2 | 192.0.0.0 | 1,073,741,824 | 1,073,741,822 | - |
| /3 | 224.0.0.0 | 536,870,912 | 536,870,910 | - |
| /4 | 240.0.0.0 | 268,435,456 | 268,435,454 | - |
| /5 | 248.0.0.0 | 134,217,728 | 134,217,726 | - |
| /6 | 252.0.0.0 | 67,108,864 | 67,108,862 | - |
| /7 | 254.0.0.0 | 33,554,432 | 33,554,430 | - |
| /8 | 255.0.0.0 | 16,777,216 | 16,777,214 | - |
| /9 | 255.128.0.0 | 8,388,608 | 8,388,606 | - |
| /10 | 255.192.0.0 | 4,194,304 | 4,194,302 | - |
| /11 | 255.224.0.0 | 2,097,152 | 2,097,150 | - |
| /12 | 255.240.0.0 | 1,048,576 | 1,048,574 | - |
| /13 | 255.248.0.0 | 524,288 | 524,286 | - |
| /14 | 255.252.0.0 | 262,144 | 262,142 | - |
| /15 | 255.254.0.0 | 131,072 | 131,070 | - |
| /16 | 255.255.0.0 | 65,536 | 65,534 | - |
| /17 | 255.255.128.0 | 32,768 | 32,766 | - |
| /18 | 255.255.192.0 | 16,384 | 16,382 | - |
| /19 | 255.255.224.0 | 8,192 | 8,190 | - |
| /20 | 255.255.240.0 | 4,096 | 4,094 | 1 |
| /21 | 255.255.248.0 | 2,048 | 2,046 | 2 split → |
| /22 | 255.255.252.0 | 1,024 | 1,022 | 4 split → |
| /23 | 255.255.254.0 | 512 | 510 | 8 split → |
| /24 | 255.255.255.0 | 256 | 254 | 16 split → |
| /25 | 255.255.255.128 | 128 | 126 | 32 split → |
| /26 | 255.255.255.192 | 64 | 62 | 64 split → |
| /27 | 255.255.255.224 | 32 | 30 | 128 split → |
| /28 | 255.255.255.240 | 16 | 14 | 256 split → |
| /29 | 255.255.255.248 | 8 | 6 | 512 split → |
| /30 | 255.255.255.252 | 4 | 2 | 1,024 split → |
| /31 | 255.255.255.254 | 2 | 2 | 2,048 split → |
| /32 | 255.255.255.255 | 1 | 1 | 4,096 split → |
About this calculator.
How do I use this subnet calculator?
▼
Type an IP address followed by a prefix, like 192.168.1.10/24, or by a subnet mask, like 192.168.1.10 255.255.255.0. Without a prefix it uses /24. Click a row in the table to split the network into smaller subnets.
Why are usable hosts always 2 fewer?
▼
The first address in a subnet is the network address and the last is the broadcast address, so neither can go to a device. The exceptions are /31 (point-to-point links, RFC 3021) and /32 (a single address), which use every address.
Can I use it from a terminal?
▼
Yes. curl 'ipku.in/en/tools/ipv4-subnet-calculator?q=192.168.1.10/24' returns the result as plain text.