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.80.0.0/12
network10.80.0.0/12
broadcast10.95.255.255
first host10.80.0.1
last host10.95.255.254
subnet mask255.240.0.0
wildcard0.15.255.255
addresses1,048,576
usable hosts1,048,574
classA
ipcalc 10.80.0.0/12
address00001010.01010000.00000000.00000000
subnet mask11111111.11110000.00000000.00000000
network00001010.01010000.00000000.00000000
broadcast00001010.01011111.11111111.11111111
green = network part, grey = host part
hex0x0a500000
decimal173015040
reverse dns0.0.80.10.in-addr.arpa
ipv4-mapped::ffff:a50:0

/12 split into /19 · 128 subnets

close ×
#networkhost rangebroadcast
110.80.0.0/1910.80.0.1 – 10.80.31.25410.80.31.255
210.80.32.0/1910.80.32.1 – 10.80.63.25410.80.63.255
310.80.64.0/1910.80.64.1 – 10.80.95.25410.80.95.255
410.80.96.0/1910.80.96.1 – 10.80.127.25410.80.127.255
510.80.128.0/1910.80.128.1 – 10.80.159.25410.80.159.255
610.80.160.0/1910.80.160.1 – 10.80.191.25410.80.191.255
710.80.192.0/1910.80.192.1 – 10.80.223.25410.80.223.255
810.80.224.0/1910.80.224.1 – 10.80.255.25410.80.255.255
910.81.0.0/1910.81.0.1 – 10.81.31.25410.81.31.255
1010.81.32.0/1910.81.32.1 – 10.81.63.25410.81.63.255
1110.81.64.0/1910.81.64.1 – 10.81.95.25410.81.95.255
1210.81.96.0/1910.81.96.1 – 10.81.127.25410.81.127.255
1310.81.128.0/1910.81.128.1 – 10.81.159.25410.81.159.255
1410.81.160.0/1910.81.160.1 – 10.81.191.25410.81.191.255
1510.81.192.0/1910.81.192.1 – 10.81.223.25410.81.223.255
1610.81.224.0/1910.81.224.1 – 10.81.255.25410.81.255.255
1710.82.0.0/1910.82.0.1 – 10.82.31.25410.82.31.255
1810.82.32.0/1910.82.32.1 – 10.82.63.25410.82.63.255
1910.82.64.0/1910.82.64.1 – 10.82.95.25410.82.95.255
2010.82.96.0/1910.82.96.1 – 10.82.127.25410.82.127.255
2110.82.128.0/1910.82.128.1 – 10.82.159.25410.82.159.255
2210.82.160.0/1910.82.160.1 – 10.82.191.25410.82.191.255
2310.82.192.0/1910.82.192.1 – 10.82.223.25410.82.223.255
2410.82.224.0/1910.82.224.1 – 10.82.255.25410.82.255.255
2510.83.0.0/1910.83.0.1 – 10.83.31.25410.83.31.255
2610.83.32.0/1910.83.32.1 – 10.83.63.25410.83.63.255
2710.83.64.0/1910.83.64.1 – 10.83.95.25410.83.95.255
2810.83.96.0/1910.83.96.1 – 10.83.127.25410.83.127.255
2910.83.128.0/1910.83.128.1 – 10.83.159.25410.83.159.255
3010.83.160.0/1910.83.160.1 – 10.83.191.25410.83.191.255
3110.83.192.0/1910.83.192.1 – 10.83.223.25410.83.223.255
3210.83.224.0/1910.83.224.1 – 10.83.255.25410.83.255.255
3310.84.0.0/1910.84.0.1 – 10.84.31.25410.84.31.255
3410.84.32.0/1910.84.32.1 – 10.84.63.25410.84.63.255
3510.84.64.0/1910.84.64.1 – 10.84.95.25410.84.95.255
3610.84.96.0/1910.84.96.1 – 10.84.127.25410.84.127.255
3710.84.128.0/1910.84.128.1 – 10.84.159.25410.84.159.255
3810.84.160.0/1910.84.160.1 – 10.84.191.25410.84.191.255
3910.84.192.0/1910.84.192.1 – 10.84.223.25410.84.223.255
4010.84.224.0/1910.84.224.1 – 10.84.255.25410.84.255.255
4110.85.0.0/1910.85.0.1 – 10.85.31.25410.85.31.255
4210.85.32.0/1910.85.32.1 – 10.85.63.25410.85.63.255
4310.85.64.0/1910.85.64.1 – 10.85.95.25410.85.95.255
4410.85.96.0/1910.85.96.1 – 10.85.127.25410.85.127.255
4510.85.128.0/1910.85.128.1 – 10.85.159.25410.85.159.255
4610.85.160.0/1910.85.160.1 – 10.85.191.25410.85.191.255
4710.85.192.0/1910.85.192.1 – 10.85.223.25410.85.223.255
4810.85.224.0/1910.85.224.1 – 10.85.255.25410.85.255.255
4910.86.0.0/1910.86.0.1 – 10.86.31.25410.86.31.255
5010.86.32.0/1910.86.32.1 – 10.86.63.25410.86.63.255
5110.86.64.0/1910.86.64.1 – 10.86.95.25410.86.95.255
5210.86.96.0/1910.86.96.1 – 10.86.127.25410.86.127.255
5310.86.128.0/1910.86.128.1 – 10.86.159.25410.86.159.255
5410.86.160.0/1910.86.160.1 – 10.86.191.25410.86.191.255
5510.86.192.0/1910.86.192.1 – 10.86.223.25410.86.223.255
5610.86.224.0/1910.86.224.1 – 10.86.255.25410.86.255.255
5710.87.0.0/1910.87.0.1 – 10.87.31.25410.87.31.255
5810.87.32.0/1910.87.32.1 – 10.87.63.25410.87.63.255
5910.87.64.0/1910.87.64.1 – 10.87.95.25410.87.95.255
6010.87.96.0/1910.87.96.1 – 10.87.127.25410.87.127.255
6110.87.128.0/1910.87.128.1 – 10.87.159.25410.87.159.255
6210.87.160.0/1910.87.160.1 – 10.87.191.25410.87.191.255
6310.87.192.0/1910.87.192.1 – 10.87.223.25410.87.223.255
6410.87.224.0/1910.87.224.1 – 10.87.255.25410.87.255.255
6510.88.0.0/1910.88.0.1 – 10.88.31.25410.88.31.255
6610.88.32.0/1910.88.32.1 – 10.88.63.25410.88.63.255
6710.88.64.0/1910.88.64.1 – 10.88.95.25410.88.95.255
6810.88.96.0/1910.88.96.1 – 10.88.127.25410.88.127.255
6910.88.128.0/1910.88.128.1 – 10.88.159.25410.88.159.255
7010.88.160.0/1910.88.160.1 – 10.88.191.25410.88.191.255
7110.88.192.0/1910.88.192.1 – 10.88.223.25410.88.223.255
7210.88.224.0/1910.88.224.1 – 10.88.255.25410.88.255.255
7310.89.0.0/1910.89.0.1 – 10.89.31.25410.89.31.255
7410.89.32.0/1910.89.32.1 – 10.89.63.25410.89.63.255
7510.89.64.0/1910.89.64.1 – 10.89.95.25410.89.95.255
7610.89.96.0/1910.89.96.1 – 10.89.127.25410.89.127.255
7710.89.128.0/1910.89.128.1 – 10.89.159.25410.89.159.255
7810.89.160.0/1910.89.160.1 – 10.89.191.25410.89.191.255
7910.89.192.0/1910.89.192.1 – 10.89.223.25410.89.223.255
8010.89.224.0/1910.89.224.1 – 10.89.255.25410.89.255.255
8110.90.0.0/1910.90.0.1 – 10.90.31.25410.90.31.255
8210.90.32.0/1910.90.32.1 – 10.90.63.25410.90.63.255
8310.90.64.0/1910.90.64.1 – 10.90.95.25410.90.95.255
8410.90.96.0/1910.90.96.1 – 10.90.127.25410.90.127.255
8510.90.128.0/1910.90.128.1 – 10.90.159.25410.90.159.255
8610.90.160.0/1910.90.160.1 – 10.90.191.25410.90.191.255
8710.90.192.0/1910.90.192.1 – 10.90.223.25410.90.223.255
8810.90.224.0/1910.90.224.1 – 10.90.255.25410.90.255.255
8910.91.0.0/1910.91.0.1 – 10.91.31.25410.91.31.255
9010.91.32.0/1910.91.32.1 – 10.91.63.25410.91.63.255
9110.91.64.0/1910.91.64.1 – 10.91.95.25410.91.95.255
9210.91.96.0/1910.91.96.1 – 10.91.127.25410.91.127.255
9310.91.128.0/1910.91.128.1 – 10.91.159.25410.91.159.255
9410.91.160.0/1910.91.160.1 – 10.91.191.25410.91.191.255
9510.91.192.0/1910.91.192.1 – 10.91.223.25410.91.223.255
9610.91.224.0/1910.91.224.1 – 10.91.255.25410.91.255.255
9710.92.0.0/1910.92.0.1 – 10.92.31.25410.92.31.255
9810.92.32.0/1910.92.32.1 – 10.92.63.25410.92.63.255
9910.92.64.0/1910.92.64.1 – 10.92.95.25410.92.95.255
10010.92.96.0/1910.92.96.1 – 10.92.127.25410.92.127.255
10110.92.128.0/1910.92.128.1 – 10.92.159.25410.92.159.255
10210.92.160.0/1910.92.160.1 – 10.92.191.25410.92.191.255
10310.92.192.0/1910.92.192.1 – 10.92.223.25410.92.223.255
10410.92.224.0/1910.92.224.1 – 10.92.255.25410.92.255.255
10510.93.0.0/1910.93.0.1 – 10.93.31.25410.93.31.255
10610.93.32.0/1910.93.32.1 – 10.93.63.25410.93.63.255
10710.93.64.0/1910.93.64.1 – 10.93.95.25410.93.95.255
10810.93.96.0/1910.93.96.1 – 10.93.127.25410.93.127.255
10910.93.128.0/1910.93.128.1 – 10.93.159.25410.93.159.255
11010.93.160.0/1910.93.160.1 – 10.93.191.25410.93.191.255
11110.93.192.0/1910.93.192.1 – 10.93.223.25410.93.223.255
11210.93.224.0/1910.93.224.1 – 10.93.255.25410.93.255.255
11310.94.0.0/1910.94.0.1 – 10.94.31.25410.94.31.255
11410.94.32.0/1910.94.32.1 – 10.94.63.25410.94.63.255
11510.94.64.0/1910.94.64.1 – 10.94.95.25410.94.95.255
11610.94.96.0/1910.94.96.1 – 10.94.127.25410.94.127.255
11710.94.128.0/1910.94.128.1 – 10.94.159.25410.94.159.255
11810.94.160.0/1910.94.160.1 – 10.94.191.25410.94.191.255
11910.94.192.0/1910.94.192.1 – 10.94.223.25410.94.223.255
12010.94.224.0/1910.94.224.1 – 10.94.255.25410.94.255.255
12110.95.0.0/1910.95.0.1 – 10.95.31.25410.95.31.255
12210.95.32.0/1910.95.32.1 – 10.95.63.25410.95.63.255
12310.95.64.0/1910.95.64.1 – 10.95.95.25410.95.95.255
12410.95.96.0/1910.95.96.1 – 10.95.127.25410.95.127.255
12510.95.128.0/1910.95.128.1 – 10.95.159.25410.95.159.255
12610.95.160.0/1910.95.160.1 – 10.95.191.25410.95.191.255
12710.95.192.0/1910.95.192.1 – 10.95.223.25410.95.223.255
12810.95.224.0/1910.95.224.1 – 10.95.255.25410.95.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 →