ip
ipku.in

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.

$ ipcalc
private IP (RFC 1918)10.166.60.0/22
network10.166.60.0/22
broadcast10.166.63.255
first host10.166.60.1
last host10.166.63.254
subnet mask255.255.252.0
wildcard0.0.3.255
addresses1,024
usable hosts1,022
classA
ipcalc 10.166.60.0/22
address00001010.10100110.00111100.00000000
subnet mask11111111.11111111.11111100.00000000
network00001010.10100110.00111100.00000000
broadcast00001010.10100110.00111111.11111111
green = network part, grey = host part
hex0x0aa63c00
decimal178666496
reverse dns0.60.166.10.in-addr.arpa
ipv4-mapped::ffff:aa6:3c00

/22 split into /29 · 128 subnets

close ×
#networkhost rangebroadcast
110.166.60.0/2910.166.60.1 – 10.166.60.610.166.60.7
210.166.60.8/2910.166.60.9 – 10.166.60.1410.166.60.15
310.166.60.16/2910.166.60.17 – 10.166.60.2210.166.60.23
410.166.60.24/2910.166.60.25 – 10.166.60.3010.166.60.31
510.166.60.32/2910.166.60.33 – 10.166.60.3810.166.60.39
610.166.60.40/2910.166.60.41 – 10.166.60.4610.166.60.47
710.166.60.48/2910.166.60.49 – 10.166.60.5410.166.60.55
810.166.60.56/2910.166.60.57 – 10.166.60.6210.166.60.63
910.166.60.64/2910.166.60.65 – 10.166.60.7010.166.60.71
1010.166.60.72/2910.166.60.73 – 10.166.60.7810.166.60.79
1110.166.60.80/2910.166.60.81 – 10.166.60.8610.166.60.87
1210.166.60.88/2910.166.60.89 – 10.166.60.9410.166.60.95
1310.166.60.96/2910.166.60.97 – 10.166.60.10210.166.60.103
1410.166.60.104/2910.166.60.105 – 10.166.60.11010.166.60.111
1510.166.60.112/2910.166.60.113 – 10.166.60.11810.166.60.119
1610.166.60.120/2910.166.60.121 – 10.166.60.12610.166.60.127
1710.166.60.128/2910.166.60.129 – 10.166.60.13410.166.60.135
1810.166.60.136/2910.166.60.137 – 10.166.60.14210.166.60.143
1910.166.60.144/2910.166.60.145 – 10.166.60.15010.166.60.151
2010.166.60.152/2910.166.60.153 – 10.166.60.15810.166.60.159
2110.166.60.160/2910.166.60.161 – 10.166.60.16610.166.60.167
2210.166.60.168/2910.166.60.169 – 10.166.60.17410.166.60.175
2310.166.60.176/2910.166.60.177 – 10.166.60.18210.166.60.183
2410.166.60.184/2910.166.60.185 – 10.166.60.19010.166.60.191
2510.166.60.192/2910.166.60.193 – 10.166.60.19810.166.60.199
2610.166.60.200/2910.166.60.201 – 10.166.60.20610.166.60.207
2710.166.60.208/2910.166.60.209 – 10.166.60.21410.166.60.215
2810.166.60.216/2910.166.60.217 – 10.166.60.22210.166.60.223
2910.166.60.224/2910.166.60.225 – 10.166.60.23010.166.60.231
3010.166.60.232/2910.166.60.233 – 10.166.60.23810.166.60.239
3110.166.60.240/2910.166.60.241 – 10.166.60.24610.166.60.247
3210.166.60.248/2910.166.60.249 – 10.166.60.25410.166.60.255
3310.166.61.0/2910.166.61.1 – 10.166.61.610.166.61.7
3410.166.61.8/2910.166.61.9 – 10.166.61.1410.166.61.15
3510.166.61.16/2910.166.61.17 – 10.166.61.2210.166.61.23
3610.166.61.24/2910.166.61.25 – 10.166.61.3010.166.61.31
3710.166.61.32/2910.166.61.33 – 10.166.61.3810.166.61.39
3810.166.61.40/2910.166.61.41 – 10.166.61.4610.166.61.47
3910.166.61.48/2910.166.61.49 – 10.166.61.5410.166.61.55
4010.166.61.56/2910.166.61.57 – 10.166.61.6210.166.61.63
4110.166.61.64/2910.166.61.65 – 10.166.61.7010.166.61.71
4210.166.61.72/2910.166.61.73 – 10.166.61.7810.166.61.79
4310.166.61.80/2910.166.61.81 – 10.166.61.8610.166.61.87
4410.166.61.88/2910.166.61.89 – 10.166.61.9410.166.61.95
4510.166.61.96/2910.166.61.97 – 10.166.61.10210.166.61.103
4610.166.61.104/2910.166.61.105 – 10.166.61.11010.166.61.111
4710.166.61.112/2910.166.61.113 – 10.166.61.11810.166.61.119
4810.166.61.120/2910.166.61.121 – 10.166.61.12610.166.61.127
4910.166.61.128/2910.166.61.129 – 10.166.61.13410.166.61.135
5010.166.61.136/2910.166.61.137 – 10.166.61.14210.166.61.143
5110.166.61.144/2910.166.61.145 – 10.166.61.15010.166.61.151
5210.166.61.152/2910.166.61.153 – 10.166.61.15810.166.61.159
5310.166.61.160/2910.166.61.161 – 10.166.61.16610.166.61.167
5410.166.61.168/2910.166.61.169 – 10.166.61.17410.166.61.175
5510.166.61.176/2910.166.61.177 – 10.166.61.18210.166.61.183
5610.166.61.184/2910.166.61.185 – 10.166.61.19010.166.61.191
5710.166.61.192/2910.166.61.193 – 10.166.61.19810.166.61.199
5810.166.61.200/2910.166.61.201 – 10.166.61.20610.166.61.207
5910.166.61.208/2910.166.61.209 – 10.166.61.21410.166.61.215
6010.166.61.216/2910.166.61.217 – 10.166.61.22210.166.61.223
6110.166.61.224/2910.166.61.225 – 10.166.61.23010.166.61.231
6210.166.61.232/2910.166.61.233 – 10.166.61.23810.166.61.239
6310.166.61.240/2910.166.61.241 – 10.166.61.24610.166.61.247
6410.166.61.248/2910.166.61.249 – 10.166.61.25410.166.61.255
6510.166.62.0/2910.166.62.1 – 10.166.62.610.166.62.7
6610.166.62.8/2910.166.62.9 – 10.166.62.1410.166.62.15
6710.166.62.16/2910.166.62.17 – 10.166.62.2210.166.62.23
6810.166.62.24/2910.166.62.25 – 10.166.62.3010.166.62.31
6910.166.62.32/2910.166.62.33 – 10.166.62.3810.166.62.39
7010.166.62.40/2910.166.62.41 – 10.166.62.4610.166.62.47
7110.166.62.48/2910.166.62.49 – 10.166.62.5410.166.62.55
7210.166.62.56/2910.166.62.57 – 10.166.62.6210.166.62.63
7310.166.62.64/2910.166.62.65 – 10.166.62.7010.166.62.71
7410.166.62.72/2910.166.62.73 – 10.166.62.7810.166.62.79
7510.166.62.80/2910.166.62.81 – 10.166.62.8610.166.62.87
7610.166.62.88/2910.166.62.89 – 10.166.62.9410.166.62.95
7710.166.62.96/2910.166.62.97 – 10.166.62.10210.166.62.103
7810.166.62.104/2910.166.62.105 – 10.166.62.11010.166.62.111
7910.166.62.112/2910.166.62.113 – 10.166.62.11810.166.62.119
8010.166.62.120/2910.166.62.121 – 10.166.62.12610.166.62.127
8110.166.62.128/2910.166.62.129 – 10.166.62.13410.166.62.135
8210.166.62.136/2910.166.62.137 – 10.166.62.14210.166.62.143
8310.166.62.144/2910.166.62.145 – 10.166.62.15010.166.62.151
8410.166.62.152/2910.166.62.153 – 10.166.62.15810.166.62.159
8510.166.62.160/2910.166.62.161 – 10.166.62.16610.166.62.167
8610.166.62.168/2910.166.62.169 – 10.166.62.17410.166.62.175
8710.166.62.176/2910.166.62.177 – 10.166.62.18210.166.62.183
8810.166.62.184/2910.166.62.185 – 10.166.62.19010.166.62.191
8910.166.62.192/2910.166.62.193 – 10.166.62.19810.166.62.199
9010.166.62.200/2910.166.62.201 – 10.166.62.20610.166.62.207
9110.166.62.208/2910.166.62.209 – 10.166.62.21410.166.62.215
9210.166.62.216/2910.166.62.217 – 10.166.62.22210.166.62.223
9310.166.62.224/2910.166.62.225 – 10.166.62.23010.166.62.231
9410.166.62.232/2910.166.62.233 – 10.166.62.23810.166.62.239
9510.166.62.240/2910.166.62.241 – 10.166.62.24610.166.62.247
9610.166.62.248/2910.166.62.249 – 10.166.62.25410.166.62.255
9710.166.63.0/2910.166.63.1 – 10.166.63.610.166.63.7
9810.166.63.8/2910.166.63.9 – 10.166.63.1410.166.63.15
9910.166.63.16/2910.166.63.17 – 10.166.63.2210.166.63.23
10010.166.63.24/2910.166.63.25 – 10.166.63.3010.166.63.31
10110.166.63.32/2910.166.63.33 – 10.166.63.3810.166.63.39
10210.166.63.40/2910.166.63.41 – 10.166.63.4610.166.63.47
10310.166.63.48/2910.166.63.49 – 10.166.63.5410.166.63.55
10410.166.63.56/2910.166.63.57 – 10.166.63.6210.166.63.63
10510.166.63.64/2910.166.63.65 – 10.166.63.7010.166.63.71
10610.166.63.72/2910.166.63.73 – 10.166.63.7810.166.63.79
10710.166.63.80/2910.166.63.81 – 10.166.63.8610.166.63.87
10810.166.63.88/2910.166.63.89 – 10.166.63.9410.166.63.95
10910.166.63.96/2910.166.63.97 – 10.166.63.10210.166.63.103
11010.166.63.104/2910.166.63.105 – 10.166.63.11010.166.63.111
11110.166.63.112/2910.166.63.113 – 10.166.63.11810.166.63.119
11210.166.63.120/2910.166.63.121 – 10.166.63.12610.166.63.127
11310.166.63.128/2910.166.63.129 – 10.166.63.13410.166.63.135
11410.166.63.136/2910.166.63.137 – 10.166.63.14210.166.63.143
11510.166.63.144/2910.166.63.145 – 10.166.63.15010.166.63.151
11610.166.63.152/2910.166.63.153 – 10.166.63.15810.166.63.159
11710.166.63.160/2910.166.63.161 – 10.166.63.16610.166.63.167
11810.166.63.168/2910.166.63.169 – 10.166.63.17410.166.63.175
11910.166.63.176/2910.166.63.177 – 10.166.63.18210.166.63.183
12010.166.63.184/2910.166.63.185 – 10.166.63.19010.166.63.191
12110.166.63.192/2910.166.63.193 – 10.166.63.19810.166.63.199
12210.166.63.200/2910.166.63.201 – 10.166.63.20610.166.63.207
12310.166.63.208/2910.166.63.209 – 10.166.63.21410.166.63.215
12410.166.63.216/2910.166.63.217 – 10.166.63.22210.166.63.223
12510.166.63.224/2910.166.63.225 – 10.166.63.23010.166.63.231
12610.166.63.232/2910.166.63.233 – 10.166.63.23810.166.63.239
12710.166.63.240/2910.166.63.241 – 10.166.63.24610.166.63.247
12810.166.63.248/2910.166.63.249 – 10.166.63.25410.166.63.255
01 / table

