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.40.26.0/23
network10.40.26.0/23
broadcast10.40.27.255
first host10.40.26.1
last host10.40.27.254
subnet mask255.255.254.0
wildcard0.0.1.255
addresses512
usable hosts510
classA
ipcalc 10.40.26.0/23
address00001010.00101000.00011010.00000000
subnet mask11111111.11111111.11111110.00000000
network00001010.00101000.00011010.00000000
broadcast00001010.00101000.00011011.11111111
green = network part, grey = host part
hex0x0a281a00
decimal170400256
reverse dns0.26.40.10.in-addr.arpa
ipv4-mapped::ffff:a28:1a00

/23 split into /30 · 128 subnets

close ×
#networkhost rangebroadcast
110.40.26.0/3010.40.26.1 – 10.40.26.210.40.26.3
210.40.26.4/3010.40.26.5 – 10.40.26.610.40.26.7
310.40.26.8/3010.40.26.9 – 10.40.26.1010.40.26.11
410.40.26.12/3010.40.26.13 – 10.40.26.1410.40.26.15
510.40.26.16/3010.40.26.17 – 10.40.26.1810.40.26.19
610.40.26.20/3010.40.26.21 – 10.40.26.2210.40.26.23
710.40.26.24/3010.40.26.25 – 10.40.26.2610.40.26.27
810.40.26.28/3010.40.26.29 – 10.40.26.3010.40.26.31
910.40.26.32/3010.40.26.33 – 10.40.26.3410.40.26.35
1010.40.26.36/3010.40.26.37 – 10.40.26.3810.40.26.39
1110.40.26.40/3010.40.26.41 – 10.40.26.4210.40.26.43
1210.40.26.44/3010.40.26.45 – 10.40.26.4610.40.26.47
1310.40.26.48/3010.40.26.49 – 10.40.26.5010.40.26.51
1410.40.26.52/3010.40.26.53 – 10.40.26.5410.40.26.55
1510.40.26.56/3010.40.26.57 – 10.40.26.5810.40.26.59
1610.40.26.60/3010.40.26.61 – 10.40.26.6210.40.26.63
1710.40.26.64/3010.40.26.65 – 10.40.26.6610.40.26.67
1810.40.26.68/3010.40.26.69 – 10.40.26.7010.40.26.71
1910.40.26.72/3010.40.26.73 – 10.40.26.7410.40.26.75
2010.40.26.76/3010.40.26.77 – 10.40.26.7810.40.26.79
2110.40.26.80/3010.40.26.81 – 10.40.26.8210.40.26.83
2210.40.26.84/3010.40.26.85 – 10.40.26.8610.40.26.87
2310.40.26.88/3010.40.26.89 – 10.40.26.9010.40.26.91
2410.40.26.92/3010.40.26.93 – 10.40.26.9410.40.26.95
2510.40.26.96/3010.40.26.97 – 10.40.26.9810.40.26.99
2610.40.26.100/3010.40.26.101 – 10.40.26.10210.40.26.103
2710.40.26.104/3010.40.26.105 – 10.40.26.10610.40.26.107
2810.40.26.108/3010.40.26.109 – 10.40.26.11010.40.26.111
2910.40.26.112/3010.40.26.113 – 10.40.26.11410.40.26.115
3010.40.26.116/3010.40.26.117 – 10.40.26.11810.40.26.119
3110.40.26.120/3010.40.26.121 – 10.40.26.12210.40.26.123
3210.40.26.124/3010.40.26.125 – 10.40.26.12610.40.26.127
3310.40.26.128/3010.40.26.129 – 10.40.26.13010.40.26.131
3410.40.26.132/3010.40.26.133 – 10.40.26.13410.40.26.135
3510.40.26.136/3010.40.26.137 – 10.40.26.13810.40.26.139
3610.40.26.140/3010.40.26.141 – 10.40.26.14210.40.26.143
3710.40.26.144/3010.40.26.145 – 10.40.26.14610.40.26.147
3810.40.26.148/3010.40.26.149 – 10.40.26.15010.40.26.151
3910.40.26.152/3010.40.26.153 – 10.40.26.15410.40.26.155
4010.40.26.156/3010.40.26.157 – 10.40.26.15810.40.26.159
4110.40.26.160/3010.40.26.161 – 10.40.26.16210.40.26.163
4210.40.26.164/3010.40.26.165 – 10.40.26.16610.40.26.167
4310.40.26.168/3010.40.26.169 – 10.40.26.17010.40.26.171
4410.40.26.172/3010.40.26.173 – 10.40.26.17410.40.26.175
4510.40.26.176/3010.40.26.177 – 10.40.26.17810.40.26.179
4610.40.26.180/3010.40.26.181 – 10.40.26.18210.40.26.183
4710.40.26.184/3010.40.26.185 – 10.40.26.18610.40.26.187
4810.40.26.188/3010.40.26.189 – 10.40.26.19010.40.26.191
4910.40.26.192/3010.40.26.193 – 10.40.26.19410.40.26.195
5010.40.26.196/3010.40.26.197 – 10.40.26.19810.40.26.199
5110.40.26.200/3010.40.26.201 – 10.40.26.20210.40.26.203
5210.40.26.204/3010.40.26.205 – 10.40.26.20610.40.26.207
5310.40.26.208/3010.40.26.209 – 10.40.26.21010.40.26.211
5410.40.26.212/3010.40.26.213 – 10.40.26.21410.40.26.215
5510.40.26.216/3010.40.26.217 – 10.40.26.21810.40.26.219
5610.40.26.220/3010.40.26.221 – 10.40.26.22210.40.26.223
5710.40.26.224/3010.40.26.225 – 10.40.26.22610.40.26.227
5810.40.26.228/3010.40.26.229 – 10.40.26.23010.40.26.231
5910.40.26.232/3010.40.26.233 – 10.40.26.23410.40.26.235
6010.40.26.236/3010.40.26.237 – 10.40.26.23810.40.26.239
6110.40.26.240/3010.40.26.241 – 10.40.26.24210.40.26.243
6210.40.26.244/3010.40.26.245 – 10.40.26.24610.40.26.247
6310.40.26.248/3010.40.26.249 – 10.40.26.25010.40.26.251
6410.40.26.252/3010.40.26.253 – 10.40.26.25410.40.26.255
6510.40.27.0/3010.40.27.1 – 10.40.27.210.40.27.3
6610.40.27.4/3010.40.27.5 – 10.40.27.610.40.27.7
6710.40.27.8/3010.40.27.9 – 10.40.27.1010.40.27.11
6810.40.27.12/3010.40.27.13 – 10.40.27.1410.40.27.15
6910.40.27.16/3010.40.27.17 – 10.40.27.1810.40.27.19
7010.40.27.20/3010.40.27.21 – 10.40.27.2210.40.27.23
7110.40.27.24/3010.40.27.25 – 10.40.27.2610.40.27.27
7210.40.27.28/3010.40.27.29 – 10.40.27.3010.40.27.31
7310.40.27.32/3010.40.27.33 – 10.40.27.3410.40.27.35
7410.40.27.36/3010.40.27.37 – 10.40.27.3810.40.27.39
7510.40.27.40/3010.40.27.41 – 10.40.27.4210.40.27.43
7610.40.27.44/3010.40.27.45 – 10.40.27.4610.40.27.47
7710.40.27.48/3010.40.27.49 – 10.40.27.5010.40.27.51
7810.40.27.52/3010.40.27.53 – 10.40.27.5410.40.27.55
7910.40.27.56/3010.40.27.57 – 10.40.27.5810.40.27.59
8010.40.27.60/3010.40.27.61 – 10.40.27.6210.40.27.63
8110.40.27.64/3010.40.27.65 – 10.40.27.6610.40.27.67
8210.40.27.68/3010.40.27.69 – 10.40.27.7010.40.27.71
8310.40.27.72/3010.40.27.73 – 10.40.27.7410.40.27.75
8410.40.27.76/3010.40.27.77 – 10.40.27.7810.40.27.79
8510.40.27.80/3010.40.27.81 – 10.40.27.8210.40.27.83
8610.40.27.84/3010.40.27.85 – 10.40.27.8610.40.27.87
8710.40.27.88/3010.40.27.89 – 10.40.27.9010.40.27.91
8810.40.27.92/3010.40.27.93 – 10.40.27.9410.40.27.95
8910.40.27.96/3010.40.27.97 – 10.40.27.9810.40.27.99
9010.40.27.100/3010.40.27.101 – 10.40.27.10210.40.27.103
9110.40.27.104/3010.40.27.105 – 10.40.27.10610.40.27.107
9210.40.27.108/3010.40.27.109 – 10.40.27.11010.40.27.111
9310.40.27.112/3010.40.27.113 – 10.40.27.11410.40.27.115
9410.40.27.116/3010.40.27.117 – 10.40.27.11810.40.27.119
9510.40.27.120/3010.40.27.121 – 10.40.27.12210.40.27.123
9610.40.27.124/3010.40.27.125 – 10.40.27.12610.40.27.127
9710.40.27.128/3010.40.27.129 – 10.40.27.13010.40.27.131
9810.40.27.132/3010.40.27.133 – 10.40.27.13410.40.27.135
9910.40.27.136/3010.40.27.137 – 10.40.27.13810.40.27.139
10010.40.27.140/3010.40.27.141 – 10.40.27.14210.40.27.143
10110.40.27.144/3010.40.27.145 – 10.40.27.14610.40.27.147
10210.40.27.148/3010.40.27.149 – 10.40.27.15010.40.27.151
10310.40.27.152/3010.40.27.153 – 10.40.27.15410.40.27.155
10410.40.27.156/3010.40.27.157 – 10.40.27.15810.40.27.159
10510.40.27.160/3010.40.27.161 – 10.40.27.16210.40.27.163
10610.40.27.164/3010.40.27.165 – 10.40.27.16610.40.27.167
10710.40.27.168/3010.40.27.169 – 10.40.27.17010.40.27.171
10810.40.27.172/3010.40.27.173 – 10.40.27.17410.40.27.175
10910.40.27.176/3010.40.27.177 – 10.40.27.17810.40.27.179
11010.40.27.180/3010.40.27.181 – 10.40.27.18210.40.27.183
11110.40.27.184/3010.40.27.185 – 10.40.27.18610.40.27.187
11210.40.27.188/3010.40.27.189 – 10.40.27.19010.40.27.191
11310.40.27.192/3010.40.27.193 – 10.40.27.19410.40.27.195
11410.40.27.196/3010.40.27.197 – 10.40.27.19810.40.27.199
11510.40.27.200/3010.40.27.201 – 10.40.27.20210.40.27.203
11610.40.27.204/3010.40.27.205 – 10.40.27.20610.40.27.207
11710.40.27.208/3010.40.27.209 – 10.40.27.21010.40.27.211
11810.40.27.212/3010.40.27.213 – 10.40.27.21410.40.27.215
11910.40.27.216/3010.40.27.217 – 10.40.27.21810.40.27.219
12010.40.27.220/3010.40.27.221 – 10.40.27.22210.40.27.223
12110.40.27.224/3010.40.27.225 – 10.40.27.22610.40.27.227
12210.40.27.228/3010.40.27.229 – 10.40.27.23010.40.27.231
12310.40.27.232/3010.40.27.233 – 10.40.27.23410.40.27.235
12410.40.27.236/3010.40.27.237 – 10.40.27.23810.40.27.239
12510.40.27.240/3010.40.27.241 – 10.40.27.24210.40.27.243
12610.40.27.244/3010.40.27.245 – 10.40.27.24610.40.27.247
12710.40.27.248/3010.40.27.249 – 10.40.27.25010.40.27.251
12810.40.27.252/3010.40.27.253 – 10.40.27.25410.40.27.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 →