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.0.64.0/24 | 10.0.64.1 – 10.0.64.254 | 10.0.64.255 |
| 2 | 10.0.65.0/24 | 10.0.65.1 – 10.0.65.254 | 10.0.65.255 |
| 3 | 10.0.66.0/24 | 10.0.66.1 – 10.0.66.254 | 10.0.66.255 |
| 4 | 10.0.67.0/24 | 10.0.67.1 – 10.0.67.254 | 10.0.67.255 |
| 5 | 10.0.68.0/24 | 10.0.68.1 – 10.0.68.254 | 10.0.68.255 |
| 6 | 10.0.69.0/24 | 10.0.69.1 – 10.0.69.254 | 10.0.69.255 |
| 7 | 10.0.70.0/24 | 10.0.70.1 – 10.0.70.254 | 10.0.70.255 |
| 8 | 10.0.71.0/24 | 10.0.71.1 – 10.0.71.254 | 10.0.71.255 |
| 9 | 10.0.72.0/24 | 10.0.72.1 – 10.0.72.254 | 10.0.72.255 |
| 10 | 10.0.73.0/24 | 10.0.73.1 – 10.0.73.254 | 10.0.73.255 |
| 11 | 10.0.74.0/24 | 10.0.74.1 – 10.0.74.254 | 10.0.74.255 |
| 12 | 10.0.75.0/24 | 10.0.75.1 – 10.0.75.254 | 10.0.75.255 |
| 13 | 10.0.76.0/24 | 10.0.76.1 – 10.0.76.254 | 10.0.76.255 |
| 14 | 10.0.77.0/24 | 10.0.77.1 – 10.0.77.254 | 10.0.77.255 |
| 15 | 10.0.78.0/24 | 10.0.78.1 – 10.0.78.254 | 10.0.78.255 |
| 16 | 10.0.79.0/24 | 10.0.79.1 – 10.0.79.254 | 10.0.79.255 |
| 17 | 10.0.80.0/24 | 10.0.80.1 – 10.0.80.254 | 10.0.80.255 |
| 18 | 10.0.81.0/24 | 10.0.81.1 – 10.0.81.254 | 10.0.81.255 |
| 19 | 10.0.82.0/24 | 10.0.82.1 – 10.0.82.254 | 10.0.82.255 |
| 20 | 10.0.83.0/24 | 10.0.83.1 – 10.0.83.254 | 10.0.83.255 |
| 21 | 10.0.84.0/24 | 10.0.84.1 – 10.0.84.254 | 10.0.84.255 |
| 22 | 10.0.85.0/24 | 10.0.85.1 – 10.0.85.254 | 10.0.85.255 |
| 23 | 10.0.86.0/24 | 10.0.86.1 – 10.0.86.254 | 10.0.86.255 |
| 24 | 10.0.87.0/24 | 10.0.87.1 – 10.0.87.254 | 10.0.87.255 |
| 25 | 10.0.88.0/24 | 10.0.88.1 – 10.0.88.254 | 10.0.88.255 |
| 26 | 10.0.89.0/24 | 10.0.89.1 – 10.0.89.254 | 10.0.89.255 |
| 27 | 10.0.90.0/24 | 10.0.90.1 – 10.0.90.254 | 10.0.90.255 |
| 28 | 10.0.91.0/24 | 10.0.91.1 – 10.0.91.254 | 10.0.91.255 |
| 29 | 10.0.92.0/24 | 10.0.92.1 – 10.0.92.254 | 10.0.92.255 |
| 30 | 10.0.93.0/24 | 10.0.93.1 – 10.0.93.254 | 10.0.93.255 |
| 31 | 10.0.94.0/24 | 10.0.94.1 – 10.0.94.254 | 10.0.94.255 |
| 32 | 10.0.95.0/24 | 10.0.95.1 – 10.0.95.254 | 10.0.95.255 |
| 33 | 10.0.96.0/24 | 10.0.96.1 – 10.0.96.254 | 10.0.96.255 |
| 34 | 10.0.97.0/24 | 10.0.97.1 – 10.0.97.254 | 10.0.97.255 |
| 35 | 10.0.98.0/24 | 10.0.98.1 – 10.0.98.254 | 10.0.98.255 |
| 36 | 10.0.99.0/24 | 10.0.99.1 – 10.0.99.254 | 10.0.99.255 |
| 37 | 10.0.100.0/24 | 10.0.100.1 – 10.0.100.254 | 10.0.100.255 |
| 38 | 10.0.101.0/24 | 10.0.101.1 – 10.0.101.254 | 10.0.101.255 |
| 39 | 10.0.102.0/24 | 10.0.102.1 – 10.0.102.254 | 10.0.102.255 |
| 40 | 10.0.103.0/24 | 10.0.103.1 – 10.0.103.254 | 10.0.103.255 |
| 41 | 10.0.104.0/24 | 10.0.104.1 – 10.0.104.254 | 10.0.104.255 |
| 42 | 10.0.105.0/24 | 10.0.105.1 – 10.0.105.254 | 10.0.105.255 |
| 43 | 10.0.106.0/24 | 10.0.106.1 – 10.0.106.254 | 10.0.106.255 |
| 44 | 10.0.107.0/24 | 10.0.107.1 – 10.0.107.254 | 10.0.107.255 |
| 45 | 10.0.108.0/24 | 10.0.108.1 – 10.0.108.254 | 10.0.108.255 |
| 46 | 10.0.109.0/24 | 10.0.109.1 – 10.0.109.254 | 10.0.109.255 |
| 47 | 10.0.110.0/24 | 10.0.110.1 – 10.0.110.254 | 10.0.110.255 |
| 48 | 10.0.111.0/24 | 10.0.111.1 – 10.0.111.254 | 10.0.111.255 |
| 49 | 10.0.112.0/24 | 10.0.112.1 – 10.0.112.254 | 10.0.112.255 |
| 50 | 10.0.113.0/24 | 10.0.113.1 – 10.0.113.254 | 10.0.113.255 |
| 51 | 10.0.114.0/24 | 10.0.114.1 – 10.0.114.254 | 10.0.114.255 |
| 52 | 10.0.115.0/24 | 10.0.115.1 – 10.0.115.254 | 10.0.115.255 |
| 53 | 10.0.116.0/24 | 10.0.116.1 – 10.0.116.254 | 10.0.116.255 |
| 54 | 10.0.117.0/24 | 10.0.117.1 – 10.0.117.254 | 10.0.117.255 |
| 55 | 10.0.118.0/24 | 10.0.118.1 – 10.0.118.254 | 10.0.118.255 |
| 56 | 10.0.119.0/24 | 10.0.119.1 – 10.0.119.254 | 10.0.119.255 |
| 57 | 10.0.120.0/24 | 10.0.120.1 – 10.0.120.254 | 10.0.120.255 |
| 58 | 10.0.121.0/24 | 10.0.121.1 – 10.0.121.254 | 10.0.121.255 |
| 59 | 10.0.122.0/24 | 10.0.122.1 – 10.0.122.254 | 10.0.122.255 |
| 60 | 10.0.123.0/24 | 10.0.123.1 – 10.0.123.254 | 10.0.123.255 |
| 61 | 10.0.124.0/24 | 10.0.124.1 – 10.0.124.254 | 10.0.124.255 |
| 62 | 10.0.125.0/24 | 10.0.125.1 – 10.0.125.254 | 10.0.125.255 |
| 63 | 10.0.126.0/24 | 10.0.126.1 – 10.0.126.254 | 10.0.126.255 |
| 64 | 10.0.127.0/24 | 10.0.127.1 – 10.0.127.254 | 10.0.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.