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/10
network10.128.0.0/10
broadcast10.191.255.255
first host10.128.0.1
last host10.191.255.254
subnet mask255.192.0.0
wildcard0.63.255.255
addresses4,194,304
usable hosts4,194,302
classA
ipcalc 10.128.0.0/10
address00001010.10000000.00000000.00000000
subnet mask11111111.11000000.00000000.00000000
network00001010.10000000.00000000.00000000
broadcast00001010.10111111.11111111.11111111
green = network part, grey = host part
hex0x0a800000
decimal176160768
reverse dns0.0.128.10.in-addr.arpa
ipv4-mapped::ffff:a80:0

/10 split into /16 · 64 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
01 / table

IPv4 CIDR prefix table.

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

prefixsubnet maskaddresseshostsin your /10
/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,3021
/11255.224.0.02,097,1522,097,1502 split →
/12255.240.0.01,048,5761,048,5744 split →
/13255.248.0.0524,288524,2868 split →
/14255.252.0.0262,144262,14216 split →
/15255.254.0.0131,072131,07032 split →
/16255.255.0.065,53665,53464 split →
/17255.255.128.032,76832,766128 split →
/18255.255.192.016,38416,382256 split →
/19255.255.224.08,1928,190512 split →
/20255.255.240.04,0964,0941,024 split →
/21255.255.248.02,0482,0462,048 split →
/22255.255.252.01,0241,0224,096 split →
/23255.255.254.05125108,192 split →
/24255.255.255.025625416,384 split →
/25255.255.255.12812812632,768 split →
/26255.255.255.192646265,536 split →
/27255.255.255.2243230131,072 split →
/28255.255.255.2401614262,144 split →
/29255.255.255.24886524,288 split →
/30255.255.255.252421,048,576 split →
/31255.255.255.254222,097,152 split →
/32255.255.255.255114,194,304 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 →