tip
~/geeksubnet/masks/15

/15 subnet mask: 255.254.0.0

Every value on this page is reproducible in the calculator.

The /15 prefix means the first 15 bits of the address identify the network and the remaining 17 identify the host. Written out, the mask is 255.254.0.0, in binary 11111111.11111110.00000000.00000000, and its Cisco wildcard or inverse form is 0.1.255.255. It covers 131,072 addresses, of which 131,070 can be given to hosts.

/15 at a glance

CIDR prefix/15
Subnet mask255.254.0.0
Mask in binary11111111.11111110.00000000.00000000
Wildcard (inverse) mask0.1.255.255
Host bits17
Total addresses131,072
Usable hosts131,070
Block size (magic number)2 in octet 2

Every /15 inside 10.0.0.0/8

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

NetworkFirst hostLast hostBroadcast
10.0.0.0/1510.0.0.110.1.255.25410.1.255.255
10.2.0.0/1510.2.0.110.3.255.25410.3.255.255
10.4.0.0/1510.4.0.110.5.255.25410.5.255.255
10.6.0.0/1510.6.0.110.7.255.25410.7.255.255
10.8.0.0/1510.8.0.110.9.255.25410.9.255.255
10.10.0.0/1510.10.0.110.11.255.25410.11.255.255
10.12.0.0/1510.12.0.110.13.255.25410.13.255.255
10.14.0.0/1510.14.0.110.15.255.25410.15.255.255

The magic number for /15

Take the interesting octet of the mask, the one that is neither 255 nor 0. For /15 that is 254 in octet 2. Subtract it from 256:

256 - 254 = 2

That is the block size. Every /15 network address is a multiple of 2 in octet 2, so you can list them by counting: 0, 2, 4, 6, and so on. No binary needed once you know the number.

Where a /15 shows up in practice

A /15 is two adjacent /16s treated as one block. Companies end up with one when they outgrow a /16 and take the neighbouring block so the pair can be summarised into a single route.

Frequently asked questions

How many hosts are in a /15?

A /15 holds 131,072 addresses in total. After reserving the network and broadcast addresses, 131,070 are usable by hosts.

What is the subnet mask for /15?

The /15 subnet mask is 255.254.0.0 in dotted-decimal notation.

What is the wildcard mask for /15?

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

What is /15 in binary?

The /15 mask written out bit by bit is 11111111.11111110.00000000.00000000: 15 ones followed by 17 zeros.

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