/27 subnet (255.255.255.224)
Everything about a /27 network: mask, wildcard, number of hosts, example ranges and when to use it.
| Prefix (CIDR) | /27 |
|---|---|
| Subnet mask | 255.255.255.224 |
| Wildcard mask | 0.0.0.31 |
| Total addresses | 32 |
| Usable hosts | 30 |
| Block size | 32 in the fourth octet |
| Mask in binary | 11111111.11111111.11111111.11100000 |
What is a /27 used for?
Small segments such as a branch office, management network or IoT devices, up to 30 hosts. 8 subnets of /27 fit in one /24.
How the numbers are worked out
/27 means the first 27 bits of the address are the network part, leaving 5 bits for hosts. 25 = 32 addresses. Take away 2 for the network and broadcast addresses and you get 30 usable hosts.
The mask has 27 ones followed by 5 zeros. The wildcard mask is the opposite: 255.255.255.255 minus the subnet mask, 0.0.0.31.
Example /27 networks
| Network | Usable range | Broadcast |
|---|---|---|
192.168.1.0/27 | 192.168.1.1 – 192.168.1.30 | 192.168.1.31 |
192.168.1.32/27 | 192.168.1.33 – 192.168.1.62 | 192.168.1.63 |
192.168.1.64/27 | 192.168.1.65 – 192.168.1.94 | 192.168.1.95 |
192.168.1.96/27 | 192.168.1.97 – 192.168.1.126 | 192.168.1.127 |
Each next /27 network starts 32 addresses after the previous one. Work out any address with the free subnet calculator, or split a network into different sizes with the VLSM planner.
Frequently asked questions
How many hosts are in a /27 subnet?
A /27 has 32 addresses in total and 30 usable hosts. The first address is the network address and the last is the broadcast address.
What is the subnet mask for /27?
The subnet mask for /27 is 255.255.255.224, and the wildcard mask (used in Cisco ACLs and OSPF) is 0.0.0.31.
What is a /27 subnet used for?
Small segments such as a branch office, management network or IoT devices, up to 30 hosts.
Other prefix sizes
Learn more: subnetting in your head, subnetting step by step and the subnetting cheat sheet.