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.149.40.0/24
network10.149.40.0/24
broadcast10.149.40.255
first host10.149.40.1
last host10.149.40.254
subnet mask255.255.255.0
wildcard0.0.0.255
addresses256
usable hosts254
classA
ipcalc 10.149.40.0/24
address00001010.10010101.00101000.00000000
subnet mask11111111.11111111.11111111.00000000
network00001010.10010101.00101000.00000000
broadcast00001010.10010101.00101000.11111111
green = network part, grey = host part
hex0x0a952800
decimal177547264
reverse dns0.40.149.10.in-addr.arpa
ipv4-mapped::ffff:a95:2800

/24 split into /31 · 128 subnets

close ×
#networkhost rangebroadcast
110.149.40.0/3110.149.40.0 – 10.149.40.110.149.40.1
210.149.40.2/3110.149.40.2 – 10.149.40.310.149.40.3
310.149.40.4/3110.149.40.4 – 10.149.40.510.149.40.5
410.149.40.6/3110.149.40.6 – 10.149.40.710.149.40.7
510.149.40.8/3110.149.40.8 – 10.149.40.910.149.40.9
610.149.40.10/3110.149.40.10 – 10.149.40.1110.149.40.11
710.149.40.12/3110.149.40.12 – 10.149.40.1310.149.40.13
810.149.40.14/3110.149.40.14 – 10.149.40.1510.149.40.15
910.149.40.16/3110.149.40.16 – 10.149.40.1710.149.40.17
1010.149.40.18/3110.149.40.18 – 10.149.40.1910.149.40.19
1110.149.40.20/3110.149.40.20 – 10.149.40.2110.149.40.21
1210.149.40.22/3110.149.40.22 – 10.149.40.2310.149.40.23
1310.149.40.24/3110.149.40.24 – 10.149.40.2510.149.40.25
1410.149.40.26/3110.149.40.26 – 10.149.40.2710.149.40.27
1510.149.40.28/3110.149.40.28 – 10.149.40.2910.149.40.29
1610.149.40.30/3110.149.40.30 – 10.149.40.3110.149.40.31
1710.149.40.32/3110.149.40.32 – 10.149.40.3310.149.40.33
1810.149.40.34/3110.149.40.34 – 10.149.40.3510.149.40.35
1910.149.40.36/3110.149.40.36 – 10.149.40.3710.149.40.37
2010.149.40.38/3110.149.40.38 – 10.149.40.3910.149.40.39
2110.149.40.40/3110.149.40.40 – 10.149.40.4110.149.40.41
2210.149.40.42/3110.149.40.42 – 10.149.40.4310.149.40.43
2310.149.40.44/3110.149.40.44 – 10.149.40.4510.149.40.45
2410.149.40.46/3110.149.40.46 – 10.149.40.4710.149.40.47
2510.149.40.48/3110.149.40.48 – 10.149.40.4910.149.40.49
2610.149.40.50/3110.149.40.50 – 10.149.40.5110.149.40.51
2710.149.40.52/3110.149.40.52 – 10.149.40.5310.149.40.53
2810.149.40.54/3110.149.40.54 – 10.149.40.5510.149.40.55
2910.149.40.56/3110.149.40.56 – 10.149.40.5710.149.40.57
3010.149.40.58/3110.149.40.58 – 10.149.40.5910.149.40.59
3110.149.40.60/3110.149.40.60 – 10.149.40.6110.149.40.61
3210.149.40.62/3110.149.40.62 – 10.149.40.6310.149.40.63
3310.149.40.64/3110.149.40.64 – 10.149.40.6510.149.40.65
3410.149.40.66/3110.149.40.66 – 10.149.40.6710.149.40.67
3510.149.40.68/3110.149.40.68 – 10.149.40.6910.149.40.69
3610.149.40.70/3110.149.40.70 – 10.149.40.7110.149.40.71
3710.149.40.72/3110.149.40.72 – 10.149.40.7310.149.40.73
3810.149.40.74/3110.149.40.74 – 10.149.40.7510.149.40.75
3910.149.40.76/3110.149.40.76 – 10.149.40.7710.149.40.77
4010.149.40.78/3110.149.40.78 – 10.149.40.7910.149.40.79
4110.149.40.80/3110.149.40.80 – 10.149.40.8110.149.40.81
4210.149.40.82/3110.149.40.82 – 10.149.40.8310.149.40.83
4310.149.40.84/3110.149.40.84 – 10.149.40.8510.149.40.85
4410.149.40.86/3110.149.40.86 – 10.149.40.8710.149.40.87
4510.149.40.88/3110.149.40.88 – 10.149.40.8910.149.40.89
4610.149.40.90/3110.149.40.90 – 10.149.40.9110.149.40.91
4710.149.40.92/3110.149.40.92 – 10.149.40.9310.149.40.93
4810.149.40.94/3110.149.40.94 – 10.149.40.9510.149.40.95
4910.149.40.96/3110.149.40.96 – 10.149.40.9710.149.40.97
5010.149.40.98/3110.149.40.98 – 10.149.40.9910.149.40.99
5110.149.40.100/3110.149.40.100 – 10.149.40.10110.149.40.101
5210.149.40.102/3110.149.40.102 – 10.149.40.10310.149.40.103
5310.149.40.104/3110.149.40.104 – 10.149.40.10510.149.40.105
5410.149.40.106/3110.149.40.106 – 10.149.40.10710.149.40.107
5510.149.40.108/3110.149.40.108 – 10.149.40.10910.149.40.109
5610.149.40.110/3110.149.40.110 – 10.149.40.11110.149.40.111
5710.149.40.112/3110.149.40.112 – 10.149.40.11310.149.40.113
5810.149.40.114/3110.149.40.114 – 10.149.40.11510.149.40.115
5910.149.40.116/3110.149.40.116 – 10.149.40.11710.149.40.117
6010.149.40.118/3110.149.40.118 – 10.149.40.11910.149.40.119
6110.149.40.120/3110.149.40.120 – 10.149.40.12110.149.40.121
6210.149.40.122/3110.149.40.122 – 10.149.40.12310.149.40.123
6310.149.40.124/3110.149.40.124 – 10.149.40.12510.149.40.125
6410.149.40.126/3110.149.40.126 – 10.149.40.12710.149.40.127
6510.149.40.128/3110.149.40.128 – 10.149.40.12910.149.40.129
6610.149.40.130/3110.149.40.130 – 10.149.40.13110.149.40.131
6710.149.40.132/3110.149.40.132 – 10.149.40.13310.149.40.133
6810.149.40.134/3110.149.40.134 – 10.149.40.13510.149.40.135
6910.149.40.136/3110.149.40.136 – 10.149.40.13710.149.40.137
7010.149.40.138/3110.149.40.138 – 10.149.40.13910.149.40.139
7110.149.40.140/3110.149.40.140 – 10.149.40.14110.149.40.141
7210.149.40.142/3110.149.40.142 – 10.149.40.14310.149.40.143
7310.149.40.144/3110.149.40.144 – 10.149.40.14510.149.40.145
7410.149.40.146/3110.149.40.146 – 10.149.40.14710.149.40.147
7510.149.40.148/3110.149.40.148 – 10.149.40.14910.149.40.149
7610.149.40.150/3110.149.40.150 – 10.149.40.15110.149.40.151
7710.149.40.152/3110.149.40.152 – 10.149.40.15310.149.40.153
7810.149.40.154/3110.149.40.154 – 10.149.40.15510.149.40.155
7910.149.40.156/3110.149.40.156 – 10.149.40.15710.149.40.157
8010.149.40.158/3110.149.40.158 – 10.149.40.15910.149.40.159
8110.149.40.160/3110.149.40.160 – 10.149.40.16110.149.40.161
8210.149.40.162/3110.149.40.162 – 10.149.40.16310.149.40.163
8310.149.40.164/3110.149.40.164 – 10.149.40.16510.149.40.165
8410.149.40.166/3110.149.40.166 – 10.149.40.16710.149.40.167
8510.149.40.168/3110.149.40.168 – 10.149.40.16910.149.40.169
8610.149.40.170/3110.149.40.170 – 10.149.40.17110.149.40.171
8710.149.40.172/3110.149.40.172 – 10.149.40.17310.149.40.173
8810.149.40.174/3110.149.40.174 – 10.149.40.17510.149.40.175
8910.149.40.176/3110.149.40.176 – 10.149.40.17710.149.40.177
9010.149.40.178/3110.149.40.178 – 10.149.40.17910.149.40.179
9110.149.40.180/3110.149.40.180 – 10.149.40.18110.149.40.181
9210.149.40.182/3110.149.40.182 – 10.149.40.18310.149.40.183
9310.149.40.184/3110.149.40.184 – 10.149.40.18510.149.40.185
9410.149.40.186/3110.149.40.186 – 10.149.40.18710.149.40.187
9510.149.40.188/3110.149.40.188 – 10.149.40.18910.149.40.189
9610.149.40.190/3110.149.40.190 – 10.149.40.19110.149.40.191
9710.149.40.192/3110.149.40.192 – 10.149.40.19310.149.40.193
9810.149.40.194/3110.149.40.194 – 10.149.40.19510.149.40.195
9910.149.40.196/3110.149.40.196 – 10.149.40.19710.149.40.197
10010.149.40.198/3110.149.40.198 – 10.149.40.19910.149.40.199
10110.149.40.200/3110.149.40.200 – 10.149.40.20110.149.40.201
10210.149.40.202/3110.149.40.202 – 10.149.40.20310.149.40.203
10310.149.40.204/3110.149.40.204 – 10.149.40.20510.149.40.205
10410.149.40.206/3110.149.40.206 – 10.149.40.20710.149.40.207
10510.149.40.208/3110.149.40.208 – 10.149.40.20910.149.40.209
10610.149.40.210/3110.149.40.210 – 10.149.40.21110.149.40.211
10710.149.40.212/3110.149.40.212 – 10.149.40.21310.149.40.213
10810.149.40.214/3110.149.40.214 – 10.149.40.21510.149.40.215
10910.149.40.216/3110.149.40.216 – 10.149.40.21710.149.40.217
11010.149.40.218/3110.149.40.218 – 10.149.40.21910.149.40.219
11110.149.40.220/3110.149.40.220 – 10.149.40.22110.149.40.221
11210.149.40.222/3110.149.40.222 – 10.149.40.22310.149.40.223
11310.149.40.224/3110.149.40.224 – 10.149.40.22510.149.40.225
11410.149.40.226/3110.149.40.226 – 10.149.40.22710.149.40.227
11510.149.40.228/3110.149.40.228 – 10.149.40.22910.149.40.229
11610.149.40.230/3110.149.40.230 – 10.149.40.23110.149.40.231
11710.149.40.232/3110.149.40.232 – 10.149.40.23310.149.40.233
11810.149.40.234/3110.149.40.234 – 10.149.40.23510.149.40.235
11910.149.40.236/3110.149.40.236 – 10.149.40.23710.149.40.237
12010.149.40.238/3110.149.40.238 – 10.149.40.23910.149.40.239
12110.149.40.240/3110.149.40.240 – 10.149.40.24110.149.40.241
12210.149.40.242/3110.149.40.242 – 10.149.40.24310.149.40.243
12310.149.40.244/3110.149.40.244 – 10.149.40.24510.149.40.245
12410.149.40.246/3110.149.40.246 – 10.149.40.24710.149.40.247
12510.149.40.248/3110.149.40.248 – 10.149.40.24910.149.40.249
12610.149.40.250/3110.149.40.250 – 10.149.40.25110.149.40.251
12710.149.40.252/3110.149.40.252 – 10.149.40.25310.149.40.253
12810.149.40.254/3110.149.40.254 – 10.149.40.25510.149.40.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 →