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.0.0.0/10
network10.0.0.0/10
broadcast10.63.255.255
first host10.0.0.1
last host10.63.255.254
subnet mask255.192.0.0
wildcard0.63.255.255
addresses4,194,304
usable hosts4,194,302
classA
ipcalc 10.0.0.0/10
address00001010.00000000.00000000.00000000
subnet mask11111111.11000000.00000000.00000000
network00001010.00000000.00000000.00000000
broadcast00001010.00111111.11111111.11111111
green = network part, grey = host part
hex0x0a000000
decimal167772160
reverse dns0.0.0.10.in-addr.arpa
ipv4-mapped::ffff:a00:0

/10 split into /16 · 64 subnets

close ×
#networkhost rangebroadcast
110.0.0.0/1610.0.0.1 – 10.0.255.25410.0.255.255
210.1.0.0/1610.1.0.1 – 10.1.255.25410.1.255.255
310.2.0.0/1610.2.0.1 – 10.2.255.25410.2.255.255
410.3.0.0/1610.3.0.1 – 10.3.255.25410.3.255.255
510.4.0.0/1610.4.0.1 – 10.4.255.25410.4.255.255
610.5.0.0/1610.5.0.1 – 10.5.255.25410.5.255.255
710.6.0.0/1610.6.0.1 – 10.6.255.25410.6.255.255
810.7.0.0/1610.7.0.1 – 10.7.255.25410.7.255.255
910.8.0.0/1610.8.0.1 – 10.8.255.25410.8.255.255
1010.9.0.0/1610.9.0.1 – 10.9.255.25410.9.255.255
1110.10.0.0/1610.10.0.1 – 10.10.255.25410.10.255.255
1210.11.0.0/1610.11.0.1 – 10.11.255.25410.11.255.255
1310.12.0.0/1610.12.0.1 – 10.12.255.25410.12.255.255
1410.13.0.0/1610.13.0.1 – 10.13.255.25410.13.255.255
1510.14.0.0/1610.14.0.1 – 10.14.255.25410.14.255.255
1610.15.0.0/1610.15.0.1 – 10.15.255.25410.15.255.255
1710.16.0.0/1610.16.0.1 – 10.16.255.25410.16.255.255
1810.17.0.0/1610.17.0.1 – 10.17.255.25410.17.255.255
1910.18.0.0/1610.18.0.1 – 10.18.255.25410.18.255.255
2010.19.0.0/1610.19.0.1 – 10.19.255.25410.19.255.255
2110.20.0.0/1610.20.0.1 – 10.20.255.25410.20.255.255
2210.21.0.0/1610.21.0.1 – 10.21.255.25410.21.255.255
2310.22.0.0/1610.22.0.1 – 10.22.255.25410.22.255.255
2410.23.0.0/1610.23.0.1 – 10.23.255.25410.23.255.255
2510.24.0.0/1610.24.0.1 – 10.24.255.25410.24.255.255
2610.25.0.0/1610.25.0.1 – 10.25.255.25410.25.255.255
2710.26.0.0/1610.26.0.1 – 10.26.255.25410.26.255.255
2810.27.0.0/1610.27.0.1 – 10.27.255.25410.27.255.255
2910.28.0.0/1610.28.0.1 – 10.28.255.25410.28.255.255
3010.29.0.0/1610.29.0.1 – 10.29.255.25410.29.255.255
3110.30.0.0/1610.30.0.1 – 10.30.255.25410.30.255.255
3210.31.0.0/1610.31.0.1 – 10.31.255.25410.31.255.255
3310.32.0.0/1610.32.0.1 – 10.32.255.25410.32.255.255
3410.33.0.0/1610.33.0.1 – 10.33.255.25410.33.255.255
3510.34.0.0/1610.34.0.1 – 10.34.255.25410.34.255.255
3610.35.0.0/1610.35.0.1 – 10.35.255.25410.35.255.255
3710.36.0.0/1610.36.0.1 – 10.36.255.25410.36.255.255
3810.37.0.0/1610.37.0.1 – 10.37.255.25410.37.255.255
3910.38.0.0/1610.38.0.1 – 10.38.255.25410.38.255.255
4010.39.0.0/1610.39.0.1 – 10.39.255.25410.39.255.255
4110.40.0.0/1610.40.0.1 – 10.40.255.25410.40.255.255
4210.41.0.0/1610.41.0.1 – 10.41.255.25410.41.255.255
4310.42.0.0/1610.42.0.1 – 10.42.255.25410.42.255.255
4410.43.0.0/1610.43.0.1 – 10.43.255.25410.43.255.255
4510.44.0.0/1610.44.0.1 – 10.44.255.25410.44.255.255
4610.45.0.0/1610.45.0.1 – 10.45.255.25410.45.255.255
4710.46.0.0/1610.46.0.1 – 10.46.255.25410.46.255.255
4810.47.0.0/1610.47.0.1 – 10.47.255.25410.47.255.255
4910.48.0.0/1610.48.0.1 – 10.48.255.25410.48.255.255
5010.49.0.0/1610.49.0.1 – 10.49.255.25410.49.255.255
5110.50.0.0/1610.50.0.1 – 10.50.255.25410.50.255.255
5210.51.0.0/1610.51.0.1 – 10.51.255.25410.51.255.255
5310.52.0.0/1610.52.0.1 – 10.52.255.25410.52.255.255
5410.53.0.0/1610.53.0.1 – 10.53.255.25410.53.255.255
5510.54.0.0/1610.54.0.1 – 10.54.255.25410.54.255.255
5610.55.0.0/1610.55.0.1 – 10.55.255.25410.55.255.255
5710.56.0.0/1610.56.0.1 – 10.56.255.25410.56.255.255
5810.57.0.0/1610.57.0.1 – 10.57.255.25410.57.255.255
5910.58.0.0/1610.58.0.1 – 10.58.255.25410.58.255.255
6010.59.0.0/1610.59.0.1 – 10.59.255.25410.59.255.255
6110.60.0.0/1610.60.0.1 – 10.60.255.25410.60.255.255
6210.61.0.0/1610.61.0.1 – 10.61.255.25410.61.255.255
6310.62.0.0/1610.62.0.1 – 10.62.255.25410.62.255.255
6410.63.0.0/1610.63.0.1 – 10.63.255.25410.63.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 →