Home Net Guide

Home / Subnet calculator / /27

/27 subnet: mask 255.255.255.224

A /27 network holds 32 addresses, of which 30 can be given to devices. Its subnet mask is 255.255.255.224.

Prefix length (CIDR)
/27
Subnet mask
255.255.255.224
Wildcard mask
0.0.0.31
Mask in binary
11111111.11111111.11111111.11100000
Network bits / host bits
27 / 5
Total addresses
32 (2 to the power of 5)
Usable host addresses
30 (the first address names the network and the last is the broadcast address)
Fits
8 times into a /24

What a /27 is used for

A /27 has 30 usable addresses. It is a good size for a small, purpose-built network: a group of servers, the printers, a management VLAN for switches and access points.

Worked example: which /27 is 192.168.1.130 in?

The mask's value in the fourth octet is 224, so networks advance in steps of 256 minus 224, which is 32, in that octet: 0, 32, 64, 96, 128, 160, 192, 224. 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/27.

Network
192.168.1.128/27
Usable range
192.168.1.129 to 192.168.1.158
Broadcast address
192.168.1.159
Next /27 begins at
192.168.1.160/27

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

All 8 /27 networks in 192.168.1.0/24

NetworkUsable rangeBroadcast
192.168.1.0/27192.168.1.1 to 192.168.1.30192.168.1.31
192.168.1.32/27192.168.1.33 to 192.168.1.62192.168.1.63
192.168.1.64/27192.168.1.65 to 192.168.1.94192.168.1.95
192.168.1.96/27192.168.1.97 to 192.168.1.126192.168.1.127
192.168.1.128/27192.168.1.129 to 192.168.1.158192.168.1.159
192.168.1.160/27192.168.1.161 to 192.168.1.190192.168.1.191
192.168.1.192/27192.168.1.193 to 192.168.1.222192.168.1.223
192.168.1.224/27192.168.1.225 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 /26 is twice the size, with 62 usable addresses, and a /28 is half the size, with 14 usable addresses. The table of every prefix size compares them all, and the VLAN planner lays out several networks of different sizes without overlaps.