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.2.224.0/22
network10.2.224.0/22
broadcast10.2.227.255
first host10.2.224.1
last host10.2.227.254
subnet mask255.255.252.0
wildcard0.0.3.255
addresses1,024
usable hosts1,022
classA
ipcalc 10.2.224.0/22
address00001010.00000010.11100000.00000000
subnet mask11111111.11111111.11111100.00000000
network00001010.00000010.11100000.00000000
broadcast00001010.00000010.11100011.11111111
green = network part, grey = host part
hex0x0a02e000
decimal167960576
reverse dns0.224.2.10.in-addr.arpa
ipv4-mapped::ffff:a02:e000

/22 split into /29 · 128 subnets

close ×
#networkhost rangebroadcast
110.2.224.0/2910.2.224.1 – 10.2.224.610.2.224.7
210.2.224.8/2910.2.224.9 – 10.2.224.1410.2.224.15
310.2.224.16/2910.2.224.17 – 10.2.224.2210.2.224.23
410.2.224.24/2910.2.224.25 – 10.2.224.3010.2.224.31
510.2.224.32/2910.2.224.33 – 10.2.224.3810.2.224.39
610.2.224.40/2910.2.224.41 – 10.2.224.4610.2.224.47
710.2.224.48/2910.2.224.49 – 10.2.224.5410.2.224.55
810.2.224.56/2910.2.224.57 – 10.2.224.6210.2.224.63
910.2.224.64/2910.2.224.65 – 10.2.224.7010.2.224.71
1010.2.224.72/2910.2.224.73 – 10.2.224.7810.2.224.79
1110.2.224.80/2910.2.224.81 – 10.2.224.8610.2.224.87
1210.2.224.88/2910.2.224.89 – 10.2.224.9410.2.224.95
1310.2.224.96/2910.2.224.97 – 10.2.224.10210.2.224.103
1410.2.224.104/2910.2.224.105 – 10.2.224.11010.2.224.111
1510.2.224.112/2910.2.224.113 – 10.2.224.11810.2.224.119
1610.2.224.120/2910.2.224.121 – 10.2.224.12610.2.224.127
1710.2.224.128/2910.2.224.129 – 10.2.224.13410.2.224.135
1810.2.224.136/2910.2.224.137 – 10.2.224.14210.2.224.143
1910.2.224.144/2910.2.224.145 – 10.2.224.15010.2.224.151
2010.2.224.152/2910.2.224.153 – 10.2.224.15810.2.224.159
2110.2.224.160/2910.2.224.161 – 10.2.224.16610.2.224.167
2210.2.224.168/2910.2.224.169 – 10.2.224.17410.2.224.175
2310.2.224.176/2910.2.224.177 – 10.2.224.18210.2.224.183
2410.2.224.184/2910.2.224.185 – 10.2.224.19010.2.224.191
2510.2.224.192/2910.2.224.193 – 10.2.224.19810.2.224.199
2610.2.224.200/2910.2.224.201 – 10.2.224.20610.2.224.207
2710.2.224.208/2910.2.224.209 – 10.2.224.21410.2.224.215
2810.2.224.216/2910.2.224.217 – 10.2.224.22210.2.224.223
2910.2.224.224/2910.2.224.225 – 10.2.224.23010.2.224.231
3010.2.224.232/2910.2.224.233 – 10.2.224.23810.2.224.239
3110.2.224.240/2910.2.224.241 – 10.2.224.24610.2.224.247
3210.2.224.248/2910.2.224.249 – 10.2.224.25410.2.224.255
3310.2.225.0/2910.2.225.1 – 10.2.225.610.2.225.7
3410.2.225.8/2910.2.225.9 – 10.2.225.1410.2.225.15
3510.2.225.16/2910.2.225.17 – 10.2.225.2210.2.225.23
3610.2.225.24/2910.2.225.25 – 10.2.225.3010.2.225.31
3710.2.225.32/2910.2.225.33 – 10.2.225.3810.2.225.39
3810.2.225.40/2910.2.225.41 – 10.2.225.4610.2.225.47
3910.2.225.48/2910.2.225.49 – 10.2.225.5410.2.225.55
4010.2.225.56/2910.2.225.57 – 10.2.225.6210.2.225.63
4110.2.225.64/2910.2.225.65 – 10.2.225.7010.2.225.71
4210.2.225.72/2910.2.225.73 – 10.2.225.7810.2.225.79
4310.2.225.80/2910.2.225.81 – 10.2.225.8610.2.225.87
4410.2.225.88/2910.2.225.89 – 10.2.225.9410.2.225.95
4510.2.225.96/2910.2.225.97 – 10.2.225.10210.2.225.103
4610.2.225.104/2910.2.225.105 – 10.2.225.11010.2.225.111
4710.2.225.112/2910.2.225.113 – 10.2.225.11810.2.225.119
4810.2.225.120/2910.2.225.121 – 10.2.225.12610.2.225.127
4910.2.225.128/2910.2.225.129 – 10.2.225.13410.2.225.135
5010.2.225.136/2910.2.225.137 – 10.2.225.14210.2.225.143
5110.2.225.144/2910.2.225.145 – 10.2.225.15010.2.225.151
5210.2.225.152/2910.2.225.153 – 10.2.225.15810.2.225.159
5310.2.225.160/2910.2.225.161 – 10.2.225.16610.2.225.167
5410.2.225.168/2910.2.225.169 – 10.2.225.17410.2.225.175
5510.2.225.176/2910.2.225.177 – 10.2.225.18210.2.225.183
5610.2.225.184/2910.2.225.185 – 10.2.225.19010.2.225.191
5710.2.225.192/2910.2.225.193 – 10.2.225.19810.2.225.199
5810.2.225.200/2910.2.225.201 – 10.2.225.20610.2.225.207
5910.2.225.208/2910.2.225.209 – 10.2.225.21410.2.225.215
6010.2.225.216/2910.2.225.217 – 10.2.225.22210.2.225.223
6110.2.225.224/2910.2.225.225 – 10.2.225.23010.2.225.231
6210.2.225.232/2910.2.225.233 – 10.2.225.23810.2.225.239
6310.2.225.240/2910.2.225.241 – 10.2.225.24610.2.225.247
6410.2.225.248/2910.2.225.249 – 10.2.225.25410.2.225.255
6510.2.226.0/2910.2.226.1 – 10.2.226.610.2.226.7
6610.2.226.8/2910.2.226.9 – 10.2.226.1410.2.226.15
6710.2.226.16/2910.2.226.17 – 10.2.226.2210.2.226.23
6810.2.226.24/2910.2.226.25 – 10.2.226.3010.2.226.31
6910.2.226.32/2910.2.226.33 – 10.2.226.3810.2.226.39
7010.2.226.40/2910.2.226.41 – 10.2.226.4610.2.226.47
7110.2.226.48/2910.2.226.49 – 10.2.226.5410.2.226.55
7210.2.226.56/2910.2.226.57 – 10.2.226.6210.2.226.63
7310.2.226.64/2910.2.226.65 – 10.2.226.7010.2.226.71
7410.2.226.72/2910.2.226.73 – 10.2.226.7810.2.226.79
7510.2.226.80/2910.2.226.81 – 10.2.226.8610.2.226.87
7610.2.226.88/2910.2.226.89 – 10.2.226.9410.2.226.95
7710.2.226.96/2910.2.226.97 – 10.2.226.10210.2.226.103
7810.2.226.104/2910.2.226.105 – 10.2.226.11010.2.226.111
7910.2.226.112/2910.2.226.113 – 10.2.226.11810.2.226.119
8010.2.226.120/2910.2.226.121 – 10.2.226.12610.2.226.127
8110.2.226.128/2910.2.226.129 – 10.2.226.13410.2.226.135
8210.2.226.136/2910.2.226.137 – 10.2.226.14210.2.226.143
8310.2.226.144/2910.2.226.145 – 10.2.226.15010.2.226.151
8410.2.226.152/2910.2.226.153 – 10.2.226.15810.2.226.159
8510.2.226.160/2910.2.226.161 – 10.2.226.16610.2.226.167
8610.2.226.168/2910.2.226.169 – 10.2.226.17410.2.226.175
8710.2.226.176/2910.2.226.177 – 10.2.226.18210.2.226.183
8810.2.226.184/2910.2.226.185 – 10.2.226.19010.2.226.191
8910.2.226.192/2910.2.226.193 – 10.2.226.19810.2.226.199
9010.2.226.200/2910.2.226.201 – 10.2.226.20610.2.226.207
9110.2.226.208/2910.2.226.209 – 10.2.226.21410.2.226.215
9210.2.226.216/2910.2.226.217 – 10.2.226.22210.2.226.223
9310.2.226.224/2910.2.226.225 – 10.2.226.23010.2.226.231
9410.2.226.232/2910.2.226.233 – 10.2.226.23810.2.226.239
9510.2.226.240/2910.2.226.241 – 10.2.226.24610.2.226.247
9610.2.226.248/2910.2.226.249 – 10.2.226.25410.2.226.255
9710.2.227.0/2910.2.227.1 – 10.2.227.610.2.227.7
9810.2.227.8/2910.2.227.9 – 10.2.227.1410.2.227.15
9910.2.227.16/2910.2.227.17 – 10.2.227.2210.2.227.23
10010.2.227.24/2910.2.227.25 – 10.2.227.3010.2.227.31
10110.2.227.32/2910.2.227.33 – 10.2.227.3810.2.227.39
10210.2.227.40/2910.2.227.41 – 10.2.227.4610.2.227.47
10310.2.227.48/2910.2.227.49 – 10.2.227.5410.2.227.55
10410.2.227.56/2910.2.227.57 – 10.2.227.6210.2.227.63
10510.2.227.64/2910.2.227.65 – 10.2.227.7010.2.227.71
10610.2.227.72/2910.2.227.73 – 10.2.227.7810.2.227.79
10710.2.227.80/2910.2.227.81 – 10.2.227.8610.2.227.87
10810.2.227.88/2910.2.227.89 – 10.2.227.9410.2.227.95
10910.2.227.96/2910.2.227.97 – 10.2.227.10210.2.227.103
11010.2.227.104/2910.2.227.105 – 10.2.227.11010.2.227.111
11110.2.227.112/2910.2.227.113 – 10.2.227.11810.2.227.119
11210.2.227.120/2910.2.227.121 – 10.2.227.12610.2.227.127
11310.2.227.128/2910.2.227.129 – 10.2.227.13410.2.227.135
11410.2.227.136/2910.2.227.137 – 10.2.227.14210.2.227.143
11510.2.227.144/2910.2.227.145 – 10.2.227.15010.2.227.151
11610.2.227.152/2910.2.227.153 – 10.2.227.15810.2.227.159
11710.2.227.160/2910.2.227.161 – 10.2.227.16610.2.227.167
11810.2.227.168/2910.2.227.169 – 10.2.227.17410.2.227.175
11910.2.227.176/2910.2.227.177 – 10.2.227.18210.2.227.183
12010.2.227.184/2910.2.227.185 – 10.2.227.19010.2.227.191
12110.2.227.192/2910.2.227.193 – 10.2.227.19810.2.227.199
12210.2.227.200/2910.2.227.201 – 10.2.227.20610.2.227.207
12310.2.227.208/2910.2.227.209 – 10.2.227.21410.2.227.215
12410.2.227.216/2910.2.227.217 – 10.2.227.22210.2.227.223
12510.2.227.224/2910.2.227.225 – 10.2.227.23010.2.227.231
12610.2.227.232/2910.2.227.233 – 10.2.227.23810.2.227.239
12710.2.227.240/2910.2.227.241 – 10.2.227.24610.2.227.247
12810.2.227.248/2910.2.227.249 – 10.2.227.25410.2.227.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 →