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.10/24
network192.168.1.0/24
broadcast192.168.1.255
first host192.168.1.1
last host192.168.1.254
subnet mask255.255.255.0
wildcard0.0.0.255
addresses256
usable hosts254
classC
ipcalc 192.168.1.10/24
address11000000.10101000.00000001.00001010
subnet mask11111111.11111111.11111111.00000000
network11000000.10101000.00000001.00000000
broadcast11000000.10101000.00000001.11111111
green = network part, grey = host part
hex0xc0a8010a
decimal3232235786
reverse dns10.1.168.192.in-addr.arpa
ipv4-mapped::ffff:c0a8:10a

/24 split into /31 · 128 subnets

close ×
#networkhost rangebroadcast
1192.168.1.0/31192.168.1.0 – 192.168.1.1192.168.1.1
2192.168.1.2/31192.168.1.2 – 192.168.1.3192.168.1.3
3192.168.1.4/31192.168.1.4 – 192.168.1.5192.168.1.5
4192.168.1.6/31192.168.1.6 – 192.168.1.7192.168.1.7
5192.168.1.8/31192.168.1.8 – 192.168.1.9192.168.1.9
6192.168.1.10/31192.168.1.10 – 192.168.1.11192.168.1.11
7192.168.1.12/31192.168.1.12 – 192.168.1.13192.168.1.13
8192.168.1.14/31192.168.1.14 – 192.168.1.15192.168.1.15
9192.168.1.16/31192.168.1.16 – 192.168.1.17192.168.1.17
10192.168.1.18/31192.168.1.18 – 192.168.1.19192.168.1.19
11192.168.1.20/31192.168.1.20 – 192.168.1.21192.168.1.21
12192.168.1.22/31192.168.1.22 – 192.168.1.23192.168.1.23
13192.168.1.24/31192.168.1.24 – 192.168.1.25192.168.1.25
14192.168.1.26/31192.168.1.26 – 192.168.1.27192.168.1.27
15192.168.1.28/31192.168.1.28 – 192.168.1.29192.168.1.29
16192.168.1.30/31192.168.1.30 – 192.168.1.31192.168.1.31
17192.168.1.32/31192.168.1.32 – 192.168.1.33192.168.1.33
18192.168.1.34/31192.168.1.34 – 192.168.1.35192.168.1.35
19192.168.1.36/31192.168.1.36 – 192.168.1.37192.168.1.37
20192.168.1.38/31192.168.1.38 – 192.168.1.39192.168.1.39
21192.168.1.40/31192.168.1.40 – 192.168.1.41192.168.1.41
22192.168.1.42/31192.168.1.42 – 192.168.1.43192.168.1.43
23192.168.1.44/31192.168.1.44 – 192.168.1.45192.168.1.45
24192.168.1.46/31192.168.1.46 – 192.168.1.47192.168.1.47
25192.168.1.48/31192.168.1.48 – 192.168.1.49192.168.1.49
26192.168.1.50/31192.168.1.50 – 192.168.1.51192.168.1.51
27192.168.1.52/31192.168.1.52 – 192.168.1.53192.168.1.53
28192.168.1.54/31192.168.1.54 – 192.168.1.55192.168.1.55
29192.168.1.56/31192.168.1.56 – 192.168.1.57192.168.1.57
30192.168.1.58/31192.168.1.58 – 192.168.1.59192.168.1.59
31192.168.1.60/31192.168.1.60 – 192.168.1.61192.168.1.61
32192.168.1.62/31192.168.1.62 – 192.168.1.63192.168.1.63
33192.168.1.64/31192.168.1.64 – 192.168.1.65192.168.1.65
34192.168.1.66/31192.168.1.66 – 192.168.1.67192.168.1.67
35192.168.1.68/31192.168.1.68 – 192.168.1.69192.168.1.69
36192.168.1.70/31192.168.1.70 – 192.168.1.71192.168.1.71
37192.168.1.72/31192.168.1.72 – 192.168.1.73192.168.1.73
38192.168.1.74/31192.168.1.74 – 192.168.1.75192.168.1.75
39192.168.1.76/31192.168.1.76 – 192.168.1.77192.168.1.77
40192.168.1.78/31192.168.1.78 – 192.168.1.79192.168.1.79
41192.168.1.80/31192.168.1.80 – 192.168.1.81192.168.1.81
42192.168.1.82/31192.168.1.82 – 192.168.1.83192.168.1.83
43192.168.1.84/31192.168.1.84 – 192.168.1.85192.168.1.85
44192.168.1.86/31192.168.1.86 – 192.168.1.87192.168.1.87
45192.168.1.88/31192.168.1.88 – 192.168.1.89192.168.1.89
46192.168.1.90/31192.168.1.90 – 192.168.1.91192.168.1.91
47192.168.1.92/31192.168.1.92 – 192.168.1.93192.168.1.93
48192.168.1.94/31192.168.1.94 – 192.168.1.95192.168.1.95
49192.168.1.96/31192.168.1.96 – 192.168.1.97192.168.1.97
50192.168.1.98/31192.168.1.98 – 192.168.1.99192.168.1.99
51192.168.1.100/31192.168.1.100 – 192.168.1.101192.168.1.101
52192.168.1.102/31192.168.1.102 – 192.168.1.103192.168.1.103
53192.168.1.104/31192.168.1.104 – 192.168.1.105192.168.1.105
54192.168.1.106/31192.168.1.106 – 192.168.1.107192.168.1.107
55192.168.1.108/31192.168.1.108 – 192.168.1.109192.168.1.109
56192.168.1.110/31192.168.1.110 – 192.168.1.111192.168.1.111
57192.168.1.112/31192.168.1.112 – 192.168.1.113192.168.1.113
58192.168.1.114/31192.168.1.114 – 192.168.1.115192.168.1.115
59192.168.1.116/31192.168.1.116 – 192.168.1.117192.168.1.117
60192.168.1.118/31192.168.1.118 – 192.168.1.119192.168.1.119
61192.168.1.120/31192.168.1.120 – 192.168.1.121192.168.1.121
62192.168.1.122/31192.168.1.122 – 192.168.1.123192.168.1.123
63192.168.1.124/31192.168.1.124 – 192.168.1.125192.168.1.125
64192.168.1.126/31192.168.1.126 – 192.168.1.127192.168.1.127
65192.168.1.128/31192.168.1.128 – 192.168.1.129192.168.1.129
66192.168.1.130/31192.168.1.130 – 192.168.1.131192.168.1.131
67192.168.1.132/31192.168.1.132 – 192.168.1.133192.168.1.133
68192.168.1.134/31192.168.1.134 – 192.168.1.135192.168.1.135
69192.168.1.136/31192.168.1.136 – 192.168.1.137192.168.1.137
70192.168.1.138/31192.168.1.138 – 192.168.1.139192.168.1.139
71192.168.1.140/31192.168.1.140 – 192.168.1.141192.168.1.141
72192.168.1.142/31192.168.1.142 – 192.168.1.143192.168.1.143
73192.168.1.144/31192.168.1.144 – 192.168.1.145192.168.1.145
74192.168.1.146/31192.168.1.146 – 192.168.1.147192.168.1.147
75192.168.1.148/31192.168.1.148 – 192.168.1.149192.168.1.149
76192.168.1.150/31192.168.1.150 – 192.168.1.151192.168.1.151
77192.168.1.152/31192.168.1.152 – 192.168.1.153192.168.1.153
78192.168.1.154/31192.168.1.154 – 192.168.1.155192.168.1.155
79192.168.1.156/31192.168.1.156 – 192.168.1.157192.168.1.157
80192.168.1.158/31192.168.1.158 – 192.168.1.159192.168.1.159
81192.168.1.160/31192.168.1.160 – 192.168.1.161192.168.1.161
82192.168.1.162/31192.168.1.162 – 192.168.1.163192.168.1.163
83192.168.1.164/31192.168.1.164 – 192.168.1.165192.168.1.165
84192.168.1.166/31192.168.1.166 – 192.168.1.167192.168.1.167
85192.168.1.168/31192.168.1.168 – 192.168.1.169192.168.1.169
86192.168.1.170/31192.168.1.170 – 192.168.1.171192.168.1.171
87192.168.1.172/31192.168.1.172 – 192.168.1.173192.168.1.173
88192.168.1.174/31192.168.1.174 – 192.168.1.175192.168.1.175
89192.168.1.176/31192.168.1.176 – 192.168.1.177192.168.1.177
90192.168.1.178/31192.168.1.178 – 192.168.1.179192.168.1.179
91192.168.1.180/31192.168.1.180 – 192.168.1.181192.168.1.181
92192.168.1.182/31192.168.1.182 – 192.168.1.183192.168.1.183
93192.168.1.184/31192.168.1.184 – 192.168.1.185192.168.1.185
94192.168.1.186/31192.168.1.186 – 192.168.1.187192.168.1.187
95192.168.1.188/31192.168.1.188 – 192.168.1.189192.168.1.189
96192.168.1.190/31192.168.1.190 – 192.168.1.191192.168.1.191
97192.168.1.192/31192.168.1.192 – 192.168.1.193192.168.1.193
98192.168.1.194/31192.168.1.194 – 192.168.1.195192.168.1.195
99192.168.1.196/31192.168.1.196 – 192.168.1.197192.168.1.197
100192.168.1.198/31192.168.1.198 – 192.168.1.199192.168.1.199
101192.168.1.200/31192.168.1.200 – 192.168.1.201192.168.1.201
102192.168.1.202/31192.168.1.202 – 192.168.1.203192.168.1.203
103192.168.1.204/31192.168.1.204 – 192.168.1.205192.168.1.205
104192.168.1.206/31192.168.1.206 – 192.168.1.207192.168.1.207
105192.168.1.208/31192.168.1.208 – 192.168.1.209192.168.1.209
106192.168.1.210/31192.168.1.210 – 192.168.1.211192.168.1.211
107192.168.1.212/31192.168.1.212 – 192.168.1.213192.168.1.213
108192.168.1.214/31192.168.1.214 – 192.168.1.215192.168.1.215
109192.168.1.216/31192.168.1.216 – 192.168.1.217192.168.1.217
110192.168.1.218/31192.168.1.218 – 192.168.1.219192.168.1.219
111192.168.1.220/31192.168.1.220 – 192.168.1.221192.168.1.221
112192.168.1.222/31192.168.1.222 – 192.168.1.223192.168.1.223
113192.168.1.224/31192.168.1.224 – 192.168.1.225192.168.1.225
114192.168.1.226/31192.168.1.226 – 192.168.1.227192.168.1.227
115192.168.1.228/31192.168.1.228 – 192.168.1.229192.168.1.229
116192.168.1.230/31192.168.1.230 – 192.168.1.231192.168.1.231
117192.168.1.232/31192.168.1.232 – 192.168.1.233192.168.1.233
118192.168.1.234/31192.168.1.234 – 192.168.1.235192.168.1.235
119192.168.1.236/31192.168.1.236 – 192.168.1.237192.168.1.237
120192.168.1.238/31192.168.1.238 – 192.168.1.239192.168.1.239
121192.168.1.240/31192.168.1.240 – 192.168.1.241192.168.1.241
122192.168.1.242/31192.168.1.242 – 192.168.1.243192.168.1.243
123192.168.1.244/31192.168.1.244 – 192.168.1.245192.168.1.245
124192.168.1.246/31192.168.1.246 – 192.168.1.247192.168.1.247
125192.168.1.248/31192.168.1.248 – 192.168.1.249192.168.1.249
126192.168.1.250/31192.168.1.250 – 192.168.1.251192.168.1.251
127192.168.1.252/31192.168.1.252 – 192.168.1.253192.168.1.253
128192.168.1.254/31192.168.1.254 – 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 /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 →