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.
/18 split into /24 · 64 subnets
close ×| # | network | host range | broadcast |
|---|---|---|---|
| 1 | 10.6.64.0/24 | 10.6.64.1 – 10.6.64.254 | 10.6.64.255 |
| 2 | 10.6.65.0/24 | 10.6.65.1 – 10.6.65.254 | 10.6.65.255 |
| 3 | 10.6.66.0/24 | 10.6.66.1 – 10.6.66.254 | 10.6.66.255 |
| 4 | 10.6.67.0/24 | 10.6.67.1 – 10.6.67.254 | 10.6.67.255 |
| 5 | 10.6.68.0/24 | 10.6.68.1 – 10.6.68.254 | 10.6.68.255 |
| 6 | 10.6.69.0/24 | 10.6.69.1 – 10.6.69.254 | 10.6.69.255 |
| 7 | 10.6.70.0/24 | 10.6.70.1 – 10.6.70.254 | 10.6.70.255 |
| 8 | 10.6.71.0/24 | 10.6.71.1 – 10.6.71.254 | 10.6.71.255 |
| 9 | 10.6.72.0/24 | 10.6.72.1 – 10.6.72.254 | 10.6.72.255 |
| 10 | 10.6.73.0/24 | 10.6.73.1 – 10.6.73.254 | 10.6.73.255 |
| 11 | 10.6.74.0/24 | 10.6.74.1 – 10.6.74.254 | 10.6.74.255 |
| 12 | 10.6.75.0/24 | 10.6.75.1 – 10.6.75.254 | 10.6.75.255 |
| 13 | 10.6.76.0/24 | 10.6.76.1 – 10.6.76.254 | 10.6.76.255 |
| 14 | 10.6.77.0/24 | 10.6.77.1 – 10.6.77.254 | 10.6.77.255 |
| 15 | 10.6.78.0/24 | 10.6.78.1 – 10.6.78.254 | 10.6.78.255 |
| 16 | 10.6.79.0/24 | 10.6.79.1 – 10.6.79.254 | 10.6.79.255 |
| 17 | 10.6.80.0/24 | 10.6.80.1 – 10.6.80.254 | 10.6.80.255 |
| 18 | 10.6.81.0/24 | 10.6.81.1 – 10.6.81.254 | 10.6.81.255 |
| 19 | 10.6.82.0/24 | 10.6.82.1 – 10.6.82.254 | 10.6.82.255 |
| 20 | 10.6.83.0/24 | 10.6.83.1 – 10.6.83.254 | 10.6.83.255 |
| 21 | 10.6.84.0/24 | 10.6.84.1 – 10.6.84.254 | 10.6.84.255 |
| 22 | 10.6.85.0/24 | 10.6.85.1 – 10.6.85.254 | 10.6.85.255 |
| 23 | 10.6.86.0/24 | 10.6.86.1 – 10.6.86.254 | 10.6.86.255 |
| 24 | 10.6.87.0/24 | 10.6.87.1 – 10.6.87.254 | 10.6.87.255 |
| 25 | 10.6.88.0/24 | 10.6.88.1 – 10.6.88.254 | 10.6.88.255 |
| 26 | 10.6.89.0/24 | 10.6.89.1 – 10.6.89.254 | 10.6.89.255 |
| 27 | 10.6.90.0/24 | 10.6.90.1 – 10.6.90.254 | 10.6.90.255 |
| 28 | 10.6.91.0/24 | 10.6.91.1 – 10.6.91.254 | 10.6.91.255 |
| 29 | 10.6.92.0/24 | 10.6.92.1 – 10.6.92.254 | 10.6.92.255 |
| 30 | 10.6.93.0/24 | 10.6.93.1 – 10.6.93.254 | 10.6.93.255 |
| 31 | 10.6.94.0/24 | 10.6.94.1 – 10.6.94.254 | 10.6.94.255 |
| 32 | 10.6.95.0/24 | 10.6.95.1 – 10.6.95.254 | 10.6.95.255 |
| 33 | 10.6.96.0/24 | 10.6.96.1 – 10.6.96.254 | 10.6.96.255 |
| 34 | 10.6.97.0/24 | 10.6.97.1 – 10.6.97.254 | 10.6.97.255 |
| 35 | 10.6.98.0/24 | 10.6.98.1 – 10.6.98.254 | 10.6.98.255 |
| 36 | 10.6.99.0/24 | 10.6.99.1 – 10.6.99.254 | 10.6.99.255 |
| 37 | 10.6.100.0/24 | 10.6.100.1 – 10.6.100.254 | 10.6.100.255 |
| 38 | 10.6.101.0/24 | 10.6.101.1 – 10.6.101.254 | 10.6.101.255 |
| 39 | 10.6.102.0/24 | 10.6.102.1 – 10.6.102.254 | 10.6.102.255 |
| 40 | 10.6.103.0/24 | 10.6.103.1 – 10.6.103.254 | 10.6.103.255 |
| 41 | 10.6.104.0/24 | 10.6.104.1 – 10.6.104.254 | 10.6.104.255 |
| 42 | 10.6.105.0/24 | 10.6.105.1 – 10.6.105.254 | 10.6.105.255 |
| 43 | 10.6.106.0/24 | 10.6.106.1 – 10.6.106.254 | 10.6.106.255 |
| 44 | 10.6.107.0/24 | 10.6.107.1 – 10.6.107.254 | 10.6.107.255 |
| 45 | 10.6.108.0/24 | 10.6.108.1 – 10.6.108.254 | 10.6.108.255 |
| 46 | 10.6.109.0/24 | 10.6.109.1 – 10.6.109.254 | 10.6.109.255 |
| 47 | 10.6.110.0/24 | 10.6.110.1 – 10.6.110.254 | 10.6.110.255 |
| 48 | 10.6.111.0/24 | 10.6.111.1 – 10.6.111.254 | 10.6.111.255 |
| 49 | 10.6.112.0/24 | 10.6.112.1 – 10.6.112.254 | 10.6.112.255 |
| 50 | 10.6.113.0/24 | 10.6.113.1 – 10.6.113.254 | 10.6.113.255 |
| 51 | 10.6.114.0/24 | 10.6.114.1 – 10.6.114.254 | 10.6.114.255 |
| 52 | 10.6.115.0/24 | 10.6.115.1 – 10.6.115.254 | 10.6.115.255 |
| 53 | 10.6.116.0/24 | 10.6.116.1 – 10.6.116.254 | 10.6.116.255 |
| 54 | 10.6.117.0/24 | 10.6.117.1 – 10.6.117.254 | 10.6.117.255 |
| 55 | 10.6.118.0/24 | 10.6.118.1 – 10.6.118.254 | 10.6.118.255 |
| 56 | 10.6.119.0/24 | 10.6.119.1 – 10.6.119.254 | 10.6.119.255 |
| 57 | 10.6.120.0/24 | 10.6.120.1 – 10.6.120.254 | 10.6.120.255 |
| 58 | 10.6.121.0/24 | 10.6.121.1 – 10.6.121.254 | 10.6.121.255 |
| 59 | 10.6.122.0/24 | 10.6.122.1 – 10.6.122.254 | 10.6.122.255 |
| 60 | 10.6.123.0/24 | 10.6.123.1 – 10.6.123.254 | 10.6.123.255 |
| 61 | 10.6.124.0/24 | 10.6.124.1 – 10.6.124.254 | 10.6.124.255 |
| 62 | 10.6.125.0/24 | 10.6.125.1 – 10.6.125.254 | 10.6.125.255 |
| 63 | 10.6.126.0/24 | 10.6.126.1 – 10.6.126.254 | 10.6.126.255 |
| 64 | 10.6.127.0/24 | 10.6.127.1 – 10.6.127.254 | 10.6.127.255 |
IPv4 CIDR prefix table.
Click a prefix longer than your network to split it into subnets.
| prefix | subnet mask | addresses | hosts | in your /18 |
|---|---|---|---|---|
| /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 | 1 |
| /19 | 255.255.224.0 | 8,192 | 8,190 | 2 split → |
| /20 | 255.255.240.0 | 4,096 | 4,094 | 4 split → |
| /21 | 255.255.248.0 | 2,048 | 2,046 | 8 split → |
| /22 | 255.255.252.0 | 1,024 | 1,022 | 16 split → |
| /23 | 255.255.254.0 | 512 | 510 | 32 split → |
| /24 | 255.255.255.0 | 256 | 254 | 64 split → |
| /25 | 255.255.255.128 | 128 | 126 | 128 split → |
| /26 | 255.255.255.192 | 64 | 62 | 256 split → |
| /27 | 255.255.255.224 | 32 | 30 | 512 split → |
| /28 | 255.255.255.240 | 16 | 14 | 1,024 split → |
| /29 | 255.255.255.248 | 8 | 6 | 2,048 split → |
| /30 | 255.255.255.252 | 4 | 2 | 4,096 split → |
| /31 | 255.255.255.254 | 2 | 2 | 8,192 split → |
| /32 | 255.255.255.255 | 1 | 1 | 16,384 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.