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)192.168.1.192/26
network192.168.1.192/26
broadcast192.168.1.255
first host192.168.1.193
last host192.168.1.254
subnet mask255.255.255.192
wildcard0.0.0.63
addresses64
usable hosts62
classC
ipcalc 192.168.1.192/26
address11000000.10101000.00000001.11000000
subnet mask11111111.11111111.11111111.11000000
network11000000.10101000.00000001.11000000
broadcast11000000.10101000.00000001.11111111
green = network part, grey = host part
hex0xc0a801c0
decimal3232235968
reverse dns192.1.168.192.in-addr.arpa
ipv4-mapped::ffff:c0a8:1c0

/26 split into /32 · 64 subnets

close ×
#networkhost rangebroadcast
1192.168.1.192/32192.168.1.192 – 192.168.1.192192.168.1.192
2192.168.1.193/32192.168.1.193 – 192.168.1.193192.168.1.193
3192.168.1.194/32192.168.1.194 – 192.168.1.194192.168.1.194
4192.168.1.195/32192.168.1.195 – 192.168.1.195192.168.1.195
5192.168.1.196/32192.168.1.196 – 192.168.1.196192.168.1.196
6192.168.1.197/32192.168.1.197 – 192.168.1.197192.168.1.197
7192.168.1.198/32192.168.1.198 – 192.168.1.198192.168.1.198
8192.168.1.199/32192.168.1.199 – 192.168.1.199192.168.1.199
9192.168.1.200/32192.168.1.200 – 192.168.1.200192.168.1.200
10192.168.1.201/32192.168.1.201 – 192.168.1.201192.168.1.201
11192.168.1.202/32192.168.1.202 – 192.168.1.202192.168.1.202
12192.168.1.203/32192.168.1.203 – 192.168.1.203192.168.1.203
13192.168.1.204/32192.168.1.204 – 192.168.1.204192.168.1.204
14192.168.1.205/32192.168.1.205 – 192.168.1.205192.168.1.205
15192.168.1.206/32192.168.1.206 – 192.168.1.206192.168.1.206
16192.168.1.207/32192.168.1.207 – 192.168.1.207192.168.1.207
17192.168.1.208/32192.168.1.208 – 192.168.1.208192.168.1.208
18192.168.1.209/32192.168.1.209 – 192.168.1.209192.168.1.209
19192.168.1.210/32192.168.1.210 – 192.168.1.210192.168.1.210
20192.168.1.211/32192.168.1.211 – 192.168.1.211192.168.1.211
21192.168.1.212/32192.168.1.212 – 192.168.1.212192.168.1.212
22192.168.1.213/32192.168.1.213 – 192.168.1.213192.168.1.213
23192.168.1.214/32192.168.1.214 – 192.168.1.214192.168.1.214
24192.168.1.215/32192.168.1.215 – 192.168.1.215192.168.1.215
25192.168.1.216/32192.168.1.216 – 192.168.1.216192.168.1.216
26192.168.1.217/32192.168.1.217 – 192.168.1.217192.168.1.217
27192.168.1.218/32192.168.1.218 – 192.168.1.218192.168.1.218
28192.168.1.219/32192.168.1.219 – 192.168.1.219192.168.1.219
29192.168.1.220/32192.168.1.220 – 192.168.1.220192.168.1.220
30192.168.1.221/32192.168.1.221 – 192.168.1.221192.168.1.221
31192.168.1.222/32192.168.1.222 – 192.168.1.222192.168.1.222
32192.168.1.223/32192.168.1.223 – 192.168.1.223192.168.1.223
33192.168.1.224/32192.168.1.224 – 192.168.1.224192.168.1.224
34192.168.1.225/32192.168.1.225 – 192.168.1.225192.168.1.225
35192.168.1.226/32192.168.1.226 – 192.168.1.226192.168.1.226
36192.168.1.227/32192.168.1.227 – 192.168.1.227192.168.1.227
37192.168.1.228/32192.168.1.228 – 192.168.1.228192.168.1.228
38192.168.1.229/32192.168.1.229 – 192.168.1.229192.168.1.229
39192.168.1.230/32192.168.1.230 – 192.168.1.230192.168.1.230
40192.168.1.231/32192.168.1.231 – 192.168.1.231192.168.1.231
41192.168.1.232/32192.168.1.232 – 192.168.1.232192.168.1.232
42192.168.1.233/32192.168.1.233 – 192.168.1.233192.168.1.233
43192.168.1.234/32192.168.1.234 – 192.168.1.234192.168.1.234
44192.168.1.235/32192.168.1.235 – 192.168.1.235192.168.1.235
45192.168.1.236/32192.168.1.236 – 192.168.1.236192.168.1.236
46192.168.1.237/32192.168.1.237 – 192.168.1.237192.168.1.237
47192.168.1.238/32192.168.1.238 – 192.168.1.238192.168.1.238
48192.168.1.239/32192.168.1.239 – 192.168.1.239192.168.1.239
49192.168.1.240/32192.168.1.240 – 192.168.1.240192.168.1.240
50192.168.1.241/32192.168.1.241 – 192.168.1.241192.168.1.241
51192.168.1.242/32192.168.1.242 – 192.168.1.242192.168.1.242
52192.168.1.243/32192.168.1.243 – 192.168.1.243192.168.1.243
53192.168.1.244/32192.168.1.244 – 192.168.1.244192.168.1.244
54192.168.1.245/32192.168.1.245 – 192.168.1.245192.168.1.245
55192.168.1.246/32192.168.1.246 – 192.168.1.246192.168.1.246
56192.168.1.247/32192.168.1.247 – 192.168.1.247192.168.1.247
57192.168.1.248/32192.168.1.248 – 192.168.1.248192.168.1.248
58192.168.1.249/32192.168.1.249 – 192.168.1.249192.168.1.249
59192.168.1.250/32192.168.1.250 – 192.168.1.250192.168.1.250
60192.168.1.251/32192.168.1.251 – 192.168.1.251192.168.1.251
61192.168.1.252/32192.168.1.252 – 192.168.1.252192.168.1.252
62192.168.1.253/32192.168.1.253 – 192.168.1.253192.168.1.253
63192.168.1.254/32192.168.1.254 – 192.168.1.254192.168.1.254
64192.168.1.255/32192.168.1.255 – 192.168.1.255192.168.1.255
01 / table

IPv4 CIDR prefix table.

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

prefixsubnet maskaddresseshostsin your /26
/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.0256254-
/25255.255.255.128128126-
/26255.255.255.19264621
/27255.255.255.22432302 split →
/28255.255.255.24016144 split →
/29255.255.255.248868 split →
/30255.255.255.2524216 split →
/31255.255.255.2542232 split →
/32255.255.255.2551164 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 →