Skip to content

/27 subnet: mask 255.255.255.224, 30 usable hosts

Runs in your browser — nothing you paste leaves this page. How we prove that

Subnet Calculator playground

Examples

IPv4 or IPv6, with or without a prefix — 10.0.0.0/8, 2001:db8::/48, or a dotted netmask like 192.168.1.0 255.255.255.0. A bare address means one host (/32 or /128).

Results update as you type — press Enter to run now.

fig. 10 — subnet-calculator · networking /27 — 30 usable hosts
Result
IPv410.0.0.0/27
Usable hosts30
Usable range10.0.0.1 – 10.0.0.30
Total addresses32

Addressing

Network address
10.0.0.0
Broadcast address
10.0.0.31
Usable host range
10.0.0.1 – 10.0.0.30

Masks

Netmask
255.255.255.224
Wildcard maskInverse of the netmask — the match form Cisco ACLs and OSPF expect.
0.0.0.31
Netmask (binary)The mask bit by bit — the 1s are the network part.
11111111.11111111.11111111.11100000

Details

Address type
Private (RFC 1918)
Network (integer)The network address as a single 32-bit number, as scripts and databases store it.
167 772 160

A /27 holds 32 addresses and 30 usable hosts under netmask 255.255.255.224. A /24 splits into eight of them, each starting on a multiple of 32.

The /27 mask

Three host-octet bits move to the network side: mask 255.255.255.224, wildcard 0.0.0.31. The last octet of a /27 network is always 0, 32, 64, 96, 128, 160, 192 or 224.

2^5 = 32 addresses, 30 usable. For 10.0.0.0/27 the usable range is 10.0.0.1 to 10.0.0.30 and the broadcast 10.0.0.31.

Where /27 is common

Thirty hosts covers a DMZ, a VPN client pool, a printer and camera VLAN, or a small set of public addresses from a hosting provider. Providers that sell IPv4 blocks often quote /27 and /28 as their smallest routed allocations.

On AWS a /27 subnet keeps 27 usable addresses after the five reserved. That shrinkage matters more the smaller the subnet: here it is about one address in six.

Neighbours

A /27 splits into two /28s; two aligned /27s make a /26. If you only need a handful of addresses, a /28 or a /29 wastes less; if a service may grow past thirty instances, start at /26.

Configuring a /27

In 10.0.0.0/27, give the gateway 10.0.0.1 and keep hosts at or below 10.0.0.30. The broadcast 10.0.0.31 and the next block's network address, 10.0.0.32, are the two addresses people most often assign by mistake.

Vendor forms without a prefix field ask for the dotted mask, 255.255.255.224. Writing both forms side by side in the runbook saves the on-call engineer a conversion under pressure.

If the /27 holds public addresses from a provider, confirm whether the provider's gateway sits inside it. When it does, one more address is gone and 29 remain for your own equipment.

Reverse DNS for such a block is usually delegated by the provider, since a /27 does not align to an octet; ask for classless delegation if you need to manage the PTR records yourself.

FAQ

Questions, answered.

Tap a question to expand the answer.

Eight, at last-octet boundaries 0, 32, 64, 96, 128, 160, 192 and 224.

27: 32 addresses minus the five AWS reserves in every subnet.

More free, private DevOps tools.

The Subnet Calculator is one tool in OpsCanopy — a growing canopy of browser-based validators, converters and testers that never touch a server.

New to Networking?  Read the Networking guide →

42 free tools, every one offline-capable — opscanopy.com works with no signup and nothing uploaded.

More networking: the IP Address Converter, the CIDR / Subnet Checker and the Subnet Splitter, or browse the full tools directory.

Provided as-is for convenience; always confirm critical network changes against your own authority. OpsCanopy is free and open.