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.1.50.0/23
network10.1.50.0/23
broadcast10.1.51.255
first host10.1.50.1
last host10.1.51.254
subnet mask255.255.254.0
wildcard0.0.1.255
addresses512
usable hosts510
classA
ipcalc 10.1.50.0/23
address00001010.00000001.00110010.00000000
subnet mask11111111.11111111.11111110.00000000
network00001010.00000001.00110010.00000000
broadcast00001010.00000001.00110011.11111111
green = network part, grey = host part
hex0x0a013200
decimal167850496
reverse dns0.50.1.10.in-addr.arpa
ipv4-mapped::ffff:a01:3200

/23 split into /30 · 128 subnets

close ×
#networkhost rangebroadcast
110.1.50.0/3010.1.50.1 – 10.1.50.210.1.50.3
210.1.50.4/3010.1.50.5 – 10.1.50.610.1.50.7
310.1.50.8/3010.1.50.9 – 10.1.50.1010.1.50.11
410.1.50.12/3010.1.50.13 – 10.1.50.1410.1.50.15
510.1.50.16/3010.1.50.17 – 10.1.50.1810.1.50.19
610.1.50.20/3010.1.50.21 – 10.1.50.2210.1.50.23
710.1.50.24/3010.1.50.25 – 10.1.50.2610.1.50.27
810.1.50.28/3010.1.50.29 – 10.1.50.3010.1.50.31
910.1.50.32/3010.1.50.33 – 10.1.50.3410.1.50.35
1010.1.50.36/3010.1.50.37 – 10.1.50.3810.1.50.39
1110.1.50.40/3010.1.50.41 – 10.1.50.4210.1.50.43
1210.1.50.44/3010.1.50.45 – 10.1.50.4610.1.50.47
1310.1.50.48/3010.1.50.49 – 10.1.50.5010.1.50.51
1410.1.50.52/3010.1.50.53 – 10.1.50.5410.1.50.55
1510.1.50.56/3010.1.50.57 – 10.1.50.5810.1.50.59
1610.1.50.60/3010.1.50.61 – 10.1.50.6210.1.50.63
1710.1.50.64/3010.1.50.65 – 10.1.50.6610.1.50.67
1810.1.50.68/3010.1.50.69 – 10.1.50.7010.1.50.71
1910.1.50.72/3010.1.50.73 – 10.1.50.7410.1.50.75
2010.1.50.76/3010.1.50.77 – 10.1.50.7810.1.50.79
2110.1.50.80/3010.1.50.81 – 10.1.50.8210.1.50.83
2210.1.50.84/3010.1.50.85 – 10.1.50.8610.1.50.87
2310.1.50.88/3010.1.50.89 – 10.1.50.9010.1.50.91
2410.1.50.92/3010.1.50.93 – 10.1.50.9410.1.50.95
2510.1.50.96/3010.1.50.97 – 10.1.50.9810.1.50.99
2610.1.50.100/3010.1.50.101 – 10.1.50.10210.1.50.103
2710.1.50.104/3010.1.50.105 – 10.1.50.10610.1.50.107
2810.1.50.108/3010.1.50.109 – 10.1.50.11010.1.50.111
2910.1.50.112/3010.1.50.113 – 10.1.50.11410.1.50.115
3010.1.50.116/3010.1.50.117 – 10.1.50.11810.1.50.119
3110.1.50.120/3010.1.50.121 – 10.1.50.12210.1.50.123
3210.1.50.124/3010.1.50.125 – 10.1.50.12610.1.50.127
3310.1.50.128/3010.1.50.129 – 10.1.50.13010.1.50.131
3410.1.50.132/3010.1.50.133 – 10.1.50.13410.1.50.135
3510.1.50.136/3010.1.50.137 – 10.1.50.13810.1.50.139
3610.1.50.140/3010.1.50.141 – 10.1.50.14210.1.50.143
3710.1.50.144/3010.1.50.145 – 10.1.50.14610.1.50.147
3810.1.50.148/3010.1.50.149 – 10.1.50.15010.1.50.151
3910.1.50.152/3010.1.50.153 – 10.1.50.15410.1.50.155
4010.1.50.156/3010.1.50.157 – 10.1.50.15810.1.50.159
4110.1.50.160/3010.1.50.161 – 10.1.50.16210.1.50.163
4210.1.50.164/3010.1.50.165 – 10.1.50.16610.1.50.167
4310.1.50.168/3010.1.50.169 – 10.1.50.17010.1.50.171
4410.1.50.172/3010.1.50.173 – 10.1.50.17410.1.50.175
4510.1.50.176/3010.1.50.177 – 10.1.50.17810.1.50.179
4610.1.50.180/3010.1.50.181 – 10.1.50.18210.1.50.183
4710.1.50.184/3010.1.50.185 – 10.1.50.18610.1.50.187
4810.1.50.188/3010.1.50.189 – 10.1.50.19010.1.50.191
4910.1.50.192/3010.1.50.193 – 10.1.50.19410.1.50.195
5010.1.50.196/3010.1.50.197 – 10.1.50.19810.1.50.199
5110.1.50.200/3010.1.50.201 – 10.1.50.20210.1.50.203
5210.1.50.204/3010.1.50.205 – 10.1.50.20610.1.50.207
5310.1.50.208/3010.1.50.209 – 10.1.50.21010.1.50.211
5410.1.50.212/3010.1.50.213 – 10.1.50.21410.1.50.215
5510.1.50.216/3010.1.50.217 – 10.1.50.21810.1.50.219
5610.1.50.220/3010.1.50.221 – 10.1.50.22210.1.50.223
5710.1.50.224/3010.1.50.225 – 10.1.50.22610.1.50.227
5810.1.50.228/3010.1.50.229 – 10.1.50.23010.1.50.231
5910.1.50.232/3010.1.50.233 – 10.1.50.23410.1.50.235
6010.1.50.236/3010.1.50.237 – 10.1.50.23810.1.50.239
6110.1.50.240/3010.1.50.241 – 10.1.50.24210.1.50.243
6210.1.50.244/3010.1.50.245 – 10.1.50.24610.1.50.247
6310.1.50.248/3010.1.50.249 – 10.1.50.25010.1.50.251
6410.1.50.252/3010.1.50.253 – 10.1.50.25410.1.50.255
6510.1.51.0/3010.1.51.1 – 10.1.51.210.1.51.3
6610.1.51.4/3010.1.51.5 – 10.1.51.610.1.51.7
6710.1.51.8/3010.1.51.9 – 10.1.51.1010.1.51.11
6810.1.51.12/3010.1.51.13 – 10.1.51.1410.1.51.15
6910.1.51.16/3010.1.51.17 – 10.1.51.1810.1.51.19
7010.1.51.20/3010.1.51.21 – 10.1.51.2210.1.51.23
7110.1.51.24/3010.1.51.25 – 10.1.51.2610.1.51.27
7210.1.51.28/3010.1.51.29 – 10.1.51.3010.1.51.31
7310.1.51.32/3010.1.51.33 – 10.1.51.3410.1.51.35
7410.1.51.36/3010.1.51.37 – 10.1.51.3810.1.51.39
7510.1.51.40/3010.1.51.41 – 10.1.51.4210.1.51.43
7610.1.51.44/3010.1.51.45 – 10.1.51.4610.1.51.47
7710.1.51.48/3010.1.51.49 – 10.1.51.5010.1.51.51
7810.1.51.52/3010.1.51.53 – 10.1.51.5410.1.51.55
7910.1.51.56/3010.1.51.57 – 10.1.51.5810.1.51.59
8010.1.51.60/3010.1.51.61 – 10.1.51.6210.1.51.63
8110.1.51.64/3010.1.51.65 – 10.1.51.6610.1.51.67
8210.1.51.68/3010.1.51.69 – 10.1.51.7010.1.51.71
8310.1.51.72/3010.1.51.73 – 10.1.51.7410.1.51.75
8410.1.51.76/3010.1.51.77 – 10.1.51.7810.1.51.79
8510.1.51.80/3010.1.51.81 – 10.1.51.8210.1.51.83
8610.1.51.84/3010.1.51.85 – 10.1.51.8610.1.51.87
8710.1.51.88/3010.1.51.89 – 10.1.51.9010.1.51.91
8810.1.51.92/3010.1.51.93 – 10.1.51.9410.1.51.95
8910.1.51.96/3010.1.51.97 – 10.1.51.9810.1.51.99
9010.1.51.100/3010.1.51.101 – 10.1.51.10210.1.51.103
9110.1.51.104/3010.1.51.105 – 10.1.51.10610.1.51.107
9210.1.51.108/3010.1.51.109 – 10.1.51.11010.1.51.111
9310.1.51.112/3010.1.51.113 – 10.1.51.11410.1.51.115
9410.1.51.116/3010.1.51.117 – 10.1.51.11810.1.51.119
9510.1.51.120/3010.1.51.121 – 10.1.51.12210.1.51.123
9610.1.51.124/3010.1.51.125 – 10.1.51.12610.1.51.127
9710.1.51.128/3010.1.51.129 – 10.1.51.13010.1.51.131
9810.1.51.132/3010.1.51.133 – 10.1.51.13410.1.51.135
9910.1.51.136/3010.1.51.137 – 10.1.51.13810.1.51.139
10010.1.51.140/3010.1.51.141 – 10.1.51.14210.1.51.143
10110.1.51.144/3010.1.51.145 – 10.1.51.14610.1.51.147
10210.1.51.148/3010.1.51.149 – 10.1.51.15010.1.51.151
10310.1.51.152/3010.1.51.153 – 10.1.51.15410.1.51.155
10410.1.51.156/3010.1.51.157 – 10.1.51.15810.1.51.159
10510.1.51.160/3010.1.51.161 – 10.1.51.16210.1.51.163
10610.1.51.164/3010.1.51.165 – 10.1.51.16610.1.51.167
10710.1.51.168/3010.1.51.169 – 10.1.51.17010.1.51.171
10810.1.51.172/3010.1.51.173 – 10.1.51.17410.1.51.175
10910.1.51.176/3010.1.51.177 – 10.1.51.17810.1.51.179
11010.1.51.180/3010.1.51.181 – 10.1.51.18210.1.51.183
11110.1.51.184/3010.1.51.185 – 10.1.51.18610.1.51.187
11210.1.51.188/3010.1.51.189 – 10.1.51.19010.1.51.191
11310.1.51.192/3010.1.51.193 – 10.1.51.19410.1.51.195
11410.1.51.196/3010.1.51.197 – 10.1.51.19810.1.51.199
11510.1.51.200/3010.1.51.201 – 10.1.51.20210.1.51.203
11610.1.51.204/3010.1.51.205 – 10.1.51.20610.1.51.207
11710.1.51.208/3010.1.51.209 – 10.1.51.21010.1.51.211
11810.1.51.212/3010.1.51.213 – 10.1.51.21410.1.51.215
11910.1.51.216/3010.1.51.217 – 10.1.51.21810.1.51.219
12010.1.51.220/3010.1.51.221 – 10.1.51.22210.1.51.223
12110.1.51.224/3010.1.51.225 – 10.1.51.22610.1.51.227
12210.1.51.228/3010.1.51.229 – 10.1.51.23010.1.51.231
12310.1.51.232/3010.1.51.233 – 10.1.51.23410.1.51.235
12410.1.51.236/3010.1.51.237 – 10.1.51.23810.1.51.239
12510.1.51.240/3010.1.51.241 – 10.1.51.24210.1.51.243
12610.1.51.244/3010.1.51.245 – 10.1.51.24610.1.51.247
12710.1.51.248/3010.1.51.249 – 10.1.51.25010.1.51.251
12810.1.51.252/3010.1.51.253 – 10.1.51.25410.1.51.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 →