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.56.78.0/24
network10.56.78.0/24
broadcast10.56.78.255
first host10.56.78.1
last host10.56.78.254
subnet mask255.255.255.0
wildcard0.0.0.255
addresses256
usable hosts254
classA
ipcalc 10.56.78.0/24
address00001010.00111000.01001110.00000000
subnet mask11111111.11111111.11111111.00000000
network00001010.00111000.01001110.00000000
broadcast00001010.00111000.01001110.11111111
green = network part, grey = host part
hex0x0a384e00
decimal171462144
reverse dns0.78.56.10.in-addr.arpa
ipv4-mapped::ffff:a38:4e00

/24 split into /31 · 128 subnets

close ×
#networkhost rangebroadcast
110.56.78.0/3110.56.78.0 – 10.56.78.110.56.78.1
210.56.78.2/3110.56.78.2 – 10.56.78.310.56.78.3
310.56.78.4/3110.56.78.4 – 10.56.78.510.56.78.5
410.56.78.6/3110.56.78.6 – 10.56.78.710.56.78.7
510.56.78.8/3110.56.78.8 – 10.56.78.910.56.78.9
610.56.78.10/3110.56.78.10 – 10.56.78.1110.56.78.11
710.56.78.12/3110.56.78.12 – 10.56.78.1310.56.78.13
810.56.78.14/3110.56.78.14 – 10.56.78.1510.56.78.15
910.56.78.16/3110.56.78.16 – 10.56.78.1710.56.78.17
1010.56.78.18/3110.56.78.18 – 10.56.78.1910.56.78.19
1110.56.78.20/3110.56.78.20 – 10.56.78.2110.56.78.21
1210.56.78.22/3110.56.78.22 – 10.56.78.2310.56.78.23
1310.56.78.24/3110.56.78.24 – 10.56.78.2510.56.78.25
1410.56.78.26/3110.56.78.26 – 10.56.78.2710.56.78.27
1510.56.78.28/3110.56.78.28 – 10.56.78.2910.56.78.29
1610.56.78.30/3110.56.78.30 – 10.56.78.3110.56.78.31
1710.56.78.32/3110.56.78.32 – 10.56.78.3310.56.78.33
1810.56.78.34/3110.56.78.34 – 10.56.78.3510.56.78.35
1910.56.78.36/3110.56.78.36 – 10.56.78.3710.56.78.37
2010.56.78.38/3110.56.78.38 – 10.56.78.3910.56.78.39
2110.56.78.40/3110.56.78.40 – 10.56.78.4110.56.78.41
2210.56.78.42/3110.56.78.42 – 10.56.78.4310.56.78.43
2310.56.78.44/3110.56.78.44 – 10.56.78.4510.56.78.45
2410.56.78.46/3110.56.78.46 – 10.56.78.4710.56.78.47
2510.56.78.48/3110.56.78.48 – 10.56.78.4910.56.78.49
2610.56.78.50/3110.56.78.50 – 10.56.78.5110.56.78.51
2710.56.78.52/3110.56.78.52 – 10.56.78.5310.56.78.53
2810.56.78.54/3110.56.78.54 – 10.56.78.5510.56.78.55
2910.56.78.56/3110.56.78.56 – 10.56.78.5710.56.78.57
3010.56.78.58/3110.56.78.58 – 10.56.78.5910.56.78.59
3110.56.78.60/3110.56.78.60 – 10.56.78.6110.56.78.61
3210.56.78.62/3110.56.78.62 – 10.56.78.6310.56.78.63
3310.56.78.64/3110.56.78.64 – 10.56.78.6510.56.78.65
3410.56.78.66/3110.56.78.66 – 10.56.78.6710.56.78.67
3510.56.78.68/3110.56.78.68 – 10.56.78.6910.56.78.69
3610.56.78.70/3110.56.78.70 – 10.56.78.7110.56.78.71
3710.56.78.72/3110.56.78.72 – 10.56.78.7310.56.78.73
3810.56.78.74/3110.56.78.74 – 10.56.78.7510.56.78.75
3910.56.78.76/3110.56.78.76 – 10.56.78.7710.56.78.77
4010.56.78.78/3110.56.78.78 – 10.56.78.7910.56.78.79
4110.56.78.80/3110.56.78.80 – 10.56.78.8110.56.78.81
4210.56.78.82/3110.56.78.82 – 10.56.78.8310.56.78.83
4310.56.78.84/3110.56.78.84 – 10.56.78.8510.56.78.85
4410.56.78.86/3110.56.78.86 – 10.56.78.8710.56.78.87
4510.56.78.88/3110.56.78.88 – 10.56.78.8910.56.78.89
4610.56.78.90/3110.56.78.90 – 10.56.78.9110.56.78.91
4710.56.78.92/3110.56.78.92 – 10.56.78.9310.56.78.93
4810.56.78.94/3110.56.78.94 – 10.56.78.9510.56.78.95
4910.56.78.96/3110.56.78.96 – 10.56.78.9710.56.78.97
5010.56.78.98/3110.56.78.98 – 10.56.78.9910.56.78.99
5110.56.78.100/3110.56.78.100 – 10.56.78.10110.56.78.101
5210.56.78.102/3110.56.78.102 – 10.56.78.10310.56.78.103
5310.56.78.104/3110.56.78.104 – 10.56.78.10510.56.78.105
5410.56.78.106/3110.56.78.106 – 10.56.78.10710.56.78.107
5510.56.78.108/3110.56.78.108 – 10.56.78.10910.56.78.109
5610.56.78.110/3110.56.78.110 – 10.56.78.11110.56.78.111
5710.56.78.112/3110.56.78.112 – 10.56.78.11310.56.78.113
5810.56.78.114/3110.56.78.114 – 10.56.78.11510.56.78.115
5910.56.78.116/3110.56.78.116 – 10.56.78.11710.56.78.117
6010.56.78.118/3110.56.78.118 – 10.56.78.11910.56.78.119
6110.56.78.120/3110.56.78.120 – 10.56.78.12110.56.78.121
6210.56.78.122/3110.56.78.122 – 10.56.78.12310.56.78.123
6310.56.78.124/3110.56.78.124 – 10.56.78.12510.56.78.125
6410.56.78.126/3110.56.78.126 – 10.56.78.12710.56.78.127
6510.56.78.128/3110.56.78.128 – 10.56.78.12910.56.78.129
6610.56.78.130/3110.56.78.130 – 10.56.78.13110.56.78.131
6710.56.78.132/3110.56.78.132 – 10.56.78.13310.56.78.133
6810.56.78.134/3110.56.78.134 – 10.56.78.13510.56.78.135
6910.56.78.136/3110.56.78.136 – 10.56.78.13710.56.78.137
7010.56.78.138/3110.56.78.138 – 10.56.78.13910.56.78.139
7110.56.78.140/3110.56.78.140 – 10.56.78.14110.56.78.141
7210.56.78.142/3110.56.78.142 – 10.56.78.14310.56.78.143
7310.56.78.144/3110.56.78.144 – 10.56.78.14510.56.78.145
7410.56.78.146/3110.56.78.146 – 10.56.78.14710.56.78.147
7510.56.78.148/3110.56.78.148 – 10.56.78.14910.56.78.149
7610.56.78.150/3110.56.78.150 – 10.56.78.15110.56.78.151
7710.56.78.152/3110.56.78.152 – 10.56.78.15310.56.78.153
7810.56.78.154/3110.56.78.154 – 10.56.78.15510.56.78.155
7910.56.78.156/3110.56.78.156 – 10.56.78.15710.56.78.157
8010.56.78.158/3110.56.78.158 – 10.56.78.15910.56.78.159
8110.56.78.160/3110.56.78.160 – 10.56.78.16110.56.78.161
8210.56.78.162/3110.56.78.162 – 10.56.78.16310.56.78.163
8310.56.78.164/3110.56.78.164 – 10.56.78.16510.56.78.165
8410.56.78.166/3110.56.78.166 – 10.56.78.16710.56.78.167
8510.56.78.168/3110.56.78.168 – 10.56.78.16910.56.78.169
8610.56.78.170/3110.56.78.170 – 10.56.78.17110.56.78.171
8710.56.78.172/3110.56.78.172 – 10.56.78.17310.56.78.173
8810.56.78.174/3110.56.78.174 – 10.56.78.17510.56.78.175
8910.56.78.176/3110.56.78.176 – 10.56.78.17710.56.78.177
9010.56.78.178/3110.56.78.178 – 10.56.78.17910.56.78.179
9110.56.78.180/3110.56.78.180 – 10.56.78.18110.56.78.181
9210.56.78.182/3110.56.78.182 – 10.56.78.18310.56.78.183
9310.56.78.184/3110.56.78.184 – 10.56.78.18510.56.78.185
9410.56.78.186/3110.56.78.186 – 10.56.78.18710.56.78.187
9510.56.78.188/3110.56.78.188 – 10.56.78.18910.56.78.189
9610.56.78.190/3110.56.78.190 – 10.56.78.19110.56.78.191
9710.56.78.192/3110.56.78.192 – 10.56.78.19310.56.78.193
9810.56.78.194/3110.56.78.194 – 10.56.78.19510.56.78.195
9910.56.78.196/3110.56.78.196 – 10.56.78.19710.56.78.197
10010.56.78.198/3110.56.78.198 – 10.56.78.19910.56.78.199
10110.56.78.200/3110.56.78.200 – 10.56.78.20110.56.78.201
10210.56.78.202/3110.56.78.202 – 10.56.78.20310.56.78.203
10310.56.78.204/3110.56.78.204 – 10.56.78.20510.56.78.205
10410.56.78.206/3110.56.78.206 – 10.56.78.20710.56.78.207
10510.56.78.208/3110.56.78.208 – 10.56.78.20910.56.78.209
10610.56.78.210/3110.56.78.210 – 10.56.78.21110.56.78.211
10710.56.78.212/3110.56.78.212 – 10.56.78.21310.56.78.213
10810.56.78.214/3110.56.78.214 – 10.56.78.21510.56.78.215
10910.56.78.216/3110.56.78.216 – 10.56.78.21710.56.78.217
11010.56.78.218/3110.56.78.218 – 10.56.78.21910.56.78.219
11110.56.78.220/3110.56.78.220 – 10.56.78.22110.56.78.221
11210.56.78.222/3110.56.78.222 – 10.56.78.22310.56.78.223
11310.56.78.224/3110.56.78.224 – 10.56.78.22510.56.78.225
11410.56.78.226/3110.56.78.226 – 10.56.78.22710.56.78.227
11510.56.78.228/3110.56.78.228 – 10.56.78.22910.56.78.229
11610.56.78.230/3110.56.78.230 – 10.56.78.23110.56.78.231
11710.56.78.232/3110.56.78.232 – 10.56.78.23310.56.78.233
11810.56.78.234/3110.56.78.234 – 10.56.78.23510.56.78.235
11910.56.78.236/3110.56.78.236 – 10.56.78.23710.56.78.237
12010.56.78.238/3110.56.78.238 – 10.56.78.23910.56.78.239
12110.56.78.240/3110.56.78.240 – 10.56.78.24110.56.78.241
12210.56.78.242/3110.56.78.242 – 10.56.78.24310.56.78.243
12310.56.78.244/3110.56.78.244 – 10.56.78.24510.56.78.245
12410.56.78.246/3110.56.78.246 – 10.56.78.24710.56.78.247
12510.56.78.248/3110.56.78.248 – 10.56.78.24910.56.78.249
12610.56.78.250/3110.56.78.250 – 10.56.78.25110.56.78.251
12710.56.78.252/3110.56.78.252 – 10.56.78.25310.56.78.253
12810.56.78.254/3110.56.78.254 – 10.56.78.25510.56.78.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 →