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.167.51.0/24
network10.167.51.0/24
broadcast10.167.51.255
first host10.167.51.1
last host10.167.51.254
subnet mask255.255.255.0
wildcard0.0.0.255
addresses256
usable hosts254
classA
ipcalc 10.167.51.0/24
address00001010.10100111.00110011.00000000
subnet mask11111111.11111111.11111111.00000000
network00001010.10100111.00110011.00000000
broadcast00001010.10100111.00110011.11111111
green = network part, grey = host part
hex0x0aa73300
decimal178729728
reverse dns0.51.167.10.in-addr.arpa
ipv4-mapped::ffff:aa7:3300

/24 split into /31 · 128 subnets

close ×
#networkhost rangebroadcast
110.167.51.0/3110.167.51.0 – 10.167.51.110.167.51.1
210.167.51.2/3110.167.51.2 – 10.167.51.310.167.51.3
310.167.51.4/3110.167.51.4 – 10.167.51.510.167.51.5
410.167.51.6/3110.167.51.6 – 10.167.51.710.167.51.7
510.167.51.8/3110.167.51.8 – 10.167.51.910.167.51.9
610.167.51.10/3110.167.51.10 – 10.167.51.1110.167.51.11
710.167.51.12/3110.167.51.12 – 10.167.51.1310.167.51.13
810.167.51.14/3110.167.51.14 – 10.167.51.1510.167.51.15
910.167.51.16/3110.167.51.16 – 10.167.51.1710.167.51.17
1010.167.51.18/3110.167.51.18 – 10.167.51.1910.167.51.19
1110.167.51.20/3110.167.51.20 – 10.167.51.2110.167.51.21
1210.167.51.22/3110.167.51.22 – 10.167.51.2310.167.51.23
1310.167.51.24/3110.167.51.24 – 10.167.51.2510.167.51.25
1410.167.51.26/3110.167.51.26 – 10.167.51.2710.167.51.27
1510.167.51.28/3110.167.51.28 – 10.167.51.2910.167.51.29
1610.167.51.30/3110.167.51.30 – 10.167.51.3110.167.51.31
1710.167.51.32/3110.167.51.32 – 10.167.51.3310.167.51.33
1810.167.51.34/3110.167.51.34 – 10.167.51.3510.167.51.35
1910.167.51.36/3110.167.51.36 – 10.167.51.3710.167.51.37
2010.167.51.38/3110.167.51.38 – 10.167.51.3910.167.51.39
2110.167.51.40/3110.167.51.40 – 10.167.51.4110.167.51.41
2210.167.51.42/3110.167.51.42 – 10.167.51.4310.167.51.43
2310.167.51.44/3110.167.51.44 – 10.167.51.4510.167.51.45
2410.167.51.46/3110.167.51.46 – 10.167.51.4710.167.51.47
2510.167.51.48/3110.167.51.48 – 10.167.51.4910.167.51.49
2610.167.51.50/3110.167.51.50 – 10.167.51.5110.167.51.51
2710.167.51.52/3110.167.51.52 – 10.167.51.5310.167.51.53
2810.167.51.54/3110.167.51.54 – 10.167.51.5510.167.51.55
2910.167.51.56/3110.167.51.56 – 10.167.51.5710.167.51.57
3010.167.51.58/3110.167.51.58 – 10.167.51.5910.167.51.59
3110.167.51.60/3110.167.51.60 – 10.167.51.6110.167.51.61
3210.167.51.62/3110.167.51.62 – 10.167.51.6310.167.51.63
3310.167.51.64/3110.167.51.64 – 10.167.51.6510.167.51.65
3410.167.51.66/3110.167.51.66 – 10.167.51.6710.167.51.67
3510.167.51.68/3110.167.51.68 – 10.167.51.6910.167.51.69
3610.167.51.70/3110.167.51.70 – 10.167.51.7110.167.51.71
3710.167.51.72/3110.167.51.72 – 10.167.51.7310.167.51.73
3810.167.51.74/3110.167.51.74 – 10.167.51.7510.167.51.75
3910.167.51.76/3110.167.51.76 – 10.167.51.7710.167.51.77
4010.167.51.78/3110.167.51.78 – 10.167.51.7910.167.51.79
4110.167.51.80/3110.167.51.80 – 10.167.51.8110.167.51.81
4210.167.51.82/3110.167.51.82 – 10.167.51.8310.167.51.83
4310.167.51.84/3110.167.51.84 – 10.167.51.8510.167.51.85
4410.167.51.86/3110.167.51.86 – 10.167.51.8710.167.51.87
4510.167.51.88/3110.167.51.88 – 10.167.51.8910.167.51.89
4610.167.51.90/3110.167.51.90 – 10.167.51.9110.167.51.91
4710.167.51.92/3110.167.51.92 – 10.167.51.9310.167.51.93
4810.167.51.94/3110.167.51.94 – 10.167.51.9510.167.51.95
4910.167.51.96/3110.167.51.96 – 10.167.51.9710.167.51.97
5010.167.51.98/3110.167.51.98 – 10.167.51.9910.167.51.99
5110.167.51.100/3110.167.51.100 – 10.167.51.10110.167.51.101
5210.167.51.102/3110.167.51.102 – 10.167.51.10310.167.51.103
5310.167.51.104/3110.167.51.104 – 10.167.51.10510.167.51.105
5410.167.51.106/3110.167.51.106 – 10.167.51.10710.167.51.107
5510.167.51.108/3110.167.51.108 – 10.167.51.10910.167.51.109
5610.167.51.110/3110.167.51.110 – 10.167.51.11110.167.51.111
5710.167.51.112/3110.167.51.112 – 10.167.51.11310.167.51.113
5810.167.51.114/3110.167.51.114 – 10.167.51.11510.167.51.115
5910.167.51.116/3110.167.51.116 – 10.167.51.11710.167.51.117
6010.167.51.118/3110.167.51.118 – 10.167.51.11910.167.51.119
6110.167.51.120/3110.167.51.120 – 10.167.51.12110.167.51.121
6210.167.51.122/3110.167.51.122 – 10.167.51.12310.167.51.123
6310.167.51.124/3110.167.51.124 – 10.167.51.12510.167.51.125
6410.167.51.126/3110.167.51.126 – 10.167.51.12710.167.51.127
6510.167.51.128/3110.167.51.128 – 10.167.51.12910.167.51.129
6610.167.51.130/3110.167.51.130 – 10.167.51.13110.167.51.131
6710.167.51.132/3110.167.51.132 – 10.167.51.13310.167.51.133
6810.167.51.134/3110.167.51.134 – 10.167.51.13510.167.51.135
6910.167.51.136/3110.167.51.136 – 10.167.51.13710.167.51.137
7010.167.51.138/3110.167.51.138 – 10.167.51.13910.167.51.139
7110.167.51.140/3110.167.51.140 – 10.167.51.14110.167.51.141
7210.167.51.142/3110.167.51.142 – 10.167.51.14310.167.51.143
7310.167.51.144/3110.167.51.144 – 10.167.51.14510.167.51.145
7410.167.51.146/3110.167.51.146 – 10.167.51.14710.167.51.147
7510.167.51.148/3110.167.51.148 – 10.167.51.14910.167.51.149
7610.167.51.150/3110.167.51.150 – 10.167.51.15110.167.51.151
7710.167.51.152/3110.167.51.152 – 10.167.51.15310.167.51.153
7810.167.51.154/3110.167.51.154 – 10.167.51.15510.167.51.155
7910.167.51.156/3110.167.51.156 – 10.167.51.15710.167.51.157
8010.167.51.158/3110.167.51.158 – 10.167.51.15910.167.51.159
8110.167.51.160/3110.167.51.160 – 10.167.51.16110.167.51.161
8210.167.51.162/3110.167.51.162 – 10.167.51.16310.167.51.163
8310.167.51.164/3110.167.51.164 – 10.167.51.16510.167.51.165
8410.167.51.166/3110.167.51.166 – 10.167.51.16710.167.51.167
8510.167.51.168/3110.167.51.168 – 10.167.51.16910.167.51.169
8610.167.51.170/3110.167.51.170 – 10.167.51.17110.167.51.171
8710.167.51.172/3110.167.51.172 – 10.167.51.17310.167.51.173
8810.167.51.174/3110.167.51.174 – 10.167.51.17510.167.51.175
8910.167.51.176/3110.167.51.176 – 10.167.51.17710.167.51.177
9010.167.51.178/3110.167.51.178 – 10.167.51.17910.167.51.179
9110.167.51.180/3110.167.51.180 – 10.167.51.18110.167.51.181
9210.167.51.182/3110.167.51.182 – 10.167.51.18310.167.51.183
9310.167.51.184/3110.167.51.184 – 10.167.51.18510.167.51.185
9410.167.51.186/3110.167.51.186 – 10.167.51.18710.167.51.187
9510.167.51.188/3110.167.51.188 – 10.167.51.18910.167.51.189
9610.167.51.190/3110.167.51.190 – 10.167.51.19110.167.51.191
9710.167.51.192/3110.167.51.192 – 10.167.51.19310.167.51.193
9810.167.51.194/3110.167.51.194 – 10.167.51.19510.167.51.195
9910.167.51.196/3110.167.51.196 – 10.167.51.19710.167.51.197
10010.167.51.198/3110.167.51.198 – 10.167.51.19910.167.51.199
10110.167.51.200/3110.167.51.200 – 10.167.51.20110.167.51.201
10210.167.51.202/3110.167.51.202 – 10.167.51.20310.167.51.203
10310.167.51.204/3110.167.51.204 – 10.167.51.20510.167.51.205
10410.167.51.206/3110.167.51.206 – 10.167.51.20710.167.51.207
10510.167.51.208/3110.167.51.208 – 10.167.51.20910.167.51.209
10610.167.51.210/3110.167.51.210 – 10.167.51.21110.167.51.211
10710.167.51.212/3110.167.51.212 – 10.167.51.21310.167.51.213
10810.167.51.214/3110.167.51.214 – 10.167.51.21510.167.51.215
10910.167.51.216/3110.167.51.216 – 10.167.51.21710.167.51.217
11010.167.51.218/3110.167.51.218 – 10.167.51.21910.167.51.219
11110.167.51.220/3110.167.51.220 – 10.167.51.22110.167.51.221
11210.167.51.222/3110.167.51.222 – 10.167.51.22310.167.51.223
11310.167.51.224/3110.167.51.224 – 10.167.51.22510.167.51.225
11410.167.51.226/3110.167.51.226 – 10.167.51.22710.167.51.227
11510.167.51.228/3110.167.51.228 – 10.167.51.22910.167.51.229
11610.167.51.230/3110.167.51.230 – 10.167.51.23110.167.51.231
11710.167.51.232/3110.167.51.232 – 10.167.51.23310.167.51.233
11810.167.51.234/3110.167.51.234 – 10.167.51.23510.167.51.235
11910.167.51.236/3110.167.51.236 – 10.167.51.23710.167.51.237
12010.167.51.238/3110.167.51.238 – 10.167.51.23910.167.51.239
12110.167.51.240/3110.167.51.240 – 10.167.51.24110.167.51.241
12210.167.51.242/3110.167.51.242 – 10.167.51.24310.167.51.243
12310.167.51.244/3110.167.51.244 – 10.167.51.24510.167.51.245
12410.167.51.246/3110.167.51.246 – 10.167.51.24710.167.51.247
12510.167.51.248/3110.167.51.248 – 10.167.51.24910.167.51.249
12610.167.51.250/3110.167.51.250 – 10.167.51.25110.167.51.251
12710.167.51.252/3110.167.51.252 – 10.167.51.25310.167.51.253
12810.167.51.254/3110.167.51.254 – 10.167.51.25510.167.51.255
01 / table

IPv4 CIDR prefix table.

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

prefixsubnet maskaddresseshostsin your /24
/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,022-
/23255.255.254.0512510-
/24255.255.255.02562541
/25255.255.255.1281281262 split →
/26255.255.255.19264624 split →
/27255.255.255.22432308 split →
/28255.255.255.240161416 split →
/29255.255.255.2488632 split →
/30255.255.255.2524264 split →
/31255.255.255.25422128 split →
/32255.255.255.25511256 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 →