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.159.78.0/24
network10.159.78.0/24
broadcast10.159.78.255
first host10.159.78.1
last host10.159.78.254
subnet mask255.255.255.0
wildcard0.0.0.255
addresses256
usable hosts254
classA
ipcalc 10.159.78.0/24
address00001010.10011111.01001110.00000000
subnet mask11111111.11111111.11111111.00000000
network00001010.10011111.01001110.00000000
broadcast00001010.10011111.01001110.11111111
green = network part, grey = host part
hex0x0a9f4e00
decimal178212352
reverse dns0.78.159.10.in-addr.arpa
ipv4-mapped::ffff:a9f:4e00

/24 split into /31 · 128 subnets

close ×
#networkhost rangebroadcast
110.159.78.0/3110.159.78.0 – 10.159.78.110.159.78.1
210.159.78.2/3110.159.78.2 – 10.159.78.310.159.78.3
310.159.78.4/3110.159.78.4 – 10.159.78.510.159.78.5
410.159.78.6/3110.159.78.6 – 10.159.78.710.159.78.7
510.159.78.8/3110.159.78.8 – 10.159.78.910.159.78.9
610.159.78.10/3110.159.78.10 – 10.159.78.1110.159.78.11
710.159.78.12/3110.159.78.12 – 10.159.78.1310.159.78.13
810.159.78.14/3110.159.78.14 – 10.159.78.1510.159.78.15
910.159.78.16/3110.159.78.16 – 10.159.78.1710.159.78.17
1010.159.78.18/3110.159.78.18 – 10.159.78.1910.159.78.19
1110.159.78.20/3110.159.78.20 – 10.159.78.2110.159.78.21
1210.159.78.22/3110.159.78.22 – 10.159.78.2310.159.78.23
1310.159.78.24/3110.159.78.24 – 10.159.78.2510.159.78.25
1410.159.78.26/3110.159.78.26 – 10.159.78.2710.159.78.27
1510.159.78.28/3110.159.78.28 – 10.159.78.2910.159.78.29
1610.159.78.30/3110.159.78.30 – 10.159.78.3110.159.78.31
1710.159.78.32/3110.159.78.32 – 10.159.78.3310.159.78.33
1810.159.78.34/3110.159.78.34 – 10.159.78.3510.159.78.35
1910.159.78.36/3110.159.78.36 – 10.159.78.3710.159.78.37
2010.159.78.38/3110.159.78.38 – 10.159.78.3910.159.78.39
2110.159.78.40/3110.159.78.40 – 10.159.78.4110.159.78.41
2210.159.78.42/3110.159.78.42 – 10.159.78.4310.159.78.43
2310.159.78.44/3110.159.78.44 – 10.159.78.4510.159.78.45
2410.159.78.46/3110.159.78.46 – 10.159.78.4710.159.78.47
2510.159.78.48/3110.159.78.48 – 10.159.78.4910.159.78.49
2610.159.78.50/3110.159.78.50 – 10.159.78.5110.159.78.51
2710.159.78.52/3110.159.78.52 – 10.159.78.5310.159.78.53
2810.159.78.54/3110.159.78.54 – 10.159.78.5510.159.78.55
2910.159.78.56/3110.159.78.56 – 10.159.78.5710.159.78.57
3010.159.78.58/3110.159.78.58 – 10.159.78.5910.159.78.59
3110.159.78.60/3110.159.78.60 – 10.159.78.6110.159.78.61
3210.159.78.62/3110.159.78.62 – 10.159.78.6310.159.78.63
3310.159.78.64/3110.159.78.64 – 10.159.78.6510.159.78.65
3410.159.78.66/3110.159.78.66 – 10.159.78.6710.159.78.67
3510.159.78.68/3110.159.78.68 – 10.159.78.6910.159.78.69
3610.159.78.70/3110.159.78.70 – 10.159.78.7110.159.78.71
3710.159.78.72/3110.159.78.72 – 10.159.78.7310.159.78.73
3810.159.78.74/3110.159.78.74 – 10.159.78.7510.159.78.75
3910.159.78.76/3110.159.78.76 – 10.159.78.7710.159.78.77
4010.159.78.78/3110.159.78.78 – 10.159.78.7910.159.78.79
4110.159.78.80/3110.159.78.80 – 10.159.78.8110.159.78.81
4210.159.78.82/3110.159.78.82 – 10.159.78.8310.159.78.83
4310.159.78.84/3110.159.78.84 – 10.159.78.8510.159.78.85
4410.159.78.86/3110.159.78.86 – 10.159.78.8710.159.78.87
4510.159.78.88/3110.159.78.88 – 10.159.78.8910.159.78.89
4610.159.78.90/3110.159.78.90 – 10.159.78.9110.159.78.91
4710.159.78.92/3110.159.78.92 – 10.159.78.9310.159.78.93
4810.159.78.94/3110.159.78.94 – 10.159.78.9510.159.78.95
4910.159.78.96/3110.159.78.96 – 10.159.78.9710.159.78.97
5010.159.78.98/3110.159.78.98 – 10.159.78.9910.159.78.99
5110.159.78.100/3110.159.78.100 – 10.159.78.10110.159.78.101
5210.159.78.102/3110.159.78.102 – 10.159.78.10310.159.78.103
5310.159.78.104/3110.159.78.104 – 10.159.78.10510.159.78.105
5410.159.78.106/3110.159.78.106 – 10.159.78.10710.159.78.107
5510.159.78.108/3110.159.78.108 – 10.159.78.10910.159.78.109
5610.159.78.110/3110.159.78.110 – 10.159.78.11110.159.78.111
5710.159.78.112/3110.159.78.112 – 10.159.78.11310.159.78.113
5810.159.78.114/3110.159.78.114 – 10.159.78.11510.159.78.115
5910.159.78.116/3110.159.78.116 – 10.159.78.11710.159.78.117
6010.159.78.118/3110.159.78.118 – 10.159.78.11910.159.78.119
6110.159.78.120/3110.159.78.120 – 10.159.78.12110.159.78.121
6210.159.78.122/3110.159.78.122 – 10.159.78.12310.159.78.123
6310.159.78.124/3110.159.78.124 – 10.159.78.12510.159.78.125
6410.159.78.126/3110.159.78.126 – 10.159.78.12710.159.78.127
6510.159.78.128/3110.159.78.128 – 10.159.78.12910.159.78.129
6610.159.78.130/3110.159.78.130 – 10.159.78.13110.159.78.131
6710.159.78.132/3110.159.78.132 – 10.159.78.13310.159.78.133
6810.159.78.134/3110.159.78.134 – 10.159.78.13510.159.78.135
6910.159.78.136/3110.159.78.136 – 10.159.78.13710.159.78.137
7010.159.78.138/3110.159.78.138 – 10.159.78.13910.159.78.139
7110.159.78.140/3110.159.78.140 – 10.159.78.14110.159.78.141
7210.159.78.142/3110.159.78.142 – 10.159.78.14310.159.78.143
7310.159.78.144/3110.159.78.144 – 10.159.78.14510.159.78.145
7410.159.78.146/3110.159.78.146 – 10.159.78.14710.159.78.147
7510.159.78.148/3110.159.78.148 – 10.159.78.14910.159.78.149
7610.159.78.150/3110.159.78.150 – 10.159.78.15110.159.78.151
7710.159.78.152/3110.159.78.152 – 10.159.78.15310.159.78.153
7810.159.78.154/3110.159.78.154 – 10.159.78.15510.159.78.155
7910.159.78.156/3110.159.78.156 – 10.159.78.15710.159.78.157
8010.159.78.158/3110.159.78.158 – 10.159.78.15910.159.78.159
8110.159.78.160/3110.159.78.160 – 10.159.78.16110.159.78.161
8210.159.78.162/3110.159.78.162 – 10.159.78.16310.159.78.163
8310.159.78.164/3110.159.78.164 – 10.159.78.16510.159.78.165
8410.159.78.166/3110.159.78.166 – 10.159.78.16710.159.78.167
8510.159.78.168/3110.159.78.168 – 10.159.78.16910.159.78.169
8610.159.78.170/3110.159.78.170 – 10.159.78.17110.159.78.171
8710.159.78.172/3110.159.78.172 – 10.159.78.17310.159.78.173
8810.159.78.174/3110.159.78.174 – 10.159.78.17510.159.78.175
8910.159.78.176/3110.159.78.176 – 10.159.78.17710.159.78.177
9010.159.78.178/3110.159.78.178 – 10.159.78.17910.159.78.179
9110.159.78.180/3110.159.78.180 – 10.159.78.18110.159.78.181
9210.159.78.182/3110.159.78.182 – 10.159.78.18310.159.78.183
9310.159.78.184/3110.159.78.184 – 10.159.78.18510.159.78.185
9410.159.78.186/3110.159.78.186 – 10.159.78.18710.159.78.187
9510.159.78.188/3110.159.78.188 – 10.159.78.18910.159.78.189
9610.159.78.190/3110.159.78.190 – 10.159.78.19110.159.78.191
9710.159.78.192/3110.159.78.192 – 10.159.78.19310.159.78.193
9810.159.78.194/3110.159.78.194 – 10.159.78.19510.159.78.195
9910.159.78.196/3110.159.78.196 – 10.159.78.19710.159.78.197
10010.159.78.198/3110.159.78.198 – 10.159.78.19910.159.78.199
10110.159.78.200/3110.159.78.200 – 10.159.78.20110.159.78.201
10210.159.78.202/3110.159.78.202 – 10.159.78.20310.159.78.203
10310.159.78.204/3110.159.78.204 – 10.159.78.20510.159.78.205
10410.159.78.206/3110.159.78.206 – 10.159.78.20710.159.78.207
10510.159.78.208/3110.159.78.208 – 10.159.78.20910.159.78.209
10610.159.78.210/3110.159.78.210 – 10.159.78.21110.159.78.211
10710.159.78.212/3110.159.78.212 – 10.159.78.21310.159.78.213
10810.159.78.214/3110.159.78.214 – 10.159.78.21510.159.78.215
10910.159.78.216/3110.159.78.216 – 10.159.78.21710.159.78.217
11010.159.78.218/3110.159.78.218 – 10.159.78.21910.159.78.219
11110.159.78.220/3110.159.78.220 – 10.159.78.22110.159.78.221
11210.159.78.222/3110.159.78.222 – 10.159.78.22310.159.78.223
11310.159.78.224/3110.159.78.224 – 10.159.78.22510.159.78.225
11410.159.78.226/3110.159.78.226 – 10.159.78.22710.159.78.227
11510.159.78.228/3110.159.78.228 – 10.159.78.22910.159.78.229
11610.159.78.230/3110.159.78.230 – 10.159.78.23110.159.78.231
11710.159.78.232/3110.159.78.232 – 10.159.78.23310.159.78.233
11810.159.78.234/3110.159.78.234 – 10.159.78.23510.159.78.235
11910.159.78.236/3110.159.78.236 – 10.159.78.23710.159.78.237
12010.159.78.238/3110.159.78.238 – 10.159.78.23910.159.78.239
12110.159.78.240/3110.159.78.240 – 10.159.78.24110.159.78.241
12210.159.78.242/3110.159.78.242 – 10.159.78.24310.159.78.243
12310.159.78.244/3110.159.78.244 – 10.159.78.24510.159.78.245
12410.159.78.246/3110.159.78.246 – 10.159.78.24710.159.78.247
12510.159.78.248/3110.159.78.248 – 10.159.78.24910.159.78.249
12610.159.78.250/3110.159.78.250 – 10.159.78.25110.159.78.251
12710.159.78.252/3110.159.78.252 – 10.159.78.25310.159.78.253
12810.159.78.254/3110.159.78.254 – 10.159.78.25510.159.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 →