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.128/25
network192.168.1.128/25
broadcast192.168.1.255
first host192.168.1.129
last host192.168.1.254
subnet mask255.255.255.128
wildcard0.0.0.127
addresses128
usable hosts126
classC
ipcalc 192.168.1.128/25
address11000000.10101000.00000001.10000000
subnet mask11111111.11111111.11111111.10000000
network11000000.10101000.00000001.10000000
broadcast11000000.10101000.00000001.11111111
green = network part, grey = host part
hex0xc0a80180
decimal3232235904
reverse dns128.1.168.192.in-addr.arpa
ipv4-mapped::ffff:c0a8:180

/25 split into /32 · 128 subnets

close ×
#networkhost rangebroadcast
1192.168.1.128/32192.168.1.128 – 192.168.1.128192.168.1.128
2192.168.1.129/32192.168.1.129 – 192.168.1.129192.168.1.129
3192.168.1.130/32192.168.1.130 – 192.168.1.130192.168.1.130
4192.168.1.131/32192.168.1.131 – 192.168.1.131192.168.1.131
5192.168.1.132/32192.168.1.132 – 192.168.1.132192.168.1.132
6192.168.1.133/32192.168.1.133 – 192.168.1.133192.168.1.133
7192.168.1.134/32192.168.1.134 – 192.168.1.134192.168.1.134
8192.168.1.135/32192.168.1.135 – 192.168.1.135192.168.1.135
9192.168.1.136/32192.168.1.136 – 192.168.1.136192.168.1.136
10192.168.1.137/32192.168.1.137 – 192.168.1.137192.168.1.137
11192.168.1.138/32192.168.1.138 – 192.168.1.138192.168.1.138
12192.168.1.139/32192.168.1.139 – 192.168.1.139192.168.1.139
13192.168.1.140/32192.168.1.140 – 192.168.1.140192.168.1.140
14192.168.1.141/32192.168.1.141 – 192.168.1.141192.168.1.141
15192.168.1.142/32192.168.1.142 – 192.168.1.142192.168.1.142
16192.168.1.143/32192.168.1.143 – 192.168.1.143192.168.1.143
17192.168.1.144/32192.168.1.144 – 192.168.1.144192.168.1.144
18192.168.1.145/32192.168.1.145 – 192.168.1.145192.168.1.145
19192.168.1.146/32192.168.1.146 – 192.168.1.146192.168.1.146
20192.168.1.147/32192.168.1.147 – 192.168.1.147192.168.1.147
21192.168.1.148/32192.168.1.148 – 192.168.1.148192.168.1.148
22192.168.1.149/32192.168.1.149 – 192.168.1.149192.168.1.149
23192.168.1.150/32192.168.1.150 – 192.168.1.150192.168.1.150
24192.168.1.151/32192.168.1.151 – 192.168.1.151192.168.1.151
25192.168.1.152/32192.168.1.152 – 192.168.1.152192.168.1.152
26192.168.1.153/32192.168.1.153 – 192.168.1.153192.168.1.153
27192.168.1.154/32192.168.1.154 – 192.168.1.154192.168.1.154
28192.168.1.155/32192.168.1.155 – 192.168.1.155192.168.1.155
29192.168.1.156/32192.168.1.156 – 192.168.1.156192.168.1.156
30192.168.1.157/32192.168.1.157 – 192.168.1.157192.168.1.157
31192.168.1.158/32192.168.1.158 – 192.168.1.158192.168.1.158
32192.168.1.159/32192.168.1.159 – 192.168.1.159192.168.1.159
33192.168.1.160/32192.168.1.160 – 192.168.1.160192.168.1.160
34192.168.1.161/32192.168.1.161 – 192.168.1.161192.168.1.161
35192.168.1.162/32192.168.1.162 – 192.168.1.162192.168.1.162
36192.168.1.163/32192.168.1.163 – 192.168.1.163192.168.1.163
37192.168.1.164/32192.168.1.164 – 192.168.1.164192.168.1.164
38192.168.1.165/32192.168.1.165 – 192.168.1.165192.168.1.165
39192.168.1.166/32192.168.1.166 – 192.168.1.166192.168.1.166
40192.168.1.167/32192.168.1.167 – 192.168.1.167192.168.1.167
41192.168.1.168/32192.168.1.168 – 192.168.1.168192.168.1.168
42192.168.1.169/32192.168.1.169 – 192.168.1.169192.168.1.169
43192.168.1.170/32192.168.1.170 – 192.168.1.170192.168.1.170
44192.168.1.171/32192.168.1.171 – 192.168.1.171192.168.1.171
45192.168.1.172/32192.168.1.172 – 192.168.1.172192.168.1.172
46192.168.1.173/32192.168.1.173 – 192.168.1.173192.168.1.173
47192.168.1.174/32192.168.1.174 – 192.168.1.174192.168.1.174
48192.168.1.175/32192.168.1.175 – 192.168.1.175192.168.1.175
49192.168.1.176/32192.168.1.176 – 192.168.1.176192.168.1.176
50192.168.1.177/32192.168.1.177 – 192.168.1.177192.168.1.177
51192.168.1.178/32192.168.1.178 – 192.168.1.178192.168.1.178
52192.168.1.179/32192.168.1.179 – 192.168.1.179192.168.1.179
53192.168.1.180/32192.168.1.180 – 192.168.1.180192.168.1.180
54192.168.1.181/32192.168.1.181 – 192.168.1.181192.168.1.181
55192.168.1.182/32192.168.1.182 – 192.168.1.182192.168.1.182
56192.168.1.183/32192.168.1.183 – 192.168.1.183192.168.1.183
57192.168.1.184/32192.168.1.184 – 192.168.1.184192.168.1.184
58192.168.1.185/32192.168.1.185 – 192.168.1.185192.168.1.185
59192.168.1.186/32192.168.1.186 – 192.168.1.186192.168.1.186
60192.168.1.187/32192.168.1.187 – 192.168.1.187192.168.1.187
61192.168.1.188/32192.168.1.188 – 192.168.1.188192.168.1.188
62192.168.1.189/32192.168.1.189 – 192.168.1.189192.168.1.189
63192.168.1.190/32192.168.1.190 – 192.168.1.190192.168.1.190
64192.168.1.191/32192.168.1.191 – 192.168.1.191192.168.1.191
65192.168.1.192/32192.168.1.192 – 192.168.1.192192.168.1.192
66192.168.1.193/32192.168.1.193 – 192.168.1.193192.168.1.193
67192.168.1.194/32192.168.1.194 – 192.168.1.194192.168.1.194
68192.168.1.195/32192.168.1.195 – 192.168.1.195192.168.1.195
69192.168.1.196/32192.168.1.196 – 192.168.1.196192.168.1.196
70192.168.1.197/32192.168.1.197 – 192.168.1.197192.168.1.197
71192.168.1.198/32192.168.1.198 – 192.168.1.198192.168.1.198
72192.168.1.199/32192.168.1.199 – 192.168.1.199192.168.1.199
73192.168.1.200/32192.168.1.200 – 192.168.1.200192.168.1.200
74192.168.1.201/32192.168.1.201 – 192.168.1.201192.168.1.201
75192.168.1.202/32192.168.1.202 – 192.168.1.202192.168.1.202
76192.168.1.203/32192.168.1.203 – 192.168.1.203192.168.1.203
77192.168.1.204/32192.168.1.204 – 192.168.1.204192.168.1.204
78192.168.1.205/32192.168.1.205 – 192.168.1.205192.168.1.205
79192.168.1.206/32192.168.1.206 – 192.168.1.206192.168.1.206
80192.168.1.207/32192.168.1.207 – 192.168.1.207192.168.1.207
81192.168.1.208/32192.168.1.208 – 192.168.1.208192.168.1.208
82192.168.1.209/32192.168.1.209 – 192.168.1.209192.168.1.209
83192.168.1.210/32192.168.1.210 – 192.168.1.210192.168.1.210
84192.168.1.211/32192.168.1.211 – 192.168.1.211192.168.1.211
85192.168.1.212/32192.168.1.212 – 192.168.1.212192.168.1.212
86192.168.1.213/32192.168.1.213 – 192.168.1.213192.168.1.213
87192.168.1.214/32192.168.1.214 – 192.168.1.214192.168.1.214
88192.168.1.215/32192.168.1.215 – 192.168.1.215192.168.1.215
89192.168.1.216/32192.168.1.216 – 192.168.1.216192.168.1.216
90192.168.1.217/32192.168.1.217 – 192.168.1.217192.168.1.217
91192.168.1.218/32192.168.1.218 – 192.168.1.218192.168.1.218
92192.168.1.219/32192.168.1.219 – 192.168.1.219192.168.1.219
93192.168.1.220/32192.168.1.220 – 192.168.1.220192.168.1.220
94192.168.1.221/32192.168.1.221 – 192.168.1.221192.168.1.221
95192.168.1.222/32192.168.1.222 – 192.168.1.222192.168.1.222
96192.168.1.223/32192.168.1.223 – 192.168.1.223192.168.1.223
97192.168.1.224/32192.168.1.224 – 192.168.1.224192.168.1.224
98192.168.1.225/32192.168.1.225 – 192.168.1.225192.168.1.225
99192.168.1.226/32192.168.1.226 – 192.168.1.226192.168.1.226
100192.168.1.227/32192.168.1.227 – 192.168.1.227192.168.1.227
101192.168.1.228/32192.168.1.228 – 192.168.1.228192.168.1.228
102192.168.1.229/32192.168.1.229 – 192.168.1.229192.168.1.229
103192.168.1.230/32192.168.1.230 – 192.168.1.230192.168.1.230
104192.168.1.231/32192.168.1.231 – 192.168.1.231192.168.1.231
105192.168.1.232/32192.168.1.232 – 192.168.1.232192.168.1.232
106192.168.1.233/32192.168.1.233 – 192.168.1.233192.168.1.233
107192.168.1.234/32192.168.1.234 – 192.168.1.234192.168.1.234
108192.168.1.235/32192.168.1.235 – 192.168.1.235192.168.1.235
109192.168.1.236/32192.168.1.236 – 192.168.1.236192.168.1.236
110192.168.1.237/32192.168.1.237 – 192.168.1.237192.168.1.237
111192.168.1.238/32192.168.1.238 – 192.168.1.238192.168.1.238
112192.168.1.239/32192.168.1.239 – 192.168.1.239192.168.1.239
113192.168.1.240/32192.168.1.240 – 192.168.1.240192.168.1.240
114192.168.1.241/32192.168.1.241 – 192.168.1.241192.168.1.241
115192.168.1.242/32192.168.1.242 – 192.168.1.242192.168.1.242
116192.168.1.243/32192.168.1.243 – 192.168.1.243192.168.1.243
117192.168.1.244/32192.168.1.244 – 192.168.1.244192.168.1.244
118192.168.1.245/32192.168.1.245 – 192.168.1.245192.168.1.245
119192.168.1.246/32192.168.1.246 – 192.168.1.246192.168.1.246
120192.168.1.247/32192.168.1.247 – 192.168.1.247192.168.1.247
121192.168.1.248/32192.168.1.248 – 192.168.1.248192.168.1.248
122192.168.1.249/32192.168.1.249 – 192.168.1.249192.168.1.249
123192.168.1.250/32192.168.1.250 – 192.168.1.250192.168.1.250
124192.168.1.251/32192.168.1.251 – 192.168.1.251192.168.1.251
125192.168.1.252/32192.168.1.252 – 192.168.1.252192.168.1.252
126192.168.1.253/32192.168.1.253 – 192.168.1.253192.168.1.253
127192.168.1.254/32192.168.1.254 – 192.168.1.254192.168.1.254
128192.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 /25
/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.1281281261
/26255.255.255.19264622 split →
/27255.255.255.22432304 split →
/28255.255.255.24016148 split →
/29255.255.255.2488616 split →
/30255.255.255.2524232 split →
/31255.255.255.2542264 split →
/32255.255.255.25511128 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 →