Home Net Guide

Home / Subnet calculator / /28

/28 subnet: mask 255.255.255.240

A /28 network holds 16 addresses, of which 14 can be given to devices. Its subnet mask is 255.255.255.240.

Prefix length (CIDR)
/28
Subnet mask
255.255.255.240
Wildcard mask
0.0.0.15
Mask in binary
11111111.11111111.11111111.11110000
Network bits / host bits
28 / 4
Total addresses
16 (2 to the power of 4)
Usable host addresses
14 (the first address names the network and the last is the broadcast address)
Fits
16 times into a /24

What a /28 is used for

A /28 has 14 usable addresses. It is the smallest subnet Amazon Web Services allows, and since AWS keeps five addresses in every subnet for itself, 11 are left for you. It is also a common size for a block of static public addresses sold to a business.

Worked example: which /28 is 192.168.1.130 in?

The mask's value in the fourth octet is 240, so networks advance in steps of 256 minus 240, which is 16, in that octet: 0, 16, 32, 48 and so on up to 240. The fourth octet of 192.168.1.130 is 130, which falls in the step that starts at 128. The network is therefore 192.168.1.128/28.

Network
192.168.1.128/28
Usable range
192.168.1.129 to 192.168.1.142
Broadcast address
192.168.1.143
Next /28 begins at
192.168.1.144/28

Open this example in the subnet calculator to see it bit by bit, or to try your own address.

All 16 /28 networks in 192.168.1.0/24

NetworkUsable rangeBroadcast
192.168.1.0/28192.168.1.1 to 192.168.1.14192.168.1.15
192.168.1.16/28192.168.1.17 to 192.168.1.30192.168.1.31
192.168.1.32/28192.168.1.33 to 192.168.1.46192.168.1.47
192.168.1.48/28192.168.1.49 to 192.168.1.62192.168.1.63
192.168.1.64/28192.168.1.65 to 192.168.1.78192.168.1.79
192.168.1.80/28192.168.1.81 to 192.168.1.94192.168.1.95
192.168.1.96/28192.168.1.97 to 192.168.1.110192.168.1.111
192.168.1.112/28192.168.1.113 to 192.168.1.126192.168.1.127
192.168.1.128/28192.168.1.129 to 192.168.1.142192.168.1.143
192.168.1.144/28192.168.1.145 to 192.168.1.158192.168.1.159
192.168.1.160/28192.168.1.161 to 192.168.1.174192.168.1.175
192.168.1.176/28192.168.1.177 to 192.168.1.190192.168.1.191
192.168.1.192/28192.168.1.193 to 192.168.1.206192.168.1.207
192.168.1.208/28192.168.1.209 to 192.168.1.222192.168.1.223
192.168.1.224/28192.168.1.225 to 192.168.1.238192.168.1.239
192.168.1.240/28192.168.1.241 to 192.168.1.254192.168.1.255

One size up and one size down

Each bit removed from the prefix doubles a network, and each bit added halves it. A /27 is twice the size, with 30 usable addresses, and a /29 is half the size, with 6 usable addresses. The table of every prefix size compares them all, and the VLAN planner lays out several networks of different sizes without overlaps.