tip
~/geeksubnet/masks/19

/19 subnet mask: 255.255.224.0

Every value on this page is reproducible in the calculator.

The /19 prefix means the first 19 bits of the address identify the network and the remaining 13 identify the host. Written out, the mask is 255.255.224.0, in binary 11111111.11111111.11100000.00000000, and its Cisco wildcard or inverse form is 0.0.31.255. It covers 8,192 addresses, of which 8,190 can be given to hosts.

/19 at a glance

CIDR prefix/19
Subnet mask255.255.224.0
Mask in binary11111111.11111111.11100000.00000000
Wildcard (inverse) mask0.0.31.255
Host bits13
Total addresses8,192
Usable hosts8,190
Block size (magic number)32 in octet 3

Every /19 inside 172.16.0.0/16

A 172.16.0.0/16 splits into exactly 8 subnets of this size.

NetworkFirst hostLast hostBroadcast
172.16.0.0/19172.16.0.1172.16.31.254172.16.31.255
172.16.32.0/19172.16.32.1172.16.63.254172.16.63.255
172.16.64.0/19172.16.64.1172.16.95.254172.16.95.255
172.16.96.0/19172.16.96.1172.16.127.254172.16.127.255
172.16.128.0/19172.16.128.1172.16.159.254172.16.159.255
172.16.160.0/19172.16.160.1172.16.191.254172.16.191.255
172.16.192.0/19172.16.192.1172.16.223.254172.16.223.255
172.16.224.0/19172.16.224.1172.16.255.254172.16.255.255

The magic number for /19

Take the interesting octet of the mask, the one that is neither 255 nor 0. For /19 that is 224 in octet 3. Subtract it from 256:

256 - 224 = 32

That is the block size. Every /19 network address is a multiple of 32 in octet 3, so you can list them by counting: 0, 32, 64, 96, and so on. No binary needed once you know the number.

Where a /19 shows up in practice

A /19 was for years the smallest IPv4 block a registry would allocate, which is why so many older provider allocations are exactly this size. 8,190 usable addresses.

Frequently asked questions

How many hosts are in a /19?

A /19 holds 8,192 addresses in total. After reserving the network and broadcast addresses, 8,190 are usable by hosts.

What is the subnet mask for /19?

The /19 subnet mask is 255.255.224.0 in dotted-decimal notation.

What is the wildcard mask for /19?

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

What is /19 in binary?

The /19 mask written out bit by bit is 11111111.11111111.11100000.00000000: 19 ones followed by 13 zeros.

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