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.166.58.0/23
network10.166.58.0/23
broadcast10.166.59.255
first host10.166.58.1
last host10.166.59.254
subnet mask255.255.254.0
wildcard0.0.1.255
addresses512
usable hosts510
classA
ipcalc 10.166.58.0/23
address00001010.10100110.00111010.00000000
subnet mask11111111.11111111.11111110.00000000
network00001010.10100110.00111010.00000000
broadcast00001010.10100110.00111011.11111111
green = network part, grey = host part
hex0x0aa63a00
decimal178665984
reverse dns0.58.166.10.in-addr.arpa
ipv4-mapped::ffff:aa6:3a00

/23 split into /30 · 128 subnets

close ×
#networkhost rangebroadcast
110.166.58.0/3010.166.58.1 – 10.166.58.210.166.58.3
210.166.58.4/3010.166.58.5 – 10.166.58.610.166.58.7
310.166.58.8/3010.166.58.9 – 10.166.58.1010.166.58.11
410.166.58.12/3010.166.58.13 – 10.166.58.1410.166.58.15
510.166.58.16/3010.166.58.17 – 10.166.58.1810.166.58.19
610.166.58.20/3010.166.58.21 – 10.166.58.2210.166.58.23
710.166.58.24/3010.166.58.25 – 10.166.58.2610.166.58.27
810.166.58.28/3010.166.58.29 – 10.166.58.3010.166.58.31
910.166.58.32/3010.166.58.33 – 10.166.58.3410.166.58.35
1010.166.58.36/3010.166.58.37 – 10.166.58.3810.166.58.39
1110.166.58.40/3010.166.58.41 – 10.166.58.4210.166.58.43
1210.166.58.44/3010.166.58.45 – 10.166.58.4610.166.58.47
1310.166.58.48/3010.166.58.49 – 10.166.58.5010.166.58.51
1410.166.58.52/3010.166.58.53 – 10.166.58.5410.166.58.55
1510.166.58.56/3010.166.58.57 – 10.166.58.5810.166.58.59
1610.166.58.60/3010.166.58.61 – 10.166.58.6210.166.58.63
1710.166.58.64/3010.166.58.65 – 10.166.58.6610.166.58.67
1810.166.58.68/3010.166.58.69 – 10.166.58.7010.166.58.71
1910.166.58.72/3010.166.58.73 – 10.166.58.7410.166.58.75
2010.166.58.76/3010.166.58.77 – 10.166.58.7810.166.58.79
2110.166.58.80/3010.166.58.81 – 10.166.58.8210.166.58.83
2210.166.58.84/3010.166.58.85 – 10.166.58.8610.166.58.87
2310.166.58.88/3010.166.58.89 – 10.166.58.9010.166.58.91
2410.166.58.92/3010.166.58.93 – 10.166.58.9410.166.58.95
2510.166.58.96/3010.166.58.97 – 10.166.58.9810.166.58.99
2610.166.58.100/3010.166.58.101 – 10.166.58.10210.166.58.103
2710.166.58.104/3010.166.58.105 – 10.166.58.10610.166.58.107
2810.166.58.108/3010.166.58.109 – 10.166.58.11010.166.58.111
2910.166.58.112/3010.166.58.113 – 10.166.58.11410.166.58.115
3010.166.58.116/3010.166.58.117 – 10.166.58.11810.166.58.119
3110.166.58.120/3010.166.58.121 – 10.166.58.12210.166.58.123
3210.166.58.124/3010.166.58.125 – 10.166.58.12610.166.58.127
3310.166.58.128/3010.166.58.129 – 10.166.58.13010.166.58.131
3410.166.58.132/3010.166.58.133 – 10.166.58.13410.166.58.135
3510.166.58.136/3010.166.58.137 – 10.166.58.13810.166.58.139
3610.166.58.140/3010.166.58.141 – 10.166.58.14210.166.58.143
3710.166.58.144/3010.166.58.145 – 10.166.58.14610.166.58.147
3810.166.58.148/3010.166.58.149 – 10.166.58.15010.166.58.151
3910.166.58.152/3010.166.58.153 – 10.166.58.15410.166.58.155
4010.166.58.156/3010.166.58.157 – 10.166.58.15810.166.58.159
4110.166.58.160/3010.166.58.161 – 10.166.58.16210.166.58.163
4210.166.58.164/3010.166.58.165 – 10.166.58.16610.166.58.167
4310.166.58.168/3010.166.58.169 – 10.166.58.17010.166.58.171
4410.166.58.172/3010.166.58.173 – 10.166.58.17410.166.58.175
4510.166.58.176/3010.166.58.177 – 10.166.58.17810.166.58.179
4610.166.58.180/3010.166.58.181 – 10.166.58.18210.166.58.183
4710.166.58.184/3010.166.58.185 – 10.166.58.18610.166.58.187
4810.166.58.188/3010.166.58.189 – 10.166.58.19010.166.58.191
4910.166.58.192/3010.166.58.193 – 10.166.58.19410.166.58.195
5010.166.58.196/3010.166.58.197 – 10.166.58.19810.166.58.199
5110.166.58.200/3010.166.58.201 – 10.166.58.20210.166.58.203
5210.166.58.204/3010.166.58.205 – 10.166.58.20610.166.58.207
5310.166.58.208/3010.166.58.209 – 10.166.58.21010.166.58.211
5410.166.58.212/3010.166.58.213 – 10.166.58.21410.166.58.215
5510.166.58.216/3010.166.58.217 – 10.166.58.21810.166.58.219
5610.166.58.220/3010.166.58.221 – 10.166.58.22210.166.58.223
5710.166.58.224/3010.166.58.225 – 10.166.58.22610.166.58.227
5810.166.58.228/3010.166.58.229 – 10.166.58.23010.166.58.231
5910.166.58.232/3010.166.58.233 – 10.166.58.23410.166.58.235
6010.166.58.236/3010.166.58.237 – 10.166.58.23810.166.58.239
6110.166.58.240/3010.166.58.241 – 10.166.58.24210.166.58.243
6210.166.58.244/3010.166.58.245 – 10.166.58.24610.166.58.247
6310.166.58.248/3010.166.58.249 – 10.166.58.25010.166.58.251
6410.166.58.252/3010.166.58.253 – 10.166.58.25410.166.58.255
6510.166.59.0/3010.166.59.1 – 10.166.59.210.166.59.3
6610.166.59.4/3010.166.59.5 – 10.166.59.610.166.59.7
6710.166.59.8/3010.166.59.9 – 10.166.59.1010.166.59.11
6810.166.59.12/3010.166.59.13 – 10.166.59.1410.166.59.15
6910.166.59.16/3010.166.59.17 – 10.166.59.1810.166.59.19
7010.166.59.20/3010.166.59.21 – 10.166.59.2210.166.59.23
7110.166.59.24/3010.166.59.25 – 10.166.59.2610.166.59.27
7210.166.59.28/3010.166.59.29 – 10.166.59.3010.166.59.31
7310.166.59.32/3010.166.59.33 – 10.166.59.3410.166.59.35
7410.166.59.36/3010.166.59.37 – 10.166.59.3810.166.59.39
7510.166.59.40/3010.166.59.41 – 10.166.59.4210.166.59.43
7610.166.59.44/3010.166.59.45 – 10.166.59.4610.166.59.47
7710.166.59.48/3010.166.59.49 – 10.166.59.5010.166.59.51
7810.166.59.52/3010.166.59.53 – 10.166.59.5410.166.59.55
7910.166.59.56/3010.166.59.57 – 10.166.59.5810.166.59.59
8010.166.59.60/3010.166.59.61 – 10.166.59.6210.166.59.63
8110.166.59.64/3010.166.59.65 – 10.166.59.6610.166.59.67
8210.166.59.68/3010.166.59.69 – 10.166.59.7010.166.59.71
8310.166.59.72/3010.166.59.73 – 10.166.59.7410.166.59.75
8410.166.59.76/3010.166.59.77 – 10.166.59.7810.166.59.79
8510.166.59.80/3010.166.59.81 – 10.166.59.8210.166.59.83
8610.166.59.84/3010.166.59.85 – 10.166.59.8610.166.59.87
8710.166.59.88/3010.166.59.89 – 10.166.59.9010.166.59.91
8810.166.59.92/3010.166.59.93 – 10.166.59.9410.166.59.95
8910.166.59.96/3010.166.59.97 – 10.166.59.9810.166.59.99
9010.166.59.100/3010.166.59.101 – 10.166.59.10210.166.59.103
9110.166.59.104/3010.166.59.105 – 10.166.59.10610.166.59.107
9210.166.59.108/3010.166.59.109 – 10.166.59.11010.166.59.111
9310.166.59.112/3010.166.59.113 – 10.166.59.11410.166.59.115
9410.166.59.116/3010.166.59.117 – 10.166.59.11810.166.59.119
9510.166.59.120/3010.166.59.121 – 10.166.59.12210.166.59.123
9610.166.59.124/3010.166.59.125 – 10.166.59.12610.166.59.127
9710.166.59.128/3010.166.59.129 – 10.166.59.13010.166.59.131
9810.166.59.132/3010.166.59.133 – 10.166.59.13410.166.59.135
9910.166.59.136/3010.166.59.137 – 10.166.59.13810.166.59.139
10010.166.59.140/3010.166.59.141 – 10.166.59.14210.166.59.143
10110.166.59.144/3010.166.59.145 – 10.166.59.14610.166.59.147
10210.166.59.148/3010.166.59.149 – 10.166.59.15010.166.59.151
10310.166.59.152/3010.166.59.153 – 10.166.59.15410.166.59.155
10410.166.59.156/3010.166.59.157 – 10.166.59.15810.166.59.159
10510.166.59.160/3010.166.59.161 – 10.166.59.16210.166.59.163
10610.166.59.164/3010.166.59.165 – 10.166.59.16610.166.59.167
10710.166.59.168/3010.166.59.169 – 10.166.59.17010.166.59.171
10810.166.59.172/3010.166.59.173 – 10.166.59.17410.166.59.175
10910.166.59.176/3010.166.59.177 – 10.166.59.17810.166.59.179
11010.166.59.180/3010.166.59.181 – 10.166.59.18210.166.59.183
11110.166.59.184/3010.166.59.185 – 10.166.59.18610.166.59.187
11210.166.59.188/3010.166.59.189 – 10.166.59.19010.166.59.191
11310.166.59.192/3010.166.59.193 – 10.166.59.19410.166.59.195
11410.166.59.196/3010.166.59.197 – 10.166.59.19810.166.59.199
11510.166.59.200/3010.166.59.201 – 10.166.59.20210.166.59.203
11610.166.59.204/3010.166.59.205 – 10.166.59.20610.166.59.207
11710.166.59.208/3010.166.59.209 – 10.166.59.21010.166.59.211
11810.166.59.212/3010.166.59.213 – 10.166.59.21410.166.59.215
11910.166.59.216/3010.166.59.217 – 10.166.59.21810.166.59.219
12010.166.59.220/3010.166.59.221 – 10.166.59.22210.166.59.223
12110.166.59.224/3010.166.59.225 – 10.166.59.22610.166.59.227
12210.166.59.228/3010.166.59.229 – 10.166.59.23010.166.59.231
12310.166.59.232/3010.166.59.233 – 10.166.59.23410.166.59.235
12410.166.59.236/3010.166.59.237 – 10.166.59.23810.166.59.239
12510.166.59.240/3010.166.59.241 – 10.166.59.24210.166.59.243
12610.166.59.244/3010.166.59.245 – 10.166.59.24610.166.59.247
12710.166.59.248/3010.166.59.249 – 10.166.59.25010.166.59.251
12810.166.59.252/3010.166.59.253 – 10.166.59.25410.166.59.255
01 / table

IPv4 CIDR prefix table.

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

prefixsubnet maskaddresseshostsin your /23
/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.05125101
/24255.255.255.02562542 split →
/25255.255.255.1281281264 split →
/26255.255.255.19264628 split →
/27255.255.255.224323016 split →
/28255.255.255.240161432 split →
/29255.255.255.2488664 split →
/30255.255.255.25242128 split →
/31255.255.255.25422256 split →
/32255.255.255.25511512 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 →