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.128.0.0/9
network10.128.0.0/9
broadcast10.255.255.255
first host10.128.0.1
last host10.255.255.254
subnet mask255.128.0.0
wildcard0.127.255.255
addresses8,388,608
usable hosts8,388,606
classA
ipcalc 10.128.0.0/9
address00001010.10000000.00000000.00000000
subnet mask11111111.10000000.00000000.00000000
network00001010.10000000.00000000.00000000
broadcast00001010.11111111.11111111.11111111
green = network part, grey = host part
hex0x0a800000
decimal176160768
reverse dns0.0.128.10.in-addr.arpa
ipv4-mapped::ffff:a80:0

/9 split into /16 · 128 subnets

close ×
#networkhost rangebroadcast
110.128.0.0/1610.128.0.1 – 10.128.255.25410.128.255.255
210.129.0.0/1610.129.0.1 – 10.129.255.25410.129.255.255
310.130.0.0/1610.130.0.1 – 10.130.255.25410.130.255.255
410.131.0.0/1610.131.0.1 – 10.131.255.25410.131.255.255
510.132.0.0/1610.132.0.1 – 10.132.255.25410.132.255.255
610.133.0.0/1610.133.0.1 – 10.133.255.25410.133.255.255
710.134.0.0/1610.134.0.1 – 10.134.255.25410.134.255.255
810.135.0.0/1610.135.0.1 – 10.135.255.25410.135.255.255
910.136.0.0/1610.136.0.1 – 10.136.255.25410.136.255.255
1010.137.0.0/1610.137.0.1 – 10.137.255.25410.137.255.255
1110.138.0.0/1610.138.0.1 – 10.138.255.25410.138.255.255
1210.139.0.0/1610.139.0.1 – 10.139.255.25410.139.255.255
1310.140.0.0/1610.140.0.1 – 10.140.255.25410.140.255.255
1410.141.0.0/1610.141.0.1 – 10.141.255.25410.141.255.255
1510.142.0.0/1610.142.0.1 – 10.142.255.25410.142.255.255
1610.143.0.0/1610.143.0.1 – 10.143.255.25410.143.255.255
1710.144.0.0/1610.144.0.1 – 10.144.255.25410.144.255.255
1810.145.0.0/1610.145.0.1 – 10.145.255.25410.145.255.255
1910.146.0.0/1610.146.0.1 – 10.146.255.25410.146.255.255
2010.147.0.0/1610.147.0.1 – 10.147.255.25410.147.255.255
2110.148.0.0/1610.148.0.1 – 10.148.255.25410.148.255.255
2210.149.0.0/1610.149.0.1 – 10.149.255.25410.149.255.255
2310.150.0.0/1610.150.0.1 – 10.150.255.25410.150.255.255
2410.151.0.0/1610.151.0.1 – 10.151.255.25410.151.255.255
2510.152.0.0/1610.152.0.1 – 10.152.255.25410.152.255.255
2610.153.0.0/1610.153.0.1 – 10.153.255.25410.153.255.255
2710.154.0.0/1610.154.0.1 – 10.154.255.25410.154.255.255
2810.155.0.0/1610.155.0.1 – 10.155.255.25410.155.255.255
2910.156.0.0/1610.156.0.1 – 10.156.255.25410.156.255.255
3010.157.0.0/1610.157.0.1 – 10.157.255.25410.157.255.255
3110.158.0.0/1610.158.0.1 – 10.158.255.25410.158.255.255
3210.159.0.0/1610.159.0.1 – 10.159.255.25410.159.255.255
3310.160.0.0/1610.160.0.1 – 10.160.255.25410.160.255.255
3410.161.0.0/1610.161.0.1 – 10.161.255.25410.161.255.255
3510.162.0.0/1610.162.0.1 – 10.162.255.25410.162.255.255
3610.163.0.0/1610.163.0.1 – 10.163.255.25410.163.255.255
3710.164.0.0/1610.164.0.1 – 10.164.255.25410.164.255.255
3810.165.0.0/1610.165.0.1 – 10.165.255.25410.165.255.255
3910.166.0.0/1610.166.0.1 – 10.166.255.25410.166.255.255
4010.167.0.0/1610.167.0.1 – 10.167.255.25410.167.255.255
4110.168.0.0/1610.168.0.1 – 10.168.255.25410.168.255.255
4210.169.0.0/1610.169.0.1 – 10.169.255.25410.169.255.255
4310.170.0.0/1610.170.0.1 – 10.170.255.25410.170.255.255
4410.171.0.0/1610.171.0.1 – 10.171.255.25410.171.255.255
4510.172.0.0/1610.172.0.1 – 10.172.255.25410.172.255.255
4610.173.0.0/1610.173.0.1 – 10.173.255.25410.173.255.255
4710.174.0.0/1610.174.0.1 – 10.174.255.25410.174.255.255
4810.175.0.0/1610.175.0.1 – 10.175.255.25410.175.255.255
4910.176.0.0/1610.176.0.1 – 10.176.255.25410.176.255.255
5010.177.0.0/1610.177.0.1 – 10.177.255.25410.177.255.255
5110.178.0.0/1610.178.0.1 – 10.178.255.25410.178.255.255
5210.179.0.0/1610.179.0.1 – 10.179.255.25410.179.255.255
5310.180.0.0/1610.180.0.1 – 10.180.255.25410.180.255.255
5410.181.0.0/1610.181.0.1 – 10.181.255.25410.181.255.255
5510.182.0.0/1610.182.0.1 – 10.182.255.25410.182.255.255
5610.183.0.0/1610.183.0.1 – 10.183.255.25410.183.255.255
5710.184.0.0/1610.184.0.1 – 10.184.255.25410.184.255.255
5810.185.0.0/1610.185.0.1 – 10.185.255.25410.185.255.255
5910.186.0.0/1610.186.0.1 – 10.186.255.25410.186.255.255
6010.187.0.0/1610.187.0.1 – 10.187.255.25410.187.255.255
6110.188.0.0/1610.188.0.1 – 10.188.255.25410.188.255.255
6210.189.0.0/1610.189.0.1 – 10.189.255.25410.189.255.255
6310.190.0.0/1610.190.0.1 – 10.190.255.25410.190.255.255
6410.191.0.0/1610.191.0.1 – 10.191.255.25410.191.255.255
6510.192.0.0/1610.192.0.1 – 10.192.255.25410.192.255.255
6610.193.0.0/1610.193.0.1 – 10.193.255.25410.193.255.255
6710.194.0.0/1610.194.0.1 – 10.194.255.25410.194.255.255
6810.195.0.0/1610.195.0.1 – 10.195.255.25410.195.255.255
6910.196.0.0/1610.196.0.1 – 10.196.255.25410.196.255.255
7010.197.0.0/1610.197.0.1 – 10.197.255.25410.197.255.255
7110.198.0.0/1610.198.0.1 – 10.198.255.25410.198.255.255
7210.199.0.0/1610.199.0.1 – 10.199.255.25410.199.255.255
7310.200.0.0/1610.200.0.1 – 10.200.255.25410.200.255.255
7410.201.0.0/1610.201.0.1 – 10.201.255.25410.201.255.255
7510.202.0.0/1610.202.0.1 – 10.202.255.25410.202.255.255
7610.203.0.0/1610.203.0.1 – 10.203.255.25410.203.255.255
7710.204.0.0/1610.204.0.1 – 10.204.255.25410.204.255.255
7810.205.0.0/1610.205.0.1 – 10.205.255.25410.205.255.255
7910.206.0.0/1610.206.0.1 – 10.206.255.25410.206.255.255
8010.207.0.0/1610.207.0.1 – 10.207.255.25410.207.255.255
8110.208.0.0/1610.208.0.1 – 10.208.255.25410.208.255.255
8210.209.0.0/1610.209.0.1 – 10.209.255.25410.209.255.255
8310.210.0.0/1610.210.0.1 – 10.210.255.25410.210.255.255
8410.211.0.0/1610.211.0.1 – 10.211.255.25410.211.255.255
8510.212.0.0/1610.212.0.1 – 10.212.255.25410.212.255.255
8610.213.0.0/1610.213.0.1 – 10.213.255.25410.213.255.255
8710.214.0.0/1610.214.0.1 – 10.214.255.25410.214.255.255
8810.215.0.0/1610.215.0.1 – 10.215.255.25410.215.255.255
8910.216.0.0/1610.216.0.1 – 10.216.255.25410.216.255.255
9010.217.0.0/1610.217.0.1 – 10.217.255.25410.217.255.255
9110.218.0.0/1610.218.0.1 – 10.218.255.25410.218.255.255
9210.219.0.0/1610.219.0.1 – 10.219.255.25410.219.255.255
9310.220.0.0/1610.220.0.1 – 10.220.255.25410.220.255.255
9410.221.0.0/1610.221.0.1 – 10.221.255.25410.221.255.255
9510.222.0.0/1610.222.0.1 – 10.222.255.25410.222.255.255
9610.223.0.0/1610.223.0.1 – 10.223.255.25410.223.255.255
9710.224.0.0/1610.224.0.1 – 10.224.255.25410.224.255.255
9810.225.0.0/1610.225.0.1 – 10.225.255.25410.225.255.255
9910.226.0.0/1610.226.0.1 – 10.226.255.25410.226.255.255
10010.227.0.0/1610.227.0.1 – 10.227.255.25410.227.255.255
10110.228.0.0/1610.228.0.1 – 10.228.255.25410.228.255.255
10210.229.0.0/1610.229.0.1 – 10.229.255.25410.229.255.255
10310.230.0.0/1610.230.0.1 – 10.230.255.25410.230.255.255
10410.231.0.0/1610.231.0.1 – 10.231.255.25410.231.255.255
10510.232.0.0/1610.232.0.1 – 10.232.255.25410.232.255.255
10610.233.0.0/1610.233.0.1 – 10.233.255.25410.233.255.255
10710.234.0.0/1610.234.0.1 – 10.234.255.25410.234.255.255
10810.235.0.0/1610.235.0.1 – 10.235.255.25410.235.255.255
10910.236.0.0/1610.236.0.1 – 10.236.255.25410.236.255.255
11010.237.0.0/1610.237.0.1 – 10.237.255.25410.237.255.255
11110.238.0.0/1610.238.0.1 – 10.238.255.25410.238.255.255
11210.239.0.0/1610.239.0.1 – 10.239.255.25410.239.255.255
11310.240.0.0/1610.240.0.1 – 10.240.255.25410.240.255.255
11410.241.0.0/1610.241.0.1 – 10.241.255.25410.241.255.255
11510.242.0.0/1610.242.0.1 – 10.242.255.25410.242.255.255
11610.243.0.0/1610.243.0.1 – 10.243.255.25410.243.255.255
11710.244.0.0/1610.244.0.1 – 10.244.255.25410.244.255.255
11810.245.0.0/1610.245.0.1 – 10.245.255.25410.245.255.255
11910.246.0.0/1610.246.0.1 – 10.246.255.25410.246.255.255
12010.247.0.0/1610.247.0.1 – 10.247.255.25410.247.255.255
12110.248.0.0/1610.248.0.1 – 10.248.255.25410.248.255.255
12210.249.0.0/1610.249.0.1 – 10.249.255.25410.249.255.255
12310.250.0.0/1610.250.0.1 – 10.250.255.25410.250.255.255
12410.251.0.0/1610.251.0.1 – 10.251.255.25410.251.255.255
12510.252.0.0/1610.252.0.1 – 10.252.255.25410.252.255.255
12610.253.0.0/1610.253.0.1 – 10.253.255.25410.253.255.255
12710.254.0.0/1610.254.0.1 – 10.254.255.25410.254.255.255
12810.255.0.0/1610.255.0.1 – 10.255.255.25410.255.255.255
01 / table

IPv4 CIDR prefix table.

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

prefixsubnet maskaddresseshostsin your /9
/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,6061
/10255.192.0.04,194,3044,194,3022 split →
/11255.224.0.02,097,1522,097,1504 split →
/12255.240.0.01,048,5761,048,5748 split →
/13255.248.0.0524,288524,28616 split →
/14255.252.0.0262,144262,14232 split →
/15255.254.0.0131,072131,07064 split →
/16255.255.0.065,53665,534128 split →
/17255.255.128.032,76832,766256 split →
/18255.255.192.016,38416,382512 split →
/19255.255.224.08,1928,1901,024 split →
/20255.255.240.04,0964,0942,048 split →
/21255.255.248.02,0482,0464,096 split →
/22255.255.252.01,0241,0228,192 split →
/23255.255.254.051251016,384 split →
/24255.255.255.025625432,768 split →
/25255.255.255.12812812665,536 split →
/26255.255.255.1926462131,072 split →
/27255.255.255.2243230262,144 split →
/28255.255.255.2401614524,288 split →
/29255.255.255.248861,048,576 split →
/30255.255.255.252422,097,152 split →
/31255.255.255.254224,194,304 split →
/32255.255.255.255118,388,608 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 →