Skip to content
Tape and Square

N-01 · Subnet · /15

/15 subnet

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

Short answer

Subnet mask
255.254.0.0Wildcard 0.1.255.255
Usable hosts
131,070131,072 addresses in total

2^17 = 131,072 addresses. The first is the network address and the last the broadcast, so 131,070 can go to devices.

The /15 mask in binary and hex

15 one bits, then 17 zero bits. The wildcard is the mask inverted.

MaskDottedHex
Subnet mask255.254.0.0FF.FE.00.00
Wildcard0.1.255.25500.01.FF.FF

The mask ends inside the second octet, at 254 (11111110). That leaves 1 host bit in the octet, so /15 networks start every 2 in it: 0, 2, 4, 6 and so on. Cisco access lists take the wildcard form, 0.1.255.255, where a 1 bit means “any value” (Cisco document 23602).

RFC 1878's table lists /15 as FF.FE.00.00 hex, 128 K addresses, equal to 2 B in the old class terms. RFC 1878's host tables start at /17. The 131,070 usable figure is the same 2^17 − 2 rule, and Cisco's host and subnet table lists it.

How many /15 subnets fit

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

Block/15 subnets in it
10.0.0.0/8128
172.16.0.0/128
192.168.0.0/16none: one /15 holds 2
172.22.181.0/24none: one /15 holds 512

10.0.0.0/8 holds 128 and 172.16.0.0/12 holds 8 /15 subnets. A /15 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 /15 spans 512 /24s.

Splitting a /15

Each extra prefix bit halves the block.

IntoSubnetsUsable each
/16265,534
/17432,766
/18816,382

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

/15 subnets of 172.16.0.0/12

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

SubnetFirst usableLast usable
172.16.0.0/15172.16.0.1172.17.255.254
172.18.0.0/15172.18.0.1172.19.255.254
172.20.0.0/15172.20.0.1172.21.255.254
172.22.0.0/15172.22.0.1172.23.255.254
172.24.0.0/15172.24.0.1172.25.255.254
172.26.0.0/15172.26.0.1172.27.255.254
172.28.0.0/15172.28.0.1172.29.255.254
172.30.0.0/15172.30.0.1172.31.255.254

Special-purpose /15 blocks

Blocks of exactly this size in the IANA IPv4 Special-Purpose Address Space registry.

BlockUse
198.18.0.0/15Benchmarking

Check an address

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

/15

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

Result

172.22.0.0/15

131,070 usable hosts

Network
172.22.0.0
First usable
172.22.0.1
Last usable
172.23.255.254
Broadcast
172.23.255.255
Subnet mask
255.254.0.0
Wildcard mask
0.1.255.255
Total addresses
131,072
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.254.0.0
11111111.11111110.00000000.00000000
Network · 172.22.0.0
10101100.00010110.00000000.00000000

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

172.0.0.0/8 split into /15 · 128 blocks

  1. … 8 before
  2. 172.22.0.0/15.22.0.1–.23.255.254 ◂
  3. … 112 more

/15 next to /14 and /16

One bit shorter, a /14 (255.252.0.0) has 262,144 addresses and 262,142 usable, 131,072 more than a /15. One bit longer, /16 (255.255.0.0) has 65,536 addresses and 65,534 usable. /14 subnet · /16 subnet

Ask the calculator for a host count and it answers /15 for 65,535 to 131,070 hosts: typing "172.22.0.0 131,070 hosts" gives this size, one more host gives a /14.

Worked example

Take 172.22.181.150/15. The mask ends in the second octet. There the address is 22 = 00010110 and the mask 254 = 11111110; AND keeps the first 7 bits: 00010110 = 22. The octets after it become 0, so the network is 172.22.0.0. OR the wildcard 0.1.255.255 onto it to set every host bit: 172.23.255.255, the broadcast.

Devices use 172.22.0.1 through 172.23.255.254: 131,070 addresses. 172.22.181.150 is number 46,486 of them. In 172.16.0.0/12 this is subnet 4 of 8.

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.
  • IANA IPv4 Special-Purpose Address Space registry (updated 2025-10-09).

Other prefixes