IPv4 CIDR prefix table.

Click a prefix longer than your network to split it into subnets.

prefixsubnet maskaddresseshostsin your /22
/00.0.0.04,294,967,2964,294,967,294-
/1128.0.0.02,147,483,6482,147,483,646-
/2192.0.0.01,073,741,8241,073,741,822-
/3224.0.0.0536,870,912536,870,910-
/4240.0.0.0268,435,456268,435,454-
/5248.0.0.0134,217,728134,217,726-
/6252.0.0.067,108,86467,108,862-
/7254.0.0.033,554,43233,554,430-
/8255.0.0.016,777,21616,777,214-
/9255.128.0.08,388,6088,388,606-
/10255.192.0.04,194,3044,194,302-
/11255.224.0.02,097,1522,097,150-
/12255.240.0.01,048,5761,048,574-
/13255.248.0.0524,288524,286-
/14255.252.0.0262,144262,142-
/15255.254.0.0131,072131,070-
/16255.255.0.065,53665,534-
/17255.255.128.032,76832,766-
/18255.255.192.016,38416,382-
/19255.255.224.08,1928,190-
/20255.255.240.04,0964,094-
/21255.255.248.02,0482,046-
/22255.255.252.01,0241,0221
/23255.255.254.05125102 split →
/24255.255.255.02562544 split →
/25255.255.255.1281281268 split →
/26255.255.255.192646216 split →
/27255.255.255.224323032 split →
/28255.255.255.240161464 split →
/29255.255.255.24886128 split →
/30255.255.255.25242256 split →
/31255.255.255.25422512 split →
/32255.255.255.255111,024 split →
02 / faq

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.

Learn how to work it out →