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.8.0.0/13
network10.8.0.0/13
broadcast10.15.255.255
first host10.8.0.1
last host10.15.255.254
subnet mask255.248.0.0
wildcard0.7.255.255
addresses524,288
usable hosts524,286
classA
ipcalc 10.8.0.0/13
address00001010.00001000.00000000.00000000
subnet mask11111111.11111000.00000000.00000000
network00001010.00001000.00000000.00000000
broadcast00001010.00001111.11111111.11111111
green = network part, grey = host part
hex0x0a080000
decimal168296448
reverse dns0.0.8.10.in-addr.arpa
ipv4-mapped::ffff:a08:0

/13 split into /20 · 128 subnets

close ×
#networkhost rangebroadcast
110.8.0.0/2010.8.0.1 – 10.8.15.25410.8.15.255
210.8.16.0/2010.8.16.1 – 10.8.31.25410.8.31.255
310.8.32.0/2010.8.32.1 – 10.8.47.25410.8.47.255
410.8.48.0/2010.8.48.1 – 10.8.63.25410.8.63.255
510.8.64.0/2010.8.64.1 – 10.8.79.25410.8.79.255
610.8.80.0/2010.8.80.1 – 10.8.95.25410.8.95.255
710.8.96.0/2010.8.96.1 – 10.8.111.25410.8.111.255
810.8.112.0/2010.8.112.1 – 10.8.127.25410.8.127.255
910.8.128.0/2010.8.128.1 – 10.8.143.25410.8.143.255
1010.8.144.0/2010.8.144.1 – 10.8.159.25410.8.159.255
1110.8.160.0/2010.8.160.1 – 10.8.175.25410.8.175.255
1210.8.176.0/2010.8.176.1 – 10.8.191.25410.8.191.255
1310.8.192.0/2010.8.192.1 – 10.8.207.25410.8.207.255
1410.8.208.0/2010.8.208.1 – 10.8.223.25410.8.223.255
1510.8.224.0/2010.8.224.1 – 10.8.239.25410.8.239.255
1610.8.240.0/2010.8.240.1 – 10.8.255.25410.8.255.255
1710.9.0.0/2010.9.0.1 – 10.9.15.25410.9.15.255
1810.9.16.0/2010.9.16.1 – 10.9.31.25410.9.31.255
1910.9.32.0/2010.9.32.1 – 10.9.47.25410.9.47.255
2010.9.48.0/2010.9.48.1 – 10.9.63.25410.9.63.255
2110.9.64.0/2010.9.64.1 – 10.9.79.25410.9.79.255
2210.9.80.0/2010.9.80.1 – 10.9.95.25410.9.95.255
2310.9.96.0/2010.9.96.1 – 10.9.111.25410.9.111.255
2410.9.112.0/2010.9.112.1 – 10.9.127.25410.9.127.255
2510.9.128.0/2010.9.128.1 – 10.9.143.25410.9.143.255
2610.9.144.0/2010.9.144.1 – 10.9.159.25410.9.159.255
2710.9.160.0/2010.9.160.1 – 10.9.175.25410.9.175.255
2810.9.176.0/2010.9.176.1 – 10.9.191.25410.9.191.255
2910.9.192.0/2010.9.192.1 – 10.9.207.25410.9.207.255
3010.9.208.0/2010.9.208.1 – 10.9.223.25410.9.223.255
3110.9.224.0/2010.9.224.1 – 10.9.239.25410.9.239.255
3210.9.240.0/2010.9.240.1 – 10.9.255.25410.9.255.255
3310.10.0.0/2010.10.0.1 – 10.10.15.25410.10.15.255
3410.10.16.0/2010.10.16.1 – 10.10.31.25410.10.31.255
3510.10.32.0/2010.10.32.1 – 10.10.47.25410.10.47.255
3610.10.48.0/2010.10.48.1 – 10.10.63.25410.10.63.255
3710.10.64.0/2010.10.64.1 – 10.10.79.25410.10.79.255
3810.10.80.0/2010.10.80.1 – 10.10.95.25410.10.95.255
3910.10.96.0/2010.10.96.1 – 10.10.111.25410.10.111.255
4010.10.112.0/2010.10.112.1 – 10.10.127.25410.10.127.255
4110.10.128.0/2010.10.128.1 – 10.10.143.25410.10.143.255
4210.10.144.0/2010.10.144.1 – 10.10.159.25410.10.159.255
4310.10.160.0/2010.10.160.1 – 10.10.175.25410.10.175.255
4410.10.176.0/2010.10.176.1 – 10.10.191.25410.10.191.255
4510.10.192.0/2010.10.192.1 – 10.10.207.25410.10.207.255
4610.10.208.0/2010.10.208.1 – 10.10.223.25410.10.223.255
4710.10.224.0/2010.10.224.1 – 10.10.239.25410.10.239.255
4810.10.240.0/2010.10.240.1 – 10.10.255.25410.10.255.255
4910.11.0.0/2010.11.0.1 – 10.11.15.25410.11.15.255
5010.11.16.0/2010.11.16.1 – 10.11.31.25410.11.31.255
5110.11.32.0/2010.11.32.1 – 10.11.47.25410.11.47.255
5210.11.48.0/2010.11.48.1 – 10.11.63.25410.11.63.255
5310.11.64.0/2010.11.64.1 – 10.11.79.25410.11.79.255
5410.11.80.0/2010.11.80.1 – 10.11.95.25410.11.95.255
5510.11.96.0/2010.11.96.1 – 10.11.111.25410.11.111.255
5610.11.112.0/2010.11.112.1 – 10.11.127.25410.11.127.255
5710.11.128.0/2010.11.128.1 – 10.11.143.25410.11.143.255
5810.11.144.0/2010.11.144.1 – 10.11.159.25410.11.159.255
5910.11.160.0/2010.11.160.1 – 10.11.175.25410.11.175.255
6010.11.176.0/2010.11.176.1 – 10.11.191.25410.11.191.255
6110.11.192.0/2010.11.192.1 – 10.11.207.25410.11.207.255
6210.11.208.0/2010.11.208.1 – 10.11.223.25410.11.223.255
6310.11.224.0/2010.11.224.1 – 10.11.239.25410.11.239.255
6410.11.240.0/2010.11.240.1 – 10.11.255.25410.11.255.255
6510.12.0.0/2010.12.0.1 – 10.12.15.25410.12.15.255
6610.12.16.0/2010.12.16.1 – 10.12.31.25410.12.31.255
6710.12.32.0/2010.12.32.1 – 10.12.47.25410.12.47.255
6810.12.48.0/2010.12.48.1 – 10.12.63.25410.12.63.255
6910.12.64.0/2010.12.64.1 – 10.12.79.25410.12.79.255
7010.12.80.0/2010.12.80.1 – 10.12.95.25410.12.95.255
7110.12.96.0/2010.12.96.1 – 10.12.111.25410.12.111.255
7210.12.112.0/2010.12.112.1 – 10.12.127.25410.12.127.255
7310.12.128.0/2010.12.128.1 – 10.12.143.25410.12.143.255
7410.12.144.0/2010.12.144.1 – 10.12.159.25410.12.159.255
7510.12.160.0/2010.12.160.1 – 10.12.175.25410.12.175.255
7610.12.176.0/2010.12.176.1 – 10.12.191.25410.12.191.255
7710.12.192.0/2010.12.192.1 – 10.12.207.25410.12.207.255
7810.12.208.0/2010.12.208.1 – 10.12.223.25410.12.223.255
7910.12.224.0/2010.12.224.1 – 10.12.239.25410.12.239.255
8010.12.240.0/2010.12.240.1 – 10.12.255.25410.12.255.255
8110.13.0.0/2010.13.0.1 – 10.13.15.25410.13.15.255
8210.13.16.0/2010.13.16.1 – 10.13.31.25410.13.31.255
8310.13.32.0/2010.13.32.1 – 10.13.47.25410.13.47.255
8410.13.48.0/2010.13.48.1 – 10.13.63.25410.13.63.255
8510.13.64.0/2010.13.64.1 – 10.13.79.25410.13.79.255
8610.13.80.0/2010.13.80.1 – 10.13.95.25410.13.95.255
8710.13.96.0/2010.13.96.1 – 10.13.111.25410.13.111.255
8810.13.112.0/2010.13.112.1 – 10.13.127.25410.13.127.255
8910.13.128.0/2010.13.128.1 – 10.13.143.25410.13.143.255
9010.13.144.0/2010.13.144.1 – 10.13.159.25410.13.159.255
9110.13.160.0/2010.13.160.1 – 10.13.175.25410.13.175.255
9210.13.176.0/2010.13.176.1 – 10.13.191.25410.13.191.255
9310.13.192.0/2010.13.192.1 – 10.13.207.25410.13.207.255
9410.13.208.0/2010.13.208.1 – 10.13.223.25410.13.223.255
9510.13.224.0/2010.13.224.1 – 10.13.239.25410.13.239.255
9610.13.240.0/2010.13.240.1 – 10.13.255.25410.13.255.255
9710.14.0.0/2010.14.0.1 – 10.14.15.25410.14.15.255
9810.14.16.0/2010.14.16.1 – 10.14.31.25410.14.31.255
9910.14.32.0/2010.14.32.1 – 10.14.47.25410.14.47.255
10010.14.48.0/2010.14.48.1 – 10.14.63.25410.14.63.255
10110.14.64.0/2010.14.64.1 – 10.14.79.25410.14.79.255
10210.14.80.0/2010.14.80.1 – 10.14.95.25410.14.95.255
10310.14.96.0/2010.14.96.1 – 10.14.111.25410.14.111.255
10410.14.112.0/2010.14.112.1 – 10.14.127.25410.14.127.255
10510.14.128.0/2010.14.128.1 – 10.14.143.25410.14.143.255
10610.14.144.0/2010.14.144.1 – 10.14.159.25410.14.159.255
10710.14.160.0/2010.14.160.1 – 10.14.175.25410.14.175.255
10810.14.176.0/2010.14.176.1 – 10.14.191.25410.14.191.255
10910.14.192.0/2010.14.192.1 – 10.14.207.25410.14.207.255
11010.14.208.0/2010.14.208.1 – 10.14.223.25410.14.223.255
11110.14.224.0/2010.14.224.1 – 10.14.239.25410.14.239.255
11210.14.240.0/2010.14.240.1 – 10.14.255.25410.14.255.255
11310.15.0.0/2010.15.0.1 – 10.15.15.25410.15.15.255
11410.15.16.0/2010.15.16.1 – 10.15.31.25410.15.31.255
11510.15.32.0/2010.15.32.1 – 10.15.47.25410.15.47.255
11610.15.48.0/2010.15.48.1 – 10.15.63.25410.15.63.255
11710.15.64.0/2010.15.64.1 – 10.15.79.25410.15.79.255
11810.15.80.0/2010.15.80.1 – 10.15.95.25410.15.95.255
11910.15.96.0/2010.15.96.1 – 10.15.111.25410.15.111.255
12010.15.112.0/2010.15.112.1 – 10.15.127.25410.15.127.255
12110.15.128.0/2010.15.128.1 – 10.15.143.25410.15.143.255
12210.15.144.0/2010.15.144.1 – 10.15.159.25410.15.159.255
12310.15.160.0/2010.15.160.1 – 10.15.175.25410.15.175.255
12410.15.176.0/2010.15.176.1 – 10.15.191.25410.15.191.255
12510.15.192.0/2010.15.192.1 – 10.15.207.25410.15.207.255
12610.15.208.0/2010.15.208.1 – 10.15.223.25410.15.223.255
12710.15.224.0/2010.15.224.1 – 10.15.239.25410.15.239.255
12810.15.240.0/2010.15.240.1 – 10.15.255.25410.15.255.255
01 / table

IPv4 CIDR prefix table.

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

prefixsubnet maskaddresseshostsin your /13
/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,574-
/13255.248.0.0524,288524,2861
/14255.252.0.0262,144262,1422 split →
/15255.254.0.0131,072131,0704 split →
/16255.255.0.065,53665,5348 split →
/17255.255.128.032,76832,76616 split →
/18255.255.192.016,38416,38232 split →
/19255.255.224.08,1928,19064 split →
/20255.255.240.04,0964,094128 split →
/21255.255.248.02,0482,046256 split →
/22255.255.252.01,0241,022512 split →
/23255.255.254.05125101,024 split →
/24255.255.255.02562542,048 split →
/25255.255.255.1281281264,096 split →
/26255.255.255.19264628,192 split →
/27255.255.255.224323016,384 split →
/28255.255.255.240161432,768 split →
/29255.255.255.2488665,536 split →
/30255.255.255.25242131,072 split →
/31255.255.255.25422262,144 split →
/32255.255.255.25511524,288 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 →