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.40.0.0/13
network10.40.0.0/13
broadcast10.47.255.255
first host10.40.0.1
last host10.47.255.254
subnet mask255.248.0.0
wildcard0.7.255.255
addresses524,288
usable hosts524,286
classA
ipcalc 10.40.0.0/13
address00001010.00101000.00000000.00000000
subnet mask11111111.11111000.00000000.00000000
network00001010.00101000.00000000.00000000
broadcast00001010.00101111.11111111.11111111
green = network part, grey = host part
hex0x0a280000
decimal170393600
reverse dns0.0.40.10.in-addr.arpa
ipv4-mapped::ffff:a28:0

/13 split into /20 · 128 subnets

close ×
#networkhost rangebroadcast
110.40.0.0/2010.40.0.1 – 10.40.15.25410.40.15.255
210.40.16.0/2010.40.16.1 – 10.40.31.25410.40.31.255
310.40.32.0/2010.40.32.1 – 10.40.47.25410.40.47.255
410.40.48.0/2010.40.48.1 – 10.40.63.25410.40.63.255
510.40.64.0/2010.40.64.1 – 10.40.79.25410.40.79.255
610.40.80.0/2010.40.80.1 – 10.40.95.25410.40.95.255
710.40.96.0/2010.40.96.1 – 10.40.111.25410.40.111.255
810.40.112.0/2010.40.112.1 – 10.40.127.25410.40.127.255
910.40.128.0/2010.40.128.1 – 10.40.143.25410.40.143.255
1010.40.144.0/2010.40.144.1 – 10.40.159.25410.40.159.255
1110.40.160.0/2010.40.160.1 – 10.40.175.25410.40.175.255
1210.40.176.0/2010.40.176.1 – 10.40.191.25410.40.191.255
1310.40.192.0/2010.40.192.1 – 10.40.207.25410.40.207.255
1410.40.208.0/2010.40.208.1 – 10.40.223.25410.40.223.255
1510.40.224.0/2010.40.224.1 – 10.40.239.25410.40.239.255
1610.40.240.0/2010.40.240.1 – 10.40.255.25410.40.255.255
1710.41.0.0/2010.41.0.1 – 10.41.15.25410.41.15.255
1810.41.16.0/2010.41.16.1 – 10.41.31.25410.41.31.255
1910.41.32.0/2010.41.32.1 – 10.41.47.25410.41.47.255
2010.41.48.0/2010.41.48.1 – 10.41.63.25410.41.63.255
2110.41.64.0/2010.41.64.1 – 10.41.79.25410.41.79.255
2210.41.80.0/2010.41.80.1 – 10.41.95.25410.41.95.255
2310.41.96.0/2010.41.96.1 – 10.41.111.25410.41.111.255
2410.41.112.0/2010.41.112.1 – 10.41.127.25410.41.127.255
2510.41.128.0/2010.41.128.1 – 10.41.143.25410.41.143.255
2610.41.144.0/2010.41.144.1 – 10.41.159.25410.41.159.255
2710.41.160.0/2010.41.160.1 – 10.41.175.25410.41.175.255
2810.41.176.0/2010.41.176.1 – 10.41.191.25410.41.191.255
2910.41.192.0/2010.41.192.1 – 10.41.207.25410.41.207.255
3010.41.208.0/2010.41.208.1 – 10.41.223.25410.41.223.255
3110.41.224.0/2010.41.224.1 – 10.41.239.25410.41.239.255
3210.41.240.0/2010.41.240.1 – 10.41.255.25410.41.255.255
3310.42.0.0/2010.42.0.1 – 10.42.15.25410.42.15.255
3410.42.16.0/2010.42.16.1 – 10.42.31.25410.42.31.255
3510.42.32.0/2010.42.32.1 – 10.42.47.25410.42.47.255
3610.42.48.0/2010.42.48.1 – 10.42.63.25410.42.63.255
3710.42.64.0/2010.42.64.1 – 10.42.79.25410.42.79.255
3810.42.80.0/2010.42.80.1 – 10.42.95.25410.42.95.255
3910.42.96.0/2010.42.96.1 – 10.42.111.25410.42.111.255
4010.42.112.0/2010.42.112.1 – 10.42.127.25410.42.127.255
4110.42.128.0/2010.42.128.1 – 10.42.143.25410.42.143.255
4210.42.144.0/2010.42.144.1 – 10.42.159.25410.42.159.255
4310.42.160.0/2010.42.160.1 – 10.42.175.25410.42.175.255
4410.42.176.0/2010.42.176.1 – 10.42.191.25410.42.191.255
4510.42.192.0/2010.42.192.1 – 10.42.207.25410.42.207.255
4610.42.208.0/2010.42.208.1 – 10.42.223.25410.42.223.255
4710.42.224.0/2010.42.224.1 – 10.42.239.25410.42.239.255
4810.42.240.0/2010.42.240.1 – 10.42.255.25410.42.255.255
4910.43.0.0/2010.43.0.1 – 10.43.15.25410.43.15.255
5010.43.16.0/2010.43.16.1 – 10.43.31.25410.43.31.255
5110.43.32.0/2010.43.32.1 – 10.43.47.25410.43.47.255
5210.43.48.0/2010.43.48.1 – 10.43.63.25410.43.63.255
5310.43.64.0/2010.43.64.1 – 10.43.79.25410.43.79.255
5410.43.80.0/2010.43.80.1 – 10.43.95.25410.43.95.255
5510.43.96.0/2010.43.96.1 – 10.43.111.25410.43.111.255
5610.43.112.0/2010.43.112.1 – 10.43.127.25410.43.127.255
5710.43.128.0/2010.43.128.1 – 10.43.143.25410.43.143.255
5810.43.144.0/2010.43.144.1 – 10.43.159.25410.43.159.255
5910.43.160.0/2010.43.160.1 – 10.43.175.25410.43.175.255
6010.43.176.0/2010.43.176.1 – 10.43.191.25410.43.191.255
6110.43.192.0/2010.43.192.1 – 10.43.207.25410.43.207.255
6210.43.208.0/2010.43.208.1 – 10.43.223.25410.43.223.255
6310.43.224.0/2010.43.224.1 – 10.43.239.25410.43.239.255
6410.43.240.0/2010.43.240.1 – 10.43.255.25410.43.255.255
6510.44.0.0/2010.44.0.1 – 10.44.15.25410.44.15.255
6610.44.16.0/2010.44.16.1 – 10.44.31.25410.44.31.255
6710.44.32.0/2010.44.32.1 – 10.44.47.25410.44.47.255
6810.44.48.0/2010.44.48.1 – 10.44.63.25410.44.63.255
6910.44.64.0/2010.44.64.1 – 10.44.79.25410.44.79.255
7010.44.80.0/2010.44.80.1 – 10.44.95.25410.44.95.255
7110.44.96.0/2010.44.96.1 – 10.44.111.25410.44.111.255
7210.44.112.0/2010.44.112.1 – 10.44.127.25410.44.127.255
7310.44.128.0/2010.44.128.1 – 10.44.143.25410.44.143.255
7410.44.144.0/2010.44.144.1 – 10.44.159.25410.44.159.255
7510.44.160.0/2010.44.160.1 – 10.44.175.25410.44.175.255
7610.44.176.0/2010.44.176.1 – 10.44.191.25410.44.191.255
7710.44.192.0/2010.44.192.1 – 10.44.207.25410.44.207.255
7810.44.208.0/2010.44.208.1 – 10.44.223.25410.44.223.255
7910.44.224.0/2010.44.224.1 – 10.44.239.25410.44.239.255
8010.44.240.0/2010.44.240.1 – 10.44.255.25410.44.255.255
8110.45.0.0/2010.45.0.1 – 10.45.15.25410.45.15.255
8210.45.16.0/2010.45.16.1 – 10.45.31.25410.45.31.255
8310.45.32.0/2010.45.32.1 – 10.45.47.25410.45.47.255
8410.45.48.0/2010.45.48.1 – 10.45.63.25410.45.63.255
8510.45.64.0/2010.45.64.1 – 10.45.79.25410.45.79.255
8610.45.80.0/2010.45.80.1 – 10.45.95.25410.45.95.255
8710.45.96.0/2010.45.96.1 – 10.45.111.25410.45.111.255
8810.45.112.0/2010.45.112.1 – 10.45.127.25410.45.127.255
8910.45.128.0/2010.45.128.1 – 10.45.143.25410.45.143.255
9010.45.144.0/2010.45.144.1 – 10.45.159.25410.45.159.255
9110.45.160.0/2010.45.160.1 – 10.45.175.25410.45.175.255
9210.45.176.0/2010.45.176.1 – 10.45.191.25410.45.191.255
9310.45.192.0/2010.45.192.1 – 10.45.207.25410.45.207.255
9410.45.208.0/2010.45.208.1 – 10.45.223.25410.45.223.255
9510.45.224.0/2010.45.224.1 – 10.45.239.25410.45.239.255
9610.45.240.0/2010.45.240.1 – 10.45.255.25410.45.255.255
9710.46.0.0/2010.46.0.1 – 10.46.15.25410.46.15.255
9810.46.16.0/2010.46.16.1 – 10.46.31.25410.46.31.255
9910.46.32.0/2010.46.32.1 – 10.46.47.25410.46.47.255
10010.46.48.0/2010.46.48.1 – 10.46.63.25410.46.63.255
10110.46.64.0/2010.46.64.1 – 10.46.79.25410.46.79.255
10210.46.80.0/2010.46.80.1 – 10.46.95.25410.46.95.255
10310.46.96.0/2010.46.96.1 – 10.46.111.25410.46.111.255
10410.46.112.0/2010.46.112.1 – 10.46.127.25410.46.127.255
10510.46.128.0/2010.46.128.1 – 10.46.143.25410.46.143.255
10610.46.144.0/2010.46.144.1 – 10.46.159.25410.46.159.255
10710.46.160.0/2010.46.160.1 – 10.46.175.25410.46.175.255
10810.46.176.0/2010.46.176.1 – 10.46.191.25410.46.191.255
10910.46.192.0/2010.46.192.1 – 10.46.207.25410.46.207.255
11010.46.208.0/2010.46.208.1 – 10.46.223.25410.46.223.255
11110.46.224.0/2010.46.224.1 – 10.46.239.25410.46.239.255
11210.46.240.0/2010.46.240.1 – 10.46.255.25410.46.255.255
11310.47.0.0/2010.47.0.1 – 10.47.15.25410.47.15.255
11410.47.16.0/2010.47.16.1 – 10.47.31.25410.47.31.255
11510.47.32.0/2010.47.32.1 – 10.47.47.25410.47.47.255
11610.47.48.0/2010.47.48.1 – 10.47.63.25410.47.63.255
11710.47.64.0/2010.47.64.1 – 10.47.79.25410.47.79.255
11810.47.80.0/2010.47.80.1 – 10.47.95.25410.47.95.255
11910.47.96.0/2010.47.96.1 – 10.47.111.25410.47.111.255
12010.47.112.0/2010.47.112.1 – 10.47.127.25410.47.127.255
12110.47.128.0/2010.47.128.1 – 10.47.143.25410.47.143.255
12210.47.144.0/2010.47.144.1 – 10.47.159.25410.47.159.255
12310.47.160.0/2010.47.160.1 – 10.47.175.25410.47.175.255
12410.47.176.0/2010.47.176.1 – 10.47.191.25410.47.191.255
12510.47.192.0/2010.47.192.1 – 10.47.207.25410.47.207.255
12610.47.208.0/2010.47.208.1 – 10.47.223.25410.47.223.255
12710.47.224.0/2010.47.224.1 – 10.47.239.25410.47.239.255
12810.47.240.0/2010.47.240.1 – 10.47.255.25410.47.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 →