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/14
network10.40.0.0/14
broadcast10.43.255.255
first host10.40.0.1
last host10.43.255.254
subnet mask255.252.0.0
wildcard0.3.255.255
addresses262,144
usable hosts262,142
classA
ipcalc 10.40.0.0/14
address00001010.00101000.00000000.00000000
subnet mask11111111.11111100.00000000.00000000
network00001010.00101000.00000000.00000000
broadcast00001010.00101011.11111111.11111111
green = network part, grey = host part
hex0x0a280000
decimal170393600
reverse dns0.0.40.10.in-addr.arpa
ipv4-mapped::ffff:a28:0

/14 split into /20 · 64 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
01 / table

IPv4 CIDR prefix table.

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

prefixsubnet maskaddresseshostsin your /14
/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,286-
/14255.252.0.0262,144262,1421
/15255.254.0.0131,072131,0702 split →
/16255.255.0.065,53665,5344 split →
/17255.255.128.032,76832,7668 split →
/18255.255.192.016,38416,38216 split →
/19255.255.224.08,1928,19032 split →
/20255.255.240.04,0964,09464 split →
/21255.255.248.02,0482,046128 split →
/22255.255.252.01,0241,022256 split →
/23255.255.254.0512510512 split →
/24255.255.255.02562541,024 split →
/25255.255.255.1281281262,048 split →
/26255.255.255.19264624,096 split →
/27255.255.255.22432308,192 split →
/28255.255.255.240161416,384 split →
/29255.255.255.2488632,768 split →
/30255.255.255.2524265,536 split →
/31255.255.255.25422131,072 split →
/32255.255.255.25511262,144 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 →