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.16.0.0/12
network10.16.0.0/12
broadcast10.31.255.255
first host10.16.0.1
last host10.31.255.254
subnet mask255.240.0.0
wildcard0.15.255.255
addresses1,048,576
usable hosts1,048,574
classA
ipcalc 10.16.0.0/12
address00001010.00010000.00000000.00000000
subnet mask11111111.11110000.00000000.00000000
network00001010.00010000.00000000.00000000
broadcast00001010.00011111.11111111.11111111
green = network part, grey = host part
hex0x0a100000
decimal168820736
reverse dns0.0.16.10.in-addr.arpa
ipv4-mapped::ffff:a10:0

/12 split into /19 · 128 subnets

close ×
#networkhost rangebroadcast
110.16.0.0/1910.16.0.1 – 10.16.31.25410.16.31.255
210.16.32.0/1910.16.32.1 – 10.16.63.25410.16.63.255
310.16.64.0/1910.16.64.1 – 10.16.95.25410.16.95.255
410.16.96.0/1910.16.96.1 – 10.16.127.25410.16.127.255
510.16.128.0/1910.16.128.1 – 10.16.159.25410.16.159.255
610.16.160.0/1910.16.160.1 – 10.16.191.25410.16.191.255
710.16.192.0/1910.16.192.1 – 10.16.223.25410.16.223.255
810.16.224.0/1910.16.224.1 – 10.16.255.25410.16.255.255
910.17.0.0/1910.17.0.1 – 10.17.31.25410.17.31.255
1010.17.32.0/1910.17.32.1 – 10.17.63.25410.17.63.255
1110.17.64.0/1910.17.64.1 – 10.17.95.25410.17.95.255
1210.17.96.0/1910.17.96.1 – 10.17.127.25410.17.127.255
1310.17.128.0/1910.17.128.1 – 10.17.159.25410.17.159.255
1410.17.160.0/1910.17.160.1 – 10.17.191.25410.17.191.255
1510.17.192.0/1910.17.192.1 – 10.17.223.25410.17.223.255
1610.17.224.0/1910.17.224.1 – 10.17.255.25410.17.255.255
1710.18.0.0/1910.18.0.1 – 10.18.31.25410.18.31.255
1810.18.32.0/1910.18.32.1 – 10.18.63.25410.18.63.255
1910.18.64.0/1910.18.64.1 – 10.18.95.25410.18.95.255
2010.18.96.0/1910.18.96.1 – 10.18.127.25410.18.127.255
2110.18.128.0/1910.18.128.1 – 10.18.159.25410.18.159.255
2210.18.160.0/1910.18.160.1 – 10.18.191.25410.18.191.255
2310.18.192.0/1910.18.192.1 – 10.18.223.25410.18.223.255
2410.18.224.0/1910.18.224.1 – 10.18.255.25410.18.255.255
2510.19.0.0/1910.19.0.1 – 10.19.31.25410.19.31.255
2610.19.32.0/1910.19.32.1 – 10.19.63.25410.19.63.255
2710.19.64.0/1910.19.64.1 – 10.19.95.25410.19.95.255
2810.19.96.0/1910.19.96.1 – 10.19.127.25410.19.127.255
2910.19.128.0/1910.19.128.1 – 10.19.159.25410.19.159.255
3010.19.160.0/1910.19.160.1 – 10.19.191.25410.19.191.255
3110.19.192.0/1910.19.192.1 – 10.19.223.25410.19.223.255
3210.19.224.0/1910.19.224.1 – 10.19.255.25410.19.255.255
3310.20.0.0/1910.20.0.1 – 10.20.31.25410.20.31.255
3410.20.32.0/1910.20.32.1 – 10.20.63.25410.20.63.255
3510.20.64.0/1910.20.64.1 – 10.20.95.25410.20.95.255
3610.20.96.0/1910.20.96.1 – 10.20.127.25410.20.127.255
3710.20.128.0/1910.20.128.1 – 10.20.159.25410.20.159.255
3810.20.160.0/1910.20.160.1 – 10.20.191.25410.20.191.255
3910.20.192.0/1910.20.192.1 – 10.20.223.25410.20.223.255
4010.20.224.0/1910.20.224.1 – 10.20.255.25410.20.255.255
4110.21.0.0/1910.21.0.1 – 10.21.31.25410.21.31.255
4210.21.32.0/1910.21.32.1 – 10.21.63.25410.21.63.255
4310.21.64.0/1910.21.64.1 – 10.21.95.25410.21.95.255
4410.21.96.0/1910.21.96.1 – 10.21.127.25410.21.127.255
4510.21.128.0/1910.21.128.1 – 10.21.159.25410.21.159.255
4610.21.160.0/1910.21.160.1 – 10.21.191.25410.21.191.255
4710.21.192.0/1910.21.192.1 – 10.21.223.25410.21.223.255
4810.21.224.0/1910.21.224.1 – 10.21.255.25410.21.255.255
4910.22.0.0/1910.22.0.1 – 10.22.31.25410.22.31.255
5010.22.32.0/1910.22.32.1 – 10.22.63.25410.22.63.255
5110.22.64.0/1910.22.64.1 – 10.22.95.25410.22.95.255
5210.22.96.0/1910.22.96.1 – 10.22.127.25410.22.127.255
5310.22.128.0/1910.22.128.1 – 10.22.159.25410.22.159.255
5410.22.160.0/1910.22.160.1 – 10.22.191.25410.22.191.255
5510.22.192.0/1910.22.192.1 – 10.22.223.25410.22.223.255
5610.22.224.0/1910.22.224.1 – 10.22.255.25410.22.255.255
5710.23.0.0/1910.23.0.1 – 10.23.31.25410.23.31.255
5810.23.32.0/1910.23.32.1 – 10.23.63.25410.23.63.255
5910.23.64.0/1910.23.64.1 – 10.23.95.25410.23.95.255
6010.23.96.0/1910.23.96.1 – 10.23.127.25410.23.127.255
6110.23.128.0/1910.23.128.1 – 10.23.159.25410.23.159.255
6210.23.160.0/1910.23.160.1 – 10.23.191.25410.23.191.255
6310.23.192.0/1910.23.192.1 – 10.23.223.25410.23.223.255
6410.23.224.0/1910.23.224.1 – 10.23.255.25410.23.255.255
6510.24.0.0/1910.24.0.1 – 10.24.31.25410.24.31.255
6610.24.32.0/1910.24.32.1 – 10.24.63.25410.24.63.255
6710.24.64.0/1910.24.64.1 – 10.24.95.25410.24.95.255
6810.24.96.0/1910.24.96.1 – 10.24.127.25410.24.127.255
6910.24.128.0/1910.24.128.1 – 10.24.159.25410.24.159.255
7010.24.160.0/1910.24.160.1 – 10.24.191.25410.24.191.255
7110.24.192.0/1910.24.192.1 – 10.24.223.25410.24.223.255
7210.24.224.0/1910.24.224.1 – 10.24.255.25410.24.255.255
7310.25.0.0/1910.25.0.1 – 10.25.31.25410.25.31.255
7410.25.32.0/1910.25.32.1 – 10.25.63.25410.25.63.255
7510.25.64.0/1910.25.64.1 – 10.25.95.25410.25.95.255
7610.25.96.0/1910.25.96.1 – 10.25.127.25410.25.127.255
7710.25.128.0/1910.25.128.1 – 10.25.159.25410.25.159.255
7810.25.160.0/1910.25.160.1 – 10.25.191.25410.25.191.255
7910.25.192.0/1910.25.192.1 – 10.25.223.25410.25.223.255
8010.25.224.0/1910.25.224.1 – 10.25.255.25410.25.255.255
8110.26.0.0/1910.26.0.1 – 10.26.31.25410.26.31.255
8210.26.32.0/1910.26.32.1 – 10.26.63.25410.26.63.255
8310.26.64.0/1910.26.64.1 – 10.26.95.25410.26.95.255
8410.26.96.0/1910.26.96.1 – 10.26.127.25410.26.127.255
8510.26.128.0/1910.26.128.1 – 10.26.159.25410.26.159.255
8610.26.160.0/1910.26.160.1 – 10.26.191.25410.26.191.255
8710.26.192.0/1910.26.192.1 – 10.26.223.25410.26.223.255
8810.26.224.0/1910.26.224.1 – 10.26.255.25410.26.255.255
8910.27.0.0/1910.27.0.1 – 10.27.31.25410.27.31.255
9010.27.32.0/1910.27.32.1 – 10.27.63.25410.27.63.255
9110.27.64.0/1910.27.64.1 – 10.27.95.25410.27.95.255
9210.27.96.0/1910.27.96.1 – 10.27.127.25410.27.127.255
9310.27.128.0/1910.27.128.1 – 10.27.159.25410.27.159.255
9410.27.160.0/1910.27.160.1 – 10.27.191.25410.27.191.255
9510.27.192.0/1910.27.192.1 – 10.27.223.25410.27.223.255
9610.27.224.0/1910.27.224.1 – 10.27.255.25410.27.255.255
9710.28.0.0/1910.28.0.1 – 10.28.31.25410.28.31.255
9810.28.32.0/1910.28.32.1 – 10.28.63.25410.28.63.255
9910.28.64.0/1910.28.64.1 – 10.28.95.25410.28.95.255
10010.28.96.0/1910.28.96.1 – 10.28.127.25410.28.127.255
10110.28.128.0/1910.28.128.1 – 10.28.159.25410.28.159.255
10210.28.160.0/1910.28.160.1 – 10.28.191.25410.28.191.255
10310.28.192.0/1910.28.192.1 – 10.28.223.25410.28.223.255
10410.28.224.0/1910.28.224.1 – 10.28.255.25410.28.255.255
10510.29.0.0/1910.29.0.1 – 10.29.31.25410.29.31.255
10610.29.32.0/1910.29.32.1 – 10.29.63.25410.29.63.255
10710.29.64.0/1910.29.64.1 – 10.29.95.25410.29.95.255
10810.29.96.0/1910.29.96.1 – 10.29.127.25410.29.127.255
10910.29.128.0/1910.29.128.1 – 10.29.159.25410.29.159.255
11010.29.160.0/1910.29.160.1 – 10.29.191.25410.29.191.255
11110.29.192.0/1910.29.192.1 – 10.29.223.25410.29.223.255
11210.29.224.0/1910.29.224.1 – 10.29.255.25410.29.255.255
11310.30.0.0/1910.30.0.1 – 10.30.31.25410.30.31.255
11410.30.32.0/1910.30.32.1 – 10.30.63.25410.30.63.255
11510.30.64.0/1910.30.64.1 – 10.30.95.25410.30.95.255
11610.30.96.0/1910.30.96.1 – 10.30.127.25410.30.127.255
11710.30.128.0/1910.30.128.1 – 10.30.159.25410.30.159.255
11810.30.160.0/1910.30.160.1 – 10.30.191.25410.30.191.255
11910.30.192.0/1910.30.192.1 – 10.30.223.25410.30.223.255
12010.30.224.0/1910.30.224.1 – 10.30.255.25410.30.255.255
12110.31.0.0/1910.31.0.1 – 10.31.31.25410.31.31.255
12210.31.32.0/1910.31.32.1 – 10.31.63.25410.31.63.255
12310.31.64.0/1910.31.64.1 – 10.31.95.25410.31.95.255
12410.31.96.0/1910.31.96.1 – 10.31.127.25410.31.127.255
12510.31.128.0/1910.31.128.1 – 10.31.159.25410.31.159.255
12610.31.160.0/1910.31.160.1 – 10.31.191.25410.31.191.255
12710.31.192.0/1910.31.192.1 – 10.31.223.25410.31.223.255
12810.31.224.0/1910.31.224.1 – 10.31.255.25410.31.255.255
01 / table

IPv4 CIDR prefix table.

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

prefixsubnet maskaddresseshostsin your /12
/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,5741
/13255.248.0.0524,288524,2862 split →
/14255.252.0.0262,144262,1424 split →
/15255.254.0.0131,072131,0708 split →
/16255.255.0.065,53665,53416 split →
/17255.255.128.032,76832,76632 split →
/18255.255.192.016,38416,38264 split →
/19255.255.224.08,1928,190128 split →
/20255.255.240.04,0964,094256 split →
/21255.255.248.02,0482,046512 split →
/22255.255.252.01,0241,0221,024 split →
/23255.255.254.05125102,048 split →
/24255.255.255.02562544,096 split →
/25255.255.255.1281281268,192 split →
/26255.255.255.192646216,384 split →
/27255.255.255.224323032,768 split →
/28255.255.255.240161465,536 split →
/29255.255.255.24886131,072 split →
/30255.255.255.25242262,144 split →
/31255.255.255.25422524,288 split →
/32255.255.255.255111,048,576 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 →