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.156.0.0/16
network10.156.0.0/16
broadcast10.156.255.255
first host10.156.0.1
last host10.156.255.254
subnet mask255.255.0.0
wildcard0.0.255.255
addresses65,536
usable hosts65,534
classA
ipcalc 10.156.0.0/16
address00001010.10011100.00000000.00000000
subnet mask11111111.11111111.00000000.00000000
network00001010.10011100.00000000.00000000
broadcast00001010.10011100.11111111.11111111
green = network part, grey = host part
hex0x0a9c0000
decimal177995776
reverse dns0.0.156.10.in-addr.arpa
ipv4-mapped::ffff:a9c:0

/16 split into /23 · 128 subnets

close ×
#networkhost rangebroadcast
110.156.0.0/2310.156.0.1 – 10.156.1.25410.156.1.255
210.156.2.0/2310.156.2.1 – 10.156.3.25410.156.3.255
310.156.4.0/2310.156.4.1 – 10.156.5.25410.156.5.255
410.156.6.0/2310.156.6.1 – 10.156.7.25410.156.7.255
510.156.8.0/2310.156.8.1 – 10.156.9.25410.156.9.255
610.156.10.0/2310.156.10.1 – 10.156.11.25410.156.11.255
710.156.12.0/2310.156.12.1 – 10.156.13.25410.156.13.255
810.156.14.0/2310.156.14.1 – 10.156.15.25410.156.15.255
910.156.16.0/2310.156.16.1 – 10.156.17.25410.156.17.255
1010.156.18.0/2310.156.18.1 – 10.156.19.25410.156.19.255
1110.156.20.0/2310.156.20.1 – 10.156.21.25410.156.21.255
1210.156.22.0/2310.156.22.1 – 10.156.23.25410.156.23.255
1310.156.24.0/2310.156.24.1 – 10.156.25.25410.156.25.255
1410.156.26.0/2310.156.26.1 – 10.156.27.25410.156.27.255
1510.156.28.0/2310.156.28.1 – 10.156.29.25410.156.29.255
1610.156.30.0/2310.156.30.1 – 10.156.31.25410.156.31.255
1710.156.32.0/2310.156.32.1 – 10.156.33.25410.156.33.255
1810.156.34.0/2310.156.34.1 – 10.156.35.25410.156.35.255
1910.156.36.0/2310.156.36.1 – 10.156.37.25410.156.37.255
2010.156.38.0/2310.156.38.1 – 10.156.39.25410.156.39.255
2110.156.40.0/2310.156.40.1 – 10.156.41.25410.156.41.255
2210.156.42.0/2310.156.42.1 – 10.156.43.25410.156.43.255
2310.156.44.0/2310.156.44.1 – 10.156.45.25410.156.45.255
2410.156.46.0/2310.156.46.1 – 10.156.47.25410.156.47.255
2510.156.48.0/2310.156.48.1 – 10.156.49.25410.156.49.255
2610.156.50.0/2310.156.50.1 – 10.156.51.25410.156.51.255
2710.156.52.0/2310.156.52.1 – 10.156.53.25410.156.53.255
2810.156.54.0/2310.156.54.1 – 10.156.55.25410.156.55.255
2910.156.56.0/2310.156.56.1 – 10.156.57.25410.156.57.255
3010.156.58.0/2310.156.58.1 – 10.156.59.25410.156.59.255
3110.156.60.0/2310.156.60.1 – 10.156.61.25410.156.61.255
3210.156.62.0/2310.156.62.1 – 10.156.63.25410.156.63.255
3310.156.64.0/2310.156.64.1 – 10.156.65.25410.156.65.255
3410.156.66.0/2310.156.66.1 – 10.156.67.25410.156.67.255
3510.156.68.0/2310.156.68.1 – 10.156.69.25410.156.69.255
3610.156.70.0/2310.156.70.1 – 10.156.71.25410.156.71.255
3710.156.72.0/2310.156.72.1 – 10.156.73.25410.156.73.255
3810.156.74.0/2310.156.74.1 – 10.156.75.25410.156.75.255
3910.156.76.0/2310.156.76.1 – 10.156.77.25410.156.77.255
4010.156.78.0/2310.156.78.1 – 10.156.79.25410.156.79.255
4110.156.80.0/2310.156.80.1 – 10.156.81.25410.156.81.255
4210.156.82.0/2310.156.82.1 – 10.156.83.25410.156.83.255
4310.156.84.0/2310.156.84.1 – 10.156.85.25410.156.85.255
4410.156.86.0/2310.156.86.1 – 10.156.87.25410.156.87.255
4510.156.88.0/2310.156.88.1 – 10.156.89.25410.156.89.255
4610.156.90.0/2310.156.90.1 – 10.156.91.25410.156.91.255
4710.156.92.0/2310.156.92.1 – 10.156.93.25410.156.93.255
4810.156.94.0/2310.156.94.1 – 10.156.95.25410.156.95.255
4910.156.96.0/2310.156.96.1 – 10.156.97.25410.156.97.255
5010.156.98.0/2310.156.98.1 – 10.156.99.25410.156.99.255
5110.156.100.0/2310.156.100.1 – 10.156.101.25410.156.101.255
5210.156.102.0/2310.156.102.1 – 10.156.103.25410.156.103.255
5310.156.104.0/2310.156.104.1 – 10.156.105.25410.156.105.255
5410.156.106.0/2310.156.106.1 – 10.156.107.25410.156.107.255
5510.156.108.0/2310.156.108.1 – 10.156.109.25410.156.109.255
5610.156.110.0/2310.156.110.1 – 10.156.111.25410.156.111.255
5710.156.112.0/2310.156.112.1 – 10.156.113.25410.156.113.255
5810.156.114.0/2310.156.114.1 – 10.156.115.25410.156.115.255
5910.156.116.0/2310.156.116.1 – 10.156.117.25410.156.117.255
6010.156.118.0/2310.156.118.1 – 10.156.119.25410.156.119.255
6110.156.120.0/2310.156.120.1 – 10.156.121.25410.156.121.255
6210.156.122.0/2310.156.122.1 – 10.156.123.25410.156.123.255
6310.156.124.0/2310.156.124.1 – 10.156.125.25410.156.125.255
6410.156.126.0/2310.156.126.1 – 10.156.127.25410.156.127.255
6510.156.128.0/2310.156.128.1 – 10.156.129.25410.156.129.255
6610.156.130.0/2310.156.130.1 – 10.156.131.25410.156.131.255
6710.156.132.0/2310.156.132.1 – 10.156.133.25410.156.133.255
6810.156.134.0/2310.156.134.1 – 10.156.135.25410.156.135.255
6910.156.136.0/2310.156.136.1 – 10.156.137.25410.156.137.255
7010.156.138.0/2310.156.138.1 – 10.156.139.25410.156.139.255
7110.156.140.0/2310.156.140.1 – 10.156.141.25410.156.141.255
7210.156.142.0/2310.156.142.1 – 10.156.143.25410.156.143.255
7310.156.144.0/2310.156.144.1 – 10.156.145.25410.156.145.255
7410.156.146.0/2310.156.146.1 – 10.156.147.25410.156.147.255
7510.156.148.0/2310.156.148.1 – 10.156.149.25410.156.149.255
7610.156.150.0/2310.156.150.1 – 10.156.151.25410.156.151.255
7710.156.152.0/2310.156.152.1 – 10.156.153.25410.156.153.255
7810.156.154.0/2310.156.154.1 – 10.156.155.25410.156.155.255
7910.156.156.0/2310.156.156.1 – 10.156.157.25410.156.157.255
8010.156.158.0/2310.156.158.1 – 10.156.159.25410.156.159.255
8110.156.160.0/2310.156.160.1 – 10.156.161.25410.156.161.255
8210.156.162.0/2310.156.162.1 – 10.156.163.25410.156.163.255
8310.156.164.0/2310.156.164.1 – 10.156.165.25410.156.165.255
8410.156.166.0/2310.156.166.1 – 10.156.167.25410.156.167.255
8510.156.168.0/2310.156.168.1 – 10.156.169.25410.156.169.255
8610.156.170.0/2310.156.170.1 – 10.156.171.25410.156.171.255
8710.156.172.0/2310.156.172.1 – 10.156.173.25410.156.173.255
8810.156.174.0/2310.156.174.1 – 10.156.175.25410.156.175.255
8910.156.176.0/2310.156.176.1 – 10.156.177.25410.156.177.255
9010.156.178.0/2310.156.178.1 – 10.156.179.25410.156.179.255
9110.156.180.0/2310.156.180.1 – 10.156.181.25410.156.181.255
9210.156.182.0/2310.156.182.1 – 10.156.183.25410.156.183.255
9310.156.184.0/2310.156.184.1 – 10.156.185.25410.156.185.255
9410.156.186.0/2310.156.186.1 – 10.156.187.25410.156.187.255
9510.156.188.0/2310.156.188.1 – 10.156.189.25410.156.189.255
9610.156.190.0/2310.156.190.1 – 10.156.191.25410.156.191.255
9710.156.192.0/2310.156.192.1 – 10.156.193.25410.156.193.255
9810.156.194.0/2310.156.194.1 – 10.156.195.25410.156.195.255
9910.156.196.0/2310.156.196.1 – 10.156.197.25410.156.197.255
10010.156.198.0/2310.156.198.1 – 10.156.199.25410.156.199.255
10110.156.200.0/2310.156.200.1 – 10.156.201.25410.156.201.255
10210.156.202.0/2310.156.202.1 – 10.156.203.25410.156.203.255
10310.156.204.0/2310.156.204.1 – 10.156.205.25410.156.205.255
10410.156.206.0/2310.156.206.1 – 10.156.207.25410.156.207.255
10510.156.208.0/2310.156.208.1 – 10.156.209.25410.156.209.255
10610.156.210.0/2310.156.210.1 – 10.156.211.25410.156.211.255
10710.156.212.0/2310.156.212.1 – 10.156.213.25410.156.213.255
10810.156.214.0/2310.156.214.1 – 10.156.215.25410.156.215.255
10910.156.216.0/2310.156.216.1 – 10.156.217.25410.156.217.255
11010.156.218.0/2310.156.218.1 – 10.156.219.25410.156.219.255
11110.156.220.0/2310.156.220.1 – 10.156.221.25410.156.221.255
11210.156.222.0/2310.156.222.1 – 10.156.223.25410.156.223.255
11310.156.224.0/2310.156.224.1 – 10.156.225.25410.156.225.255
11410.156.226.0/2310.156.226.1 – 10.156.227.25410.156.227.255
11510.156.228.0/2310.156.228.1 – 10.156.229.25410.156.229.255
11610.156.230.0/2310.156.230.1 – 10.156.231.25410.156.231.255
11710.156.232.0/2310.156.232.1 – 10.156.233.25410.156.233.255
11810.156.234.0/2310.156.234.1 – 10.156.235.25410.156.235.255
11910.156.236.0/2310.156.236.1 – 10.156.237.25410.156.237.255
12010.156.238.0/2310.156.238.1 – 10.156.239.25410.156.239.255
12110.156.240.0/2310.156.240.1 – 10.156.241.25410.156.241.255
12210.156.242.0/2310.156.242.1 – 10.156.243.25410.156.243.255
12310.156.244.0/2310.156.244.1 – 10.156.245.25410.156.245.255
12410.156.246.0/2310.156.246.1 – 10.156.247.25410.156.247.255
12510.156.248.0/2310.156.248.1 – 10.156.249.25410.156.249.255
12610.156.250.0/2310.156.250.1 – 10.156.251.25410.156.251.255
12710.156.252.0/2310.156.252.1 – 10.156.253.25410.156.253.255
12810.156.254.0/2310.156.254.1 – 10.156.255.25410.156.255.255
01 / table

IPv4 CIDR prefix table.

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

prefixsubnet maskaddresseshostsin your /16
/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,5341
/17255.255.128.032,76832,7662 split →
/18255.255.192.016,38416,3824 split →
/19255.255.224.08,1928,1908 split →
/20255.255.240.04,0964,09416 split →
/21255.255.248.02,0482,04632 split →
/22255.255.252.01,0241,02264 split →
/23255.255.254.0512510128 split →
/24255.255.255.0256254256 split →
/25255.255.255.128128126512 split →
/26255.255.255.19264621,024 split →
/27255.255.255.22432302,048 split →
/28255.255.255.24016144,096 split →
/29255.255.255.248868,192 split →
/30255.255.255.2524216,384 split →
/31255.255.255.2542232,768 split →
/32255.255.255.2551165,536 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 →