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.158.0.0/19
network10.158.0.0/19
broadcast10.158.31.255
first host10.158.0.1
last host10.158.31.254
subnet mask255.255.224.0
wildcard0.0.31.255
addresses8,192
usable hosts8,190
classA
ipcalc 10.158.0.0/19
address00001010.10011110.00000000.00000000
subnet mask11111111.11111111.11100000.00000000
network00001010.10011110.00000000.00000000
broadcast00001010.10011110.00011111.11111111
green = network part, grey = host part
hex0x0a9e0000
decimal178126848
reverse dns0.0.158.10.in-addr.arpa
ipv4-mapped::ffff:a9e:0

/19 split into /26 · 128 subnets

close ×
#networkhost rangebroadcast
110.158.0.0/2610.158.0.1 – 10.158.0.6210.158.0.63
210.158.0.64/2610.158.0.65 – 10.158.0.12610.158.0.127
310.158.0.128/2610.158.0.129 – 10.158.0.19010.158.0.191
410.158.0.192/2610.158.0.193 – 10.158.0.25410.158.0.255
510.158.1.0/2610.158.1.1 – 10.158.1.6210.158.1.63
610.158.1.64/2610.158.1.65 – 10.158.1.12610.158.1.127
710.158.1.128/2610.158.1.129 – 10.158.1.19010.158.1.191
810.158.1.192/2610.158.1.193 – 10.158.1.25410.158.1.255
910.158.2.0/2610.158.2.1 – 10.158.2.6210.158.2.63
1010.158.2.64/2610.158.2.65 – 10.158.2.12610.158.2.127
1110.158.2.128/2610.158.2.129 – 10.158.2.19010.158.2.191
1210.158.2.192/2610.158.2.193 – 10.158.2.25410.158.2.255
1310.158.3.0/2610.158.3.1 – 10.158.3.6210.158.3.63
1410.158.3.64/2610.158.3.65 – 10.158.3.12610.158.3.127
1510.158.3.128/2610.158.3.129 – 10.158.3.19010.158.3.191
1610.158.3.192/2610.158.3.193 – 10.158.3.25410.158.3.255
1710.158.4.0/2610.158.4.1 – 10.158.4.6210.158.4.63
1810.158.4.64/2610.158.4.65 – 10.158.4.12610.158.4.127
1910.158.4.128/2610.158.4.129 – 10.158.4.19010.158.4.191
2010.158.4.192/2610.158.4.193 – 10.158.4.25410.158.4.255
2110.158.5.0/2610.158.5.1 – 10.158.5.6210.158.5.63
2210.158.5.64/2610.158.5.65 – 10.158.5.12610.158.5.127
2310.158.5.128/2610.158.5.129 – 10.158.5.19010.158.5.191
2410.158.5.192/2610.158.5.193 – 10.158.5.25410.158.5.255
2510.158.6.0/2610.158.6.1 – 10.158.6.6210.158.6.63
2610.158.6.64/2610.158.6.65 – 10.158.6.12610.158.6.127
2710.158.6.128/2610.158.6.129 – 10.158.6.19010.158.6.191
2810.158.6.192/2610.158.6.193 – 10.158.6.25410.158.6.255
2910.158.7.0/2610.158.7.1 – 10.158.7.6210.158.7.63
3010.158.7.64/2610.158.7.65 – 10.158.7.12610.158.7.127
3110.158.7.128/2610.158.7.129 – 10.158.7.19010.158.7.191
3210.158.7.192/2610.158.7.193 – 10.158.7.25410.158.7.255
3310.158.8.0/2610.158.8.1 – 10.158.8.6210.158.8.63
3410.158.8.64/2610.158.8.65 – 10.158.8.12610.158.8.127
3510.158.8.128/2610.158.8.129 – 10.158.8.19010.158.8.191
3610.158.8.192/2610.158.8.193 – 10.158.8.25410.158.8.255
3710.158.9.0/2610.158.9.1 – 10.158.9.6210.158.9.63
3810.158.9.64/2610.158.9.65 – 10.158.9.12610.158.9.127
3910.158.9.128/2610.158.9.129 – 10.158.9.19010.158.9.191
4010.158.9.192/2610.158.9.193 – 10.158.9.25410.158.9.255
4110.158.10.0/2610.158.10.1 – 10.158.10.6210.158.10.63
4210.158.10.64/2610.158.10.65 – 10.158.10.12610.158.10.127
4310.158.10.128/2610.158.10.129 – 10.158.10.19010.158.10.191
4410.158.10.192/2610.158.10.193 – 10.158.10.25410.158.10.255
4510.158.11.0/2610.158.11.1 – 10.158.11.6210.158.11.63
4610.158.11.64/2610.158.11.65 – 10.158.11.12610.158.11.127
4710.158.11.128/2610.158.11.129 – 10.158.11.19010.158.11.191
4810.158.11.192/2610.158.11.193 – 10.158.11.25410.158.11.255
4910.158.12.0/2610.158.12.1 – 10.158.12.6210.158.12.63
5010.158.12.64/2610.158.12.65 – 10.158.12.12610.158.12.127
5110.158.12.128/2610.158.12.129 – 10.158.12.19010.158.12.191
5210.158.12.192/2610.158.12.193 – 10.158.12.25410.158.12.255
5310.158.13.0/2610.158.13.1 – 10.158.13.6210.158.13.63
5410.158.13.64/2610.158.13.65 – 10.158.13.12610.158.13.127
5510.158.13.128/2610.158.13.129 – 10.158.13.19010.158.13.191
5610.158.13.192/2610.158.13.193 – 10.158.13.25410.158.13.255
5710.158.14.0/2610.158.14.1 – 10.158.14.6210.158.14.63
5810.158.14.64/2610.158.14.65 – 10.158.14.12610.158.14.127
5910.158.14.128/2610.158.14.129 – 10.158.14.19010.158.14.191
6010.158.14.192/2610.158.14.193 – 10.158.14.25410.158.14.255
6110.158.15.0/2610.158.15.1 – 10.158.15.6210.158.15.63
6210.158.15.64/2610.158.15.65 – 10.158.15.12610.158.15.127
6310.158.15.128/2610.158.15.129 – 10.158.15.19010.158.15.191
6410.158.15.192/2610.158.15.193 – 10.158.15.25410.158.15.255
6510.158.16.0/2610.158.16.1 – 10.158.16.6210.158.16.63
6610.158.16.64/2610.158.16.65 – 10.158.16.12610.158.16.127
6710.158.16.128/2610.158.16.129 – 10.158.16.19010.158.16.191
6810.158.16.192/2610.158.16.193 – 10.158.16.25410.158.16.255
6910.158.17.0/2610.158.17.1 – 10.158.17.6210.158.17.63
7010.158.17.64/2610.158.17.65 – 10.158.17.12610.158.17.127
7110.158.17.128/2610.158.17.129 – 10.158.17.19010.158.17.191
7210.158.17.192/2610.158.17.193 – 10.158.17.25410.158.17.255
7310.158.18.0/2610.158.18.1 – 10.158.18.6210.158.18.63
7410.158.18.64/2610.158.18.65 – 10.158.18.12610.158.18.127
7510.158.18.128/2610.158.18.129 – 10.158.18.19010.158.18.191
7610.158.18.192/2610.158.18.193 – 10.158.18.25410.158.18.255
7710.158.19.0/2610.158.19.1 – 10.158.19.6210.158.19.63
7810.158.19.64/2610.158.19.65 – 10.158.19.12610.158.19.127
7910.158.19.128/2610.158.19.129 – 10.158.19.19010.158.19.191
8010.158.19.192/2610.158.19.193 – 10.158.19.25410.158.19.255
8110.158.20.0/2610.158.20.1 – 10.158.20.6210.158.20.63
8210.158.20.64/2610.158.20.65 – 10.158.20.12610.158.20.127
8310.158.20.128/2610.158.20.129 – 10.158.20.19010.158.20.191
8410.158.20.192/2610.158.20.193 – 10.158.20.25410.158.20.255
8510.158.21.0/2610.158.21.1 – 10.158.21.6210.158.21.63
8610.158.21.64/2610.158.21.65 – 10.158.21.12610.158.21.127
8710.158.21.128/2610.158.21.129 – 10.158.21.19010.158.21.191
8810.158.21.192/2610.158.21.193 – 10.158.21.25410.158.21.255
8910.158.22.0/2610.158.22.1 – 10.158.22.6210.158.22.63
9010.158.22.64/2610.158.22.65 – 10.158.22.12610.158.22.127
9110.158.22.128/2610.158.22.129 – 10.158.22.19010.158.22.191
9210.158.22.192/2610.158.22.193 – 10.158.22.25410.158.22.255
9310.158.23.0/2610.158.23.1 – 10.158.23.6210.158.23.63
9410.158.23.64/2610.158.23.65 – 10.158.23.12610.158.23.127
9510.158.23.128/2610.158.23.129 – 10.158.23.19010.158.23.191
9610.158.23.192/2610.158.23.193 – 10.158.23.25410.158.23.255
9710.158.24.0/2610.158.24.1 – 10.158.24.6210.158.24.63
9810.158.24.64/2610.158.24.65 – 10.158.24.12610.158.24.127
9910.158.24.128/2610.158.24.129 – 10.158.24.19010.158.24.191
10010.158.24.192/2610.158.24.193 – 10.158.24.25410.158.24.255
10110.158.25.0/2610.158.25.1 – 10.158.25.6210.158.25.63
10210.158.25.64/2610.158.25.65 – 10.158.25.12610.158.25.127
10310.158.25.128/2610.158.25.129 – 10.158.25.19010.158.25.191
10410.158.25.192/2610.158.25.193 – 10.158.25.25410.158.25.255
10510.158.26.0/2610.158.26.1 – 10.158.26.6210.158.26.63
10610.158.26.64/2610.158.26.65 – 10.158.26.12610.158.26.127
10710.158.26.128/2610.158.26.129 – 10.158.26.19010.158.26.191
10810.158.26.192/2610.158.26.193 – 10.158.26.25410.158.26.255
10910.158.27.0/2610.158.27.1 – 10.158.27.6210.158.27.63
11010.158.27.64/2610.158.27.65 – 10.158.27.12610.158.27.127
11110.158.27.128/2610.158.27.129 – 10.158.27.19010.158.27.191
11210.158.27.192/2610.158.27.193 – 10.158.27.25410.158.27.255
11310.158.28.0/2610.158.28.1 – 10.158.28.6210.158.28.63
11410.158.28.64/2610.158.28.65 – 10.158.28.12610.158.28.127
11510.158.28.128/2610.158.28.129 – 10.158.28.19010.158.28.191
11610.158.28.192/2610.158.28.193 – 10.158.28.25410.158.28.255
11710.158.29.0/2610.158.29.1 – 10.158.29.6210.158.29.63
11810.158.29.64/2610.158.29.65 – 10.158.29.12610.158.29.127
11910.158.29.128/2610.158.29.129 – 10.158.29.19010.158.29.191
12010.158.29.192/2610.158.29.193 – 10.158.29.25410.158.29.255
12110.158.30.0/2610.158.30.1 – 10.158.30.6210.158.30.63
12210.158.30.64/2610.158.30.65 – 10.158.30.12610.158.30.127
12310.158.30.128/2610.158.30.129 – 10.158.30.19010.158.30.191
12410.158.30.192/2610.158.30.193 – 10.158.30.25410.158.30.255
12510.158.31.0/2610.158.31.1 – 10.158.31.6210.158.31.63
12610.158.31.64/2610.158.31.65 – 10.158.31.12610.158.31.127
12710.158.31.128/2610.158.31.129 – 10.158.31.19010.158.31.191
12810.158.31.192/2610.158.31.193 – 10.158.31.25410.158.31.255
01 / table

IPv4 CIDR prefix table.

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

prefixsubnet maskaddresseshostsin your /19
/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,1901
/20255.255.240.04,0964,0942 split →
/21255.255.248.02,0482,0464 split →
/22255.255.252.01,0241,0228 split →
/23255.255.254.051251016 split →
/24255.255.255.025625432 split →
/25255.255.255.12812812664 split →
/26255.255.255.1926462128 split →
/27255.255.255.2243230256 split →
/28255.255.255.2401614512 split →
/29255.255.255.248861,024 split →
/30255.255.255.252422,048 split →
/31255.255.255.254224,096 split →
/32255.255.255.255118,192 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 →