Skip to content
Tape and Square

N-01 · Subnet · /14

/14 subnet

A /14 network keeps 14 of the 32 address bits for the network and leaves 18 for hosts. Its mask, host count, the blocks it fits in and example networks, all worked out below.

Short answer

Subnet mask
255.252.0.0Wildcard 0.3.255.255
Usable hosts
262,142262,144 addresses in total

2^18 = 262,144 addresses. The first is the network address and the last the broadcast, so 262,142 can go to devices.

The /14 mask in binary and hex

14 one bits, then 18 zero bits. The wildcard is the mask inverted.

MaskDottedHex
Subnet mask255.252.0.0FF.FC.00.00
Wildcard0.3.255.25500.03.FF.FF

The mask ends inside the second octet, at 252 (11111100). That leaves 2 host bits in the octet, so /14 networks start every 4 in it: 0, 4, 8, 12 and so on. Cisco access lists take the wildcard form, 0.3.255.255, where a 1 bit means “any value” (Cisco document 23602).

RFC 1878's table lists /14 as FF.FC.00.00 hex, 256 K addresses, equal to 4 B in the old class terms. RFC 1878's host tables start at /17. The 262,142 usable figure is the same 2^18 − 2 rule, and Cisco's host and subnet table lists it.

How many /14 subnets fit

The three private ranges (RFC 1918) and one /24.

Block/14 subnets in it
10.0.0.0/864
172.16.0.0/124
192.168.0.0/16none: one /14 holds 4
172.22.181.0/24none: one /14 holds 1,024

10.0.0.0/8 holds 64 and 172.16.0.0/12 holds 4 /14 subnets. A /14 is larger than 192.168.0.0/16, so a private network of this size has to come from 10.0.0.0/8 or 172.16.0.0/12. One /14 spans 1,024 /24s.

Splitting a /14

Each extra prefix bit halves the block.

IntoSubnetsUsable each
/152131,070
/16465,534
/17832,766

Two /15 subnets hold 262,140 usable addresses between them, 2 fewer than one /14: each half gives up its own network and broadcast address.

/14 subnets of 172.16.0.0/12

172.16.0.0/12 holds 4 of them. The row in bold holds 172.22.181.150.

SubnetFirst usableLast usable
172.16.0.0/14172.16.0.1172.19.255.254
172.20.0.0/14172.20.0.1172.23.255.254
172.24.0.0/14172.24.0.1172.27.255.254
172.28.0.0/14172.28.0.1172.31.255.254

Check an address

Pre-filled with 172.22.181.150/14. Change the address or the prefix.

/14

Also accepts 192.168.1.130 255.255.255.192, 192.168.1.0 60 hosts or IPv6 like 2001:db8::/48.

Result

172.20.0.0/14

262,142 usable hosts

Network
172.20.0.0
First usable
172.20.0.1
Last usable
172.23.255.254
Broadcast
172.23.255.255
Subnet mask
255.252.0.0
Wildcard mask
0.3.255.255
Total addresses
262,144
PRIVATE

Inside 172.16.0.0/12, a private range (RFC 1918). Not routable on the public internet.

Binary view

Address · 172.22.181.150
10101100.00010110.10110101.10010110
Mask · 255.252.0.0
11111111.11111100.00000000.00000000
Network · 172.20.0.0
10101100.00010100.00000000.00000000

Bold bits are fixed for the network; orange bits number the hosts.

172.0.0.0/8 split into /14 · 64 blocks

  1. … 2 before
  2. 172.20.0.0/14.20.0.1–.23.255.254 ◂
  3. … 54 more

/14 next to /13 and /15

One bit shorter, a /13 (255.248.0.0) has 524,288 addresses and 524,286 usable, 262,144 more than a /14. One bit longer, /15 (255.254.0.0) has 131,072 addresses and 131,070 usable. /13 subnet · /15 subnet

Ask the calculator for a host count and it answers /14 for 131,071 to 262,142 hosts: typing "172.20.0.0 262,142 hosts" gives this size, one more host gives a /13.

Worked example

Take 172.22.181.150/14. The mask ends in the second octet. There the address is 22 = 00010110 and the mask 252 = 11111100; AND keeps the first 6 bits: 00010100 = 20. The octets after it become 0, so the network is 172.20.0.0. OR the wildcard 0.3.255.255 onto it to set every host bit: 172.23.255.255, the broadcast.

Devices use 172.20.0.1 through 172.23.255.254: 262,142 addresses. 172.22.181.150 is number 177,558 of them. In 172.16.0.0/12 this is subnet 2 of 4.

References

  • RFC 4632, Classless Inter-domain Routing (CIDR), §3.1: prefix lengths and block sizes.
  • RFC 950, Internet Standard Subnetting Procedure: subnet masks.
  • RFC 1878, Variable Length Subnet Table For IPv4, the prefix table.
  • Cisco Tech Note 13790, Understand Host and Subnet Quantities: usable hosts per prefix.
  • RFC 1918, Address Allocation for Private Internets: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16.

Other prefixes