> ## Content Index
> Fetch the complete content index at: https://routerhaven.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# /27 subnet mask explained: how many addresses it gives
- URL: https://routerhaven.com/27-subnet-mask/
- Published: 2026-11-07T02:00:00.000Z
- Updated: 2026-11-07T02:00:00.000Z
- Author: Caleb Renwick
- Tags: Networking

A /[27 subnet mask means](https://routerhaven.com/subnet-mask-networking/) the first 27 bits of an IPv4 address are the network part, leaving 5 bits for hosts. In practice, that gives you 32 total addresses, 30 usable ones, and the equivalent subnet mask \`255.255.255.224\`.

## What /27 actually means

CIDR notation writes the network prefix after the slash, so `/27` means 27 network bits and 5 host bits in a 32-bit IPv4 address.

The dotted-decimal subnet mask for `/27` is `255.255.255.224`. The last octet is `224` because the mask covers the first three bits in that octet: `11100000` in binary.

For example, if an interface is set to `192.168.1.64/27`, the `/27` part tells you the subnet size, not the full range by itself. You still need the network address, broadcast address, and host range to know exactly which IPs belong to that subnet.

## How many addresses a /27 gives you

A `/27` leaves 5 bits for host addresses. That means `2^5 = 32` total addresses in the subnet.

Out of those 32 addresses, two are reserved:

- one network address
- one broadcast address

That leaves 30 usable host addresses.

So the full breakdown for a `/27` is:

- total addresses: 32
- usable host addresses: 30
- network address: 1
- broadcast address: 1

For example, in the subnet `192.168.1.0/27`, `192.168.1.0` is the network address and `192.168.1.31` is the broadcast address, so the usable host range is `192.168.1.1` through `192.168.1.30`.

![A network router with multiple ethernet ports is shown on a desk.](https://tse1.mm.bing.net/th?q=network%20router%20with%20ethernet%20ports%20photo&w=624&h=352&c=7)

## What a /27 looks like in a real IP range

A `/27` creates blocks of 32 addresses. In the last octet, the subnet ranges move in steps of 32:

- 0–31
- 32–63
- 64–95
- 96–127
- 128–159
- 160–191
- 192–223
- 224–255

Say you have `192.168.1.64/27`. The block starts at 64, so the subnet is `192.168.1.64` through `192.168.1.95`.

That gives you:

- network address: `192.168.1.64`
- usable hosts: `192.168.1.65` to `192.168.1.94`
- broadcast address: `192.168.1.95`

If you start from `192.168.1.70`, that address still belongs to the `192.168.1.64/27` subnet, because it falls inside the 64–95 block.

For example, if you are given `10.0.0.142/27`, the subnet boundaries in the last octet still move in 32-address blocks. `142` falls in the `128–159` block, so the network address is `10.0.0.128`, the broadcast address is `10.0.0.159`, and the usable range is `10.0.0.129` through `10.0.0.158`.

## Where /27 is useful

A `/27` is a good fit for a small network that needs more than a handful of addresses but not a large subnet. It often works well for a branch office, a small VLAN, a lab network, or a server segment with a limited number of devices.

The main attraction is balance. You get 30 usable addresses, which is enough for a small group of users, printers, access points, phones, or servers without wasting a large address block.

It can also be useful in address planning when you want tidy subnet boundaries. If you know a department or VLAN will stay under about 30 active devices, a `/27` keeps the range compact and easy to track.

It is not a fit if you expect the subnet to grow beyond 30 usable IPs soon. In that case, moving to a `/26` or larger usually saves you from renumbering later.

Where a `/27` does not apply is any situation where you need more than 30 usable IPv4 host addresses in the same subnet. It also does not change the rules for reserved addresses, so the network and broadcast addresses still cannot be assigned to devices.

![A network router sits in a small office workspace.](https://tse1.mm.bing.net/th?q=network%20router%20in%20small%20office%20photo&w=624&h=352&c=7)

## The mistakes people make with /27

The most common mistake is mixing up total addresses with usable addresses. A `/27` has 32 total addresses, but only 30 can be assigned to hosts.

Another common error is choosing the wrong subnet boundary. With a `/27`, the valid network addresses in the last octet are multiples of 32: 0, 32, 64, 96, and so on. An address like `192.168.1.70/27` belongs to the `192.168.1.64/27` subnet, not a separate one.

People also forget the broadcast address. If you assign it to a device by mistake, that device will not behave [correctly on the network](https://routerhaven.com/subnet-mask-network-boundaries/).

A smaller but frequent slip is assuming the slash number tells you the host range directly. It does not. You still need to find the block size, then identify the network and broadcast addresses before assigning hosts.

One more easy mistake is starting at an address that looks reasonable but does not fall on a valid subnet boundary. If you treat `192.168.1.70` as the network address, the rest of the range will be off from the start.

![A network router has several labeled cables plugged into it.](https://tse1.mm.bing.net/th?q=network%20router%20with%20labeled%20cables%20photo&w=624&h=352&c=7)

## How to check whether a /27 is the right size

Use a `/27` if you need around 30 usable addresses and you want a little room above the exact device count. That room matters because you usually need at least a few extras for future devices, temporary gear, or infrastructure that gets added later.

A quick check is simple: count the devices that will actually need an IP in that subnet, then add a small buffer. If the total stays comfortably under 30, a `/27` is probably a reasonable choice. If you are already near that number, or you expect growth soon, choose a larger subnet instead.

For planning, it helps to think in blocks. A `/27` is fine for a small, stable group. It is a poor fit if the subnet is meant to absorb expansion without renumbering.

## Conclusion

If you see \`/27\` in a config or worksheet, read it as a subnet with 32 total addresses, 30 usable hosts, and blocks of 32 in the IPv4 range. The next step is to identify the exact network address and broadcast address for the IP block you’re working with, then assign only the usable host addresses. Once you can spot the 32-address boundaries quickly, \`/27\` stops feeling abstract and starts being easy to use.

## Frequently Asked Questions

### Is /27 the same as 255.255.255.224?

Yes. \`/27\` in CIDR notation is the same as the subnet mask \`255.255.255.224\`.

### How many usable hosts are in a /27?

A \`/27\` has 30 usable host addresses.

### What is the block size of a /27 subnet?

The block size is 32 addresses, so the subnet boundaries in the last octet move in steps of 32.