/27 · 255.255.255.224
Open in the calculator
32 addresses, 30 usable, mask 255.255.255.224. Eight per /24. A common size for small server subnets and for load-balancer or NAT gateway subnets in cloud VPCs.
Key numbers
| Prefix length | /27 (27 network bits, 5 host bits) |
| Subnet mask | 255.255.255.224 |
| Mask in binary | 11111111.11111111.11111111.11100000 |
| Wildcard mask | 0.0.0.31 |
| Total addresses | 32 |
| Usable hosts | 30 (total minus network and broadcast) |
| Fits in a /24 | 8 times |
| Block size | Increments of 32 in octet 4 |
Example ranges
Private (RFC 1918) blocks of this size. Click one to open it in the calculator.
| Block | First address | Last address | Usable hosts |
|---|---|---|---|
| 10.0.0.0/27 | 10.0.0.0 | 10.0.0.31 | 10.0.0.1 – 10.0.0.30 |
| 172.16.0.0/27 | 172.16.0.0 | 172.16.0.31 | 172.16.0.1 – 172.16.0.30 |
| 192.168.0.0/27 | 192.168.0.0 | 192.168.0.31 | 192.168.0.1 – 192.168.0.30 |
Usable addresses in the cloud
Cloud providers reserve a few addresses in every subnet for the router, DNS and future use, so the usable count is lower than the formula gives.
| Provider | Usable in a /27 | Notes |
|---|---|---|
| AWS VPC subnet | 27 | Allowed (/16 to /28). AWS reserves the first four addresses and the last one. |
| Azure virtual network subnet | 27 | Allowed. Azure reserves the first four addresses and the last one. |
| Google Cloud subnet | 28 | Allowed. Google Cloud reserves the first two and the last two addresses. |
How the numbers are derived
An IPv4 address has 32 bits. A /27 uses 27 of them for the network, leaving 5 host bits, so the block has 25 = 32 addresses. The first address (all host bits 0) is the network address and the last (all host bits 1) is the broadcast address, which leaves 30 for hosts. The subnet mask is 27 ones followed by 5 zeros, written in dotted decimal as 255.255.255.224; the wildcard mask 0.0.0.31 is its inverse, used in Cisco ACLs and OSPF configuration.
FAQ
How many hosts can a /27 have?
32 addresses in total, of which 30 are usable after removing the network and broadcast addresses. Cloud providers reserve a few more: 27 usable in AWS and Azure, 28 in Google Cloud.
How many /27 subnets fit in a /24?
8. A /24 has 256 addresses and a /27 has 32, so 256 ÷ 32 = 8 blocks.