tip
~/geeksubnet/masks/16

/16 subnet mask: 255.255.0.0

Every value on this page is reproducible in the calculator.

The /16 prefix means the first 16 bits of the address identify the network and the remaining 16 identify the host. Written out, the mask is 255.255.0.0, in binary 11111111.11111111.00000000.00000000, and its Cisco wildcard or inverse form is 0.0.255.255. It covers 65,536 addresses, of which 65,534 can be given to hosts.

/16 at a glance

CIDR prefix/16
Subnet mask255.255.0.0
Mask in binary11111111.11111111.00000000.00000000
Wildcard (inverse) mask0.0.255.255
Host bits16
Total addresses65,536
Usable hosts65,534
Block size (magic number)whole octet 2

Every /16 inside 10.0.0.0/8

A 10.0.0.0/8 contains 256 subnets of /16. Here are the first 8, which is enough to see the pattern: each one starts 256 after the last in octet 2.

NetworkFirst hostLast hostBroadcast
10.0.0.0/1610.0.0.110.0.255.25410.0.255.255
10.1.0.0/1610.1.0.110.1.255.25410.1.255.255
10.2.0.0/1610.2.0.110.2.255.25410.2.255.255
10.3.0.0/1610.3.0.110.3.255.25410.3.255.255
10.4.0.0/1610.4.0.110.4.255.25410.4.255.255
10.5.0.0/1610.5.0.110.5.255.25410.5.255.255
10.6.0.0/1610.6.0.110.6.255.25410.6.255.255
10.7.0.0/1610.7.0.110.7.255.25410.7.255.255

The magic number for /16

A /16 falls exactly on an octet boundary, so there is no magic number to work out: octet 2 of the mask is 255 and every subnet starts where the previous one ended, counting octet 2 up by one.

Where a /16 shows up in practice

The /16 is the classic site allocation: 65,536 addresses, the whole of 192.168.0.0/16 in private space. One /16 per location, then split into a /24 per VLAN, is still the most common enterprise plan in existence.

Frequently asked questions

How many hosts are in a /16?

A /16 holds 65,536 addresses in total. After reserving the network and broadcast addresses, 65,534 are usable by hosts.

What is the subnet mask for /16?

The /16 subnet mask is 255.255.0.0 in dotted-decimal notation.

What is the wildcard mask for /16?

The wildcard mask, also called the inverse mask, is 0.0.255.255. It is the bitwise inverse of 255.255.0.0 and is what Cisco access lists and OSPF network statements expect.

What is /16 in binary?

The /16 mask written out bit by bit is 11111111.11111111.00000000.00000000: 16 ones followed by 16 zeros.

Neighbouring masks: /15 is one bit shorter and holds twice as many addresses. /17 is one bit longer and holds half as many.
full cheat sheet subnetting basics open the calculator