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.120.0.0/13
network10.120.0.0/13
broadcast10.127.255.255
first host10.120.0.1
last host10.127.255.254
subnet mask255.248.0.0
wildcard0.7.255.255
addresses524,288
usable hosts524,286
classA
ipcalc 10.120.0.0/13
address00001010.01111000.00000000.00000000
subnet mask11111111.11111000.00000000.00000000
network00001010.01111000.00000000.00000000
broadcast00001010.01111111.11111111.11111111
green = network part, grey = host part
hex0x0a780000
decimal175636480
reverse dns0.0.120.10.in-addr.arpa
ipv4-mapped::ffff:a78:0

/13 split into /20 · 128 subnets

close ×
#networkhost rangebroadcast
110.120.0.0/2010.120.0.1 – 10.120.15.25410.120.15.255
210.120.16.0/2010.120.16.1 – 10.120.31.25410.120.31.255
310.120.32.0/2010.120.32.1 – 10.120.47.25410.120.47.255
410.120.48.0/2010.120.48.1 – 10.120.63.25410.120.63.255
510.120.64.0/2010.120.64.1 – 10.120.79.25410.120.79.255
610.120.80.0/2010.120.80.1 – 10.120.95.25410.120.95.255
710.120.96.0/2010.120.96.1 – 10.120.111.25410.120.111.255
810.120.112.0/2010.120.112.1 – 10.120.127.25410.120.127.255
910.120.128.0/2010.120.128.1 – 10.120.143.25410.120.143.255
1010.120.144.0/2010.120.144.1 – 10.120.159.25410.120.159.255
1110.120.160.0/2010.120.160.1 – 10.120.175.25410.120.175.255
1210.120.176.0/2010.120.176.1 – 10.120.191.25410.120.191.255
1310.120.192.0/2010.120.192.1 – 10.120.207.25410.120.207.255
1410.120.208.0/2010.120.208.1 – 10.120.223.25410.120.223.255
1510.120.224.0/2010.120.224.1 – 10.120.239.25410.120.239.255
1610.120.240.0/2010.120.240.1 – 10.120.255.25410.120.255.255
1710.121.0.0/2010.121.0.1 – 10.121.15.25410.121.15.255
1810.121.16.0/2010.121.16.1 – 10.121.31.25410.121.31.255
1910.121.32.0/2010.121.32.1 – 10.121.47.25410.121.47.255
2010.121.48.0/2010.121.48.1 – 10.121.63.25410.121.63.255
2110.121.64.0/2010.121.64.1 – 10.121.79.25410.121.79.255
2210.121.80.0/2010.121.80.1 – 10.121.95.25410.121.95.255
2310.121.96.0/2010.121.96.1 – 10.121.111.25410.121.111.255
2410.121.112.0/2010.121.112.1 – 10.121.127.25410.121.127.255
2510.121.128.0/2010.121.128.1 – 10.121.143.25410.121.143.255
2610.121.144.0/2010.121.144.1 – 10.121.159.25410.121.159.255
2710.121.160.0/2010.121.160.1 – 10.121.175.25410.121.175.255
2810.121.176.0/2010.121.176.1 – 10.121.191.25410.121.191.255
2910.121.192.0/2010.121.192.1 – 10.121.207.25410.121.207.255
3010.121.208.0/2010.121.208.1 – 10.121.223.25410.121.223.255
3110.121.224.0/2010.121.224.1 – 10.121.239.25410.121.239.255
3210.121.240.0/2010.121.240.1 – 10.121.255.25410.121.255.255
3310.122.0.0/2010.122.0.1 – 10.122.15.25410.122.15.255
3410.122.16.0/2010.122.16.1 – 10.122.31.25410.122.31.255
3510.122.32.0/2010.122.32.1 – 10.122.47.25410.122.47.255
3610.122.48.0/2010.122.48.1 – 10.122.63.25410.122.63.255
3710.122.64.0/2010.122.64.1 – 10.122.79.25410.122.79.255
3810.122.80.0/2010.122.80.1 – 10.122.95.25410.122.95.255
3910.122.96.0/2010.122.96.1 – 10.122.111.25410.122.111.255
4010.122.112.0/2010.122.112.1 – 10.122.127.25410.122.127.255
4110.122.128.0/2010.122.128.1 – 10.122.143.25410.122.143.255
4210.122.144.0/2010.122.144.1 – 10.122.159.25410.122.159.255
4310.122.160.0/2010.122.160.1 – 10.122.175.25410.122.175.255
4410.122.176.0/2010.122.176.1 – 10.122.191.25410.122.191.255
4510.122.192.0/2010.122.192.1 – 10.122.207.25410.122.207.255
4610.122.208.0/2010.122.208.1 – 10.122.223.25410.122.223.255
4710.122.224.0/2010.122.224.1 – 10.122.239.25410.122.239.255
4810.122.240.0/2010.122.240.1 – 10.122.255.25410.122.255.255
4910.123.0.0/2010.123.0.1 – 10.123.15.25410.123.15.255
5010.123.16.0/2010.123.16.1 – 10.123.31.25410.123.31.255
5110.123.32.0/2010.123.32.1 – 10.123.47.25410.123.47.255
5210.123.48.0/2010.123.48.1 – 10.123.63.25410.123.63.255
5310.123.64.0/2010.123.64.1 – 10.123.79.25410.123.79.255
5410.123.80.0/2010.123.80.1 – 10.123.95.25410.123.95.255
5510.123.96.0/2010.123.96.1 – 10.123.111.25410.123.111.255
5610.123.112.0/2010.123.112.1 – 10.123.127.25410.123.127.255
5710.123.128.0/2010.123.128.1 – 10.123.143.25410.123.143.255
5810.123.144.0/2010.123.144.1 – 10.123.159.25410.123.159.255
5910.123.160.0/2010.123.160.1 – 10.123.175.25410.123.175.255
6010.123.176.0/2010.123.176.1 – 10.123.191.25410.123.191.255
6110.123.192.0/2010.123.192.1 – 10.123.207.25410.123.207.255
6210.123.208.0/2010.123.208.1 – 10.123.223.25410.123.223.255
6310.123.224.0/2010.123.224.1 – 10.123.239.25410.123.239.255
6410.123.240.0/2010.123.240.1 – 10.123.255.25410.123.255.255
6510.124.0.0/2010.124.0.1 – 10.124.15.25410.124.15.255
6610.124.16.0/2010.124.16.1 – 10.124.31.25410.124.31.255
6710.124.32.0/2010.124.32.1 – 10.124.47.25410.124.47.255
6810.124.48.0/2010.124.48.1 – 10.124.63.25410.124.63.255
6910.124.64.0/2010.124.64.1 – 10.124.79.25410.124.79.255
7010.124.80.0/2010.124.80.1 – 10.124.95.25410.124.95.255
7110.124.96.0/2010.124.96.1 – 10.124.111.25410.124.111.255
7210.124.112.0/2010.124.112.1 – 10.124.127.25410.124.127.255
7310.124.128.0/2010.124.128.1 – 10.124.143.25410.124.143.255
7410.124.144.0/2010.124.144.1 – 10.124.159.25410.124.159.255
7510.124.160.0/2010.124.160.1 – 10.124.175.25410.124.175.255
7610.124.176.0/2010.124.176.1 – 10.124.191.25410.124.191.255
7710.124.192.0/2010.124.192.1 – 10.124.207.25410.124.207.255
7810.124.208.0/2010.124.208.1 – 10.124.223.25410.124.223.255
7910.124.224.0/2010.124.224.1 – 10.124.239.25410.124.239.255
8010.124.240.0/2010.124.240.1 – 10.124.255.25410.124.255.255
8110.125.0.0/2010.125.0.1 – 10.125.15.25410.125.15.255
8210.125.16.0/2010.125.16.1 – 10.125.31.25410.125.31.255
8310.125.32.0/2010.125.32.1 – 10.125.47.25410.125.47.255
8410.125.48.0/2010.125.48.1 – 10.125.63.25410.125.63.255
8510.125.64.0/2010.125.64.1 – 10.125.79.25410.125.79.255
8610.125.80.0/2010.125.80.1 – 10.125.95.25410.125.95.255
8710.125.96.0/2010.125.96.1 – 10.125.111.25410.125.111.255
8810.125.112.0/2010.125.112.1 – 10.125.127.25410.125.127.255
8910.125.128.0/2010.125.128.1 – 10.125.143.25410.125.143.255
9010.125.144.0/2010.125.144.1 – 10.125.159.25410.125.159.255
9110.125.160.0/2010.125.160.1 – 10.125.175.25410.125.175.255
9210.125.176.0/2010.125.176.1 – 10.125.191.25410.125.191.255
9310.125.192.0/2010.125.192.1 – 10.125.207.25410.125.207.255
9410.125.208.0/2010.125.208.1 – 10.125.223.25410.125.223.255
9510.125.224.0/2010.125.224.1 – 10.125.239.25410.125.239.255
9610.125.240.0/2010.125.240.1 – 10.125.255.25410.125.255.255
9710.126.0.0/2010.126.0.1 – 10.126.15.25410.126.15.255
9810.126.16.0/2010.126.16.1 – 10.126.31.25410.126.31.255
9910.126.32.0/2010.126.32.1 – 10.126.47.25410.126.47.255
10010.126.48.0/2010.126.48.1 – 10.126.63.25410.126.63.255
10110.126.64.0/2010.126.64.1 – 10.126.79.25410.126.79.255
10210.126.80.0/2010.126.80.1 – 10.126.95.25410.126.95.255
10310.126.96.0/2010.126.96.1 – 10.126.111.25410.126.111.255
10410.126.112.0/2010.126.112.1 – 10.126.127.25410.126.127.255
10510.126.128.0/2010.126.128.1 – 10.126.143.25410.126.143.255
10610.126.144.0/2010.126.144.1 – 10.126.159.25410.126.159.255
10710.126.160.0/2010.126.160.1 – 10.126.175.25410.126.175.255
10810.126.176.0/2010.126.176.1 – 10.126.191.25410.126.191.255
10910.126.192.0/2010.126.192.1 – 10.126.207.25410.126.207.255
11010.126.208.0/2010.126.208.1 – 10.126.223.25410.126.223.255
11110.126.224.0/2010.126.224.1 – 10.126.239.25410.126.239.255
11210.126.240.0/2010.126.240.1 – 10.126.255.25410.126.255.255
11310.127.0.0/2010.127.0.1 – 10.127.15.25410.127.15.255
11410.127.16.0/2010.127.16.1 – 10.127.31.25410.127.31.255
11510.127.32.0/2010.127.32.1 – 10.127.47.25410.127.47.255
11610.127.48.0/2010.127.48.1 – 10.127.63.25410.127.63.255
11710.127.64.0/2010.127.64.1 – 10.127.79.25410.127.79.255
11810.127.80.0/2010.127.80.1 – 10.127.95.25410.127.95.255
11910.127.96.0/2010.127.96.1 – 10.127.111.25410.127.111.255
12010.127.112.0/2010.127.112.1 – 10.127.127.25410.127.127.255
12110.127.128.0/2010.127.128.1 – 10.127.143.25410.127.143.255
12210.127.144.0/2010.127.144.1 – 10.127.159.25410.127.159.255
12310.127.160.0/2010.127.160.1 – 10.127.175.25410.127.175.255
12410.127.176.0/2010.127.176.1 – 10.127.191.25410.127.191.255
12510.127.192.0/2010.127.192.1 – 10.127.207.25410.127.207.255
12610.127.208.0/2010.127.208.1 – 10.127.223.25410.127.223.255
12710.127.224.0/2010.127.224.1 – 10.127.239.25410.127.239.255
12810.127.240.0/2010.127.240.1 – 10.127.255.25410.127.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 →