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.0.101.0/24
network10.0.101.0/24
broadcast10.0.101.255
first host10.0.101.1
last host10.0.101.254
subnet mask255.255.255.0
wildcard0.0.0.255
addresses256
usable hosts254
classA
ipcalc 10.0.101.0/24
address00001010.00000000.01100101.00000000
subnet mask11111111.11111111.11111111.00000000
network00001010.00000000.01100101.00000000
broadcast00001010.00000000.01100101.11111111
green = network part, grey = host part
hex0x0a006500
decimal167798016
reverse dns0.101.0.10.in-addr.arpa
ipv4-mapped::ffff:a00:6500

/24 split into /31 · 128 subnets

close ×
#networkhost rangebroadcast
110.0.101.0/3110.0.101.0 – 10.0.101.110.0.101.1
210.0.101.2/3110.0.101.2 – 10.0.101.310.0.101.3
310.0.101.4/3110.0.101.4 – 10.0.101.510.0.101.5
410.0.101.6/3110.0.101.6 – 10.0.101.710.0.101.7
510.0.101.8/3110.0.101.8 – 10.0.101.910.0.101.9
610.0.101.10/3110.0.101.10 – 10.0.101.1110.0.101.11
710.0.101.12/3110.0.101.12 – 10.0.101.1310.0.101.13
810.0.101.14/3110.0.101.14 – 10.0.101.1510.0.101.15
910.0.101.16/3110.0.101.16 – 10.0.101.1710.0.101.17
1010.0.101.18/3110.0.101.18 – 10.0.101.1910.0.101.19
1110.0.101.20/3110.0.101.20 – 10.0.101.2110.0.101.21
1210.0.101.22/3110.0.101.22 – 10.0.101.2310.0.101.23
1310.0.101.24/3110.0.101.24 – 10.0.101.2510.0.101.25
1410.0.101.26/3110.0.101.26 – 10.0.101.2710.0.101.27
1510.0.101.28/3110.0.101.28 – 10.0.101.2910.0.101.29
1610.0.101.30/3110.0.101.30 – 10.0.101.3110.0.101.31
1710.0.101.32/3110.0.101.32 – 10.0.101.3310.0.101.33
1810.0.101.34/3110.0.101.34 – 10.0.101.3510.0.101.35
1910.0.101.36/3110.0.101.36 – 10.0.101.3710.0.101.37
2010.0.101.38/3110.0.101.38 – 10.0.101.3910.0.101.39
2110.0.101.40/3110.0.101.40 – 10.0.101.4110.0.101.41
2210.0.101.42/3110.0.101.42 – 10.0.101.4310.0.101.43
2310.0.101.44/3110.0.101.44 – 10.0.101.4510.0.101.45
2410.0.101.46/3110.0.101.46 – 10.0.101.4710.0.101.47
2510.0.101.48/3110.0.101.48 – 10.0.101.4910.0.101.49
2610.0.101.50/3110.0.101.50 – 10.0.101.5110.0.101.51
2710.0.101.52/3110.0.101.52 – 10.0.101.5310.0.101.53
2810.0.101.54/3110.0.101.54 – 10.0.101.5510.0.101.55
2910.0.101.56/3110.0.101.56 – 10.0.101.5710.0.101.57
3010.0.101.58/3110.0.101.58 – 10.0.101.5910.0.101.59
3110.0.101.60/3110.0.101.60 – 10.0.101.6110.0.101.61
3210.0.101.62/3110.0.101.62 – 10.0.101.6310.0.101.63
3310.0.101.64/3110.0.101.64 – 10.0.101.6510.0.101.65
3410.0.101.66/3110.0.101.66 – 10.0.101.6710.0.101.67
3510.0.101.68/3110.0.101.68 – 10.0.101.6910.0.101.69
3610.0.101.70/3110.0.101.70 – 10.0.101.7110.0.101.71
3710.0.101.72/3110.0.101.72 – 10.0.101.7310.0.101.73
3810.0.101.74/3110.0.101.74 – 10.0.101.7510.0.101.75
3910.0.101.76/3110.0.101.76 – 10.0.101.7710.0.101.77
4010.0.101.78/3110.0.101.78 – 10.0.101.7910.0.101.79
4110.0.101.80/3110.0.101.80 – 10.0.101.8110.0.101.81
4210.0.101.82/3110.0.101.82 – 10.0.101.8310.0.101.83
4310.0.101.84/3110.0.101.84 – 10.0.101.8510.0.101.85
4410.0.101.86/3110.0.101.86 – 10.0.101.8710.0.101.87
4510.0.101.88/3110.0.101.88 – 10.0.101.8910.0.101.89
4610.0.101.90/3110.0.101.90 – 10.0.101.9110.0.101.91
4710.0.101.92/3110.0.101.92 – 10.0.101.9310.0.101.93
4810.0.101.94/3110.0.101.94 – 10.0.101.9510.0.101.95
4910.0.101.96/3110.0.101.96 – 10.0.101.9710.0.101.97
5010.0.101.98/3110.0.101.98 – 10.0.101.9910.0.101.99
5110.0.101.100/3110.0.101.100 – 10.0.101.10110.0.101.101
5210.0.101.102/3110.0.101.102 – 10.0.101.10310.0.101.103
5310.0.101.104/3110.0.101.104 – 10.0.101.10510.0.101.105
5410.0.101.106/3110.0.101.106 – 10.0.101.10710.0.101.107
5510.0.101.108/3110.0.101.108 – 10.0.101.10910.0.101.109
5610.0.101.110/3110.0.101.110 – 10.0.101.11110.0.101.111
5710.0.101.112/3110.0.101.112 – 10.0.101.11310.0.101.113
5810.0.101.114/3110.0.101.114 – 10.0.101.11510.0.101.115
5910.0.101.116/3110.0.101.116 – 10.0.101.11710.0.101.117
6010.0.101.118/3110.0.101.118 – 10.0.101.11910.0.101.119
6110.0.101.120/3110.0.101.120 – 10.0.101.12110.0.101.121
6210.0.101.122/3110.0.101.122 – 10.0.101.12310.0.101.123
6310.0.101.124/3110.0.101.124 – 10.0.101.12510.0.101.125
6410.0.101.126/3110.0.101.126 – 10.0.101.12710.0.101.127
6510.0.101.128/3110.0.101.128 – 10.0.101.12910.0.101.129
6610.0.101.130/3110.0.101.130 – 10.0.101.13110.0.101.131
6710.0.101.132/3110.0.101.132 – 10.0.101.13310.0.101.133
6810.0.101.134/3110.0.101.134 – 10.0.101.13510.0.101.135
6910.0.101.136/3110.0.101.136 – 10.0.101.13710.0.101.137
7010.0.101.138/3110.0.101.138 – 10.0.101.13910.0.101.139
7110.0.101.140/3110.0.101.140 – 10.0.101.14110.0.101.141
7210.0.101.142/3110.0.101.142 – 10.0.101.14310.0.101.143
7310.0.101.144/3110.0.101.144 – 10.0.101.14510.0.101.145
7410.0.101.146/3110.0.101.146 – 10.0.101.14710.0.101.147
7510.0.101.148/3110.0.101.148 – 10.0.101.14910.0.101.149
7610.0.101.150/3110.0.101.150 – 10.0.101.15110.0.101.151
7710.0.101.152/3110.0.101.152 – 10.0.101.15310.0.101.153
7810.0.101.154/3110.0.101.154 – 10.0.101.15510.0.101.155
7910.0.101.156/3110.0.101.156 – 10.0.101.15710.0.101.157
8010.0.101.158/3110.0.101.158 – 10.0.101.15910.0.101.159
8110.0.101.160/3110.0.101.160 – 10.0.101.16110.0.101.161
8210.0.101.162/3110.0.101.162 – 10.0.101.16310.0.101.163
8310.0.101.164/3110.0.101.164 – 10.0.101.16510.0.101.165
8410.0.101.166/3110.0.101.166 – 10.0.101.16710.0.101.167
8510.0.101.168/3110.0.101.168 – 10.0.101.16910.0.101.169
8610.0.101.170/3110.0.101.170 – 10.0.101.17110.0.101.171
8710.0.101.172/3110.0.101.172 – 10.0.101.17310.0.101.173
8810.0.101.174/3110.0.101.174 – 10.0.101.17510.0.101.175
8910.0.101.176/3110.0.101.176 – 10.0.101.17710.0.101.177
9010.0.101.178/3110.0.101.178 – 10.0.101.17910.0.101.179
9110.0.101.180/3110.0.101.180 – 10.0.101.18110.0.101.181
9210.0.101.182/3110.0.101.182 – 10.0.101.18310.0.101.183
9310.0.101.184/3110.0.101.184 – 10.0.101.18510.0.101.185
9410.0.101.186/3110.0.101.186 – 10.0.101.18710.0.101.187
9510.0.101.188/3110.0.101.188 – 10.0.101.18910.0.101.189
9610.0.101.190/3110.0.101.190 – 10.0.101.19110.0.101.191
9710.0.101.192/3110.0.101.192 – 10.0.101.19310.0.101.193
9810.0.101.194/3110.0.101.194 – 10.0.101.19510.0.101.195
9910.0.101.196/3110.0.101.196 – 10.0.101.19710.0.101.197
10010.0.101.198/3110.0.101.198 – 10.0.101.19910.0.101.199
10110.0.101.200/3110.0.101.200 – 10.0.101.20110.0.101.201
10210.0.101.202/3110.0.101.202 – 10.0.101.20310.0.101.203
10310.0.101.204/3110.0.101.204 – 10.0.101.20510.0.101.205
10410.0.101.206/3110.0.101.206 – 10.0.101.20710.0.101.207
10510.0.101.208/3110.0.101.208 – 10.0.101.20910.0.101.209
10610.0.101.210/3110.0.101.210 – 10.0.101.21110.0.101.211
10710.0.101.212/3110.0.101.212 – 10.0.101.21310.0.101.213
10810.0.101.214/3110.0.101.214 – 10.0.101.21510.0.101.215
10910.0.101.216/3110.0.101.216 – 10.0.101.21710.0.101.217
11010.0.101.218/3110.0.101.218 – 10.0.101.21910.0.101.219
11110.0.101.220/3110.0.101.220 – 10.0.101.22110.0.101.221
11210.0.101.222/3110.0.101.222 – 10.0.101.22310.0.101.223
11310.0.101.224/3110.0.101.224 – 10.0.101.22510.0.101.225
11410.0.101.226/3110.0.101.226 – 10.0.101.22710.0.101.227
11510.0.101.228/3110.0.101.228 – 10.0.101.22910.0.101.229
11610.0.101.230/3110.0.101.230 – 10.0.101.23110.0.101.231
11710.0.101.232/3110.0.101.232 – 10.0.101.23310.0.101.233
11810.0.101.234/3110.0.101.234 – 10.0.101.23510.0.101.235
11910.0.101.236/3110.0.101.236 – 10.0.101.23710.0.101.237
12010.0.101.238/3110.0.101.238 – 10.0.101.23910.0.101.239
12110.0.101.240/3110.0.101.240 – 10.0.101.24110.0.101.241
12210.0.101.242/3110.0.101.242 – 10.0.101.24310.0.101.243
12310.0.101.244/3110.0.101.244 – 10.0.101.24510.0.101.245
12410.0.101.246/3110.0.101.246 – 10.0.101.24710.0.101.247
12510.0.101.248/3110.0.101.248 – 10.0.101.24910.0.101.249
12610.0.101.250/3110.0.101.250 – 10.0.101.25110.0.101.251
12710.0.101.252/3110.0.101.252 – 10.0.101.25310.0.101.253
12810.0.101.254/3110.0.101.254 – 10.0.101.25510.0.101.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 →