Skip to content

/27 Subnet Mask: 255.255.255.224

A /27 holds 32 addresses (30 usable hosts). The calculator below is loaded with 192.168.1.0/27; change it to any block.

100% Local Browser Execution • Zero Server Uploads • Air-Gap Safe

100% Local Tool Execution • Tool Inputs Never Leave Your Browser Bitwise IPv4 engine

RFC 1918 private ranges:

Bit map

192

168

1

0

27 network bits5 host bits

Network
192.168.1.0
Broadcast
192.168.1.31
Subnet mask
255.255.255.224
Wildcard mask
0.0.0.31
Usable host range
192.168.1.1 – 192.168.1.30
Usable hosts
30
Total addresses
32
Scope
Private (RFC 1918)
Class
C
Hex mask
0xFFFFFFE0

Subnet mask to CIDR & IP range converter

/27 · 32 addresses

IP range to CIDR

Reference: Class A, B and C IP address ranges
ClassRangeLeading bitsDefault maskPrivate blockHosts/network
A1.0.0.0 – 126.255.255.2550255.0.0.0 (/8)16,777,214
B128.0.0.0 – 191.255.255.25510255.255.0.0 (/16)65,534
C192.0.0.0 – 223.255.255.255110255.255.255.0 (/24)254
D224.0.0.0 – 239.255.255.2551110n/a (multicast)——
E240.0.0.0 – 255.255.255.2551111n/a (reserved)——

127.0.0.0/8 (loopback) sits between classes A and B and is not assignable. Classful addressing was replaced by CIDR in 1993; the classes survive as shorthand.

Split into

Address space: 192.168.1.0/27 → 1 Subnets

SubnetUsable host rangeUsable hostsActions
192.168.1.0/27192.168.1.1 – 192.168.1.3030

CtrlEnter to run

Wrong result, broken layout or an idea? Tell us about this tool.

/27 Subnet Mask: 255.255.255.224 IPv4 CIDR Subnet Mask Bitmask & Security Architecture Banner

This subnet calculator takes any IPv4 address in CIDR notation, such as 10.0.0.0/16 or 192.168.1.77/24, and returns the network address, broadcast address, usable host range, subnet mask, wildcard mask and host count. It also splits a block into equal subnets and merges sibling subnets back together. Every value is computed with 32-bit bitwise math in your browser.

How many IP addresses are in a /27 subnet?

A /27 subnet contains 2^(32 − 27) = 2^5 = 32 IP addresses. Two are reserved (network 192.168.1.0 and broadcast 192.168.1.31 in the example block), leaving 30 usable host addresses; in AWS or Azure, which reserve 5, you can assign 27.

IP addresses for neighbouring prefixes
PrefixIP addressesUsable hosts
/266462
/273230
/281614

Each step of one bit in the prefix halves or doubles the count: a /27 is half a /26 and two /28 subnets. Also asked as: how many ip addresses in a /27.

/27 subnet mask at a glance

  • Subnet mask: 255.255.255.224 (binary 11111111.11111111.11111111.11100000)
  • Wildcard mask: 0.0.0.31
  • Addresses / usable hosts: 32 / 30
  • 8 /27 subnets fit in one /24.

Typical use: Management networks and small server pools (30 hosts). Example block: 192.168.1.0/27 runs from 192.168.1.0 to 192.168.1.31.

Also searched as: /27 subnet.

What CIDR notation means

Classless Inter-Domain Routing (CIDR) writes a network as an address followed by a prefix length: /24 means the first 24 of the 32 bits identify the network and the remaining 8 bits identify hosts inside it. The prefix length replaces the old class A/B/C system, which only allowed /8, /16 and /24 boundaries.

The bit visualizer above shows this split directly: network bits in indigo, host bits in emerald. Moving the prefix one bit to the right halves the block; moving it one bit left doubles it. Every subnetting question reduces to that one rule.

How it works: CIDR Subnet Splitter

/27 Subnet Mask: 255.255.255.224 IPv4 CIDR Subnet Mask Bitmask & Security Architecture Diagram. Diagram of 192.168.10.0/24: 32 bit cells with 24 indigo network bits and 8 emerald host bits, the derived mask, wildcard, network, broadcast and host range, and a split tree from /24 to two /25 and four /26 subnets.
Diagram of 192.168.10.0/24: 32 bit cells with 24 indigo network bits and 8 emerald host bits, the derived mask, wildcard, network, broadcast and host range, and a split tree from /24 to two /25 and four /26 subnets.

Reading the results: network, broadcast and usable hosts

The network address is the first address in the block (all host bits 0) and the broadcast address is the last (all host bits 1). Neither can be assigned to a host on a normal LAN, so a block of 2^(32-prefix) addresses gives 2^(32-prefix) - 2 usable hosts.

Two prefixes break that rule. A /31 has two addresses and, per RFC 3021, both are usable on point-to-point links. A /32 is a single host and is used for loopbacks, host routes, firewall rules and cloud security-group entries.

The wildcard mask is the bitwise inverse of the subnet mask (0.0.0.255 for a /24). Cisco ACLs and OSPF network statements use wildcard masks instead of subnet masks.

Private IP ranges and local IP ranges

RFC 1918 reserves three private IP ranges that are never routed on the public internet: 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. These private network IP ranges are what home routers, office LANs and cloud VPCs use internally, with NAT translating them to a public address at the edge.

Other local IP ranges you will meet in logs include 100.64.0.0/10 (carrier-grade NAT), 169.254.0.0/16 (link-local addresses a host assigns itself when DHCP fails) and 127.0.0.0/8 (loopback). The calculator labels each result with its scope so you can tell instantly whether an address in an alert is internal or internet-facing.

Splitting and merging subnets

Splitting a block means borrowing host bits for the network portion. A /24 split into /26 subnets borrows 2 bits, producing 4 subnets of 64 addresses (62 usable hosts) each. Use Split on any row to halve it, or choose a target prefix to carve the whole block at once.

Merging (summarization or supernetting) is the reverse: two adjacent, equally sized and correctly aligned blocks combine into one block with a prefix one shorter. 10.0.0.0/25 and 10.0.0.128/25 merge into 10.0.0.0/24, but 10.0.0.128/25 and 10.0.1.0/25 cannot, because they do not share a /24 boundary.

  • AWS reserves 5 addresses per subnet (network, VPC router, DNS, future use, broadcast), so a /28 gives 11 usable instances, not 14.
  • Azure also reserves 5 addresses per subnet; GCP reserves 4.
  • Plan VPCs with room to grow: a /16 VPC split into /20 subnets gives 16 subnets of 4,091 hosts.

Subnet mask to CIDR and CIDR to IP range

To convert a subnet mask to CIDR, count the 1 bits: 255.255.255.224 is 27 ones, so it is a /27. The converter bar under the bit map does this for subnet masks and for Cisco-style wildcard masks (0.0.0.31 is also a /27), then loads the result into the calculator with one click.

Going the other way, the calculator is a CIDR to IP range converter: every block shows its first and last address. For an arbitrary range that does not fall on a block boundary, the IP range to CIDR field returns the smallest set of CIDR blocks that covers it exactly. 192.168.1.10 – 192.168.1.20 becomes 192.168.1.10/31, 192.168.1.12/30, 192.168.1.16/30 and 192.168.1.20/32, ready for a firewall allow-list or a cloud security group.

Class A, B and C IP address ranges

Before CIDR (1993), the first bits of an address fixed its network size. The classes no longer control routing, but they still appear in exams, legacy equipment and conversation, so the converter includes a reference table.

  • Class A: 1.0.0.0 – 126.255.255.255, leading bit 0, default mask /8, private block 10.0.0.0/8.
  • Class B: 128.0.0.0 – 191.255.255.255, leading bits 10, default mask /16, private block 172.16.0.0/12.
  • Class C: 192.0.0.0 – 223.255.255.255, leading bits 110, default mask /24, private block 192.168.0.0/16.
  • Class D (224.0.0.0/4) is multicast and class E (240.0.0.0/4) is reserved; 127.0.0.0/8 is loopback.

CIDR cheat sheet: subnet mask and notation table

Prefix lengths from /16 to /32 with mask, wildcard and host counts.
PrefixSubnet maskWildcardAddressesUsable hosts
/16255.255.0.00.0.255.25565,53665,534
/20255.255.240.00.0.15.2554,0964,094
/21255.255.248.00.0.7.2552,0482,046
/22255.255.252.00.0.3.2551,0241,022
/23255.255.254.00.0.1.255512510
/24255.255.255.00.0.0.255256254
/25255.255.255.1280.0.0.127128126
/26255.255.255.1920.0.0.636462
/27255.255.255.2240.0.0.313230
/28255.255.255.2400.0.0.151614
/29255.255.255.2480.0.0.786
/30255.255.255.2520.0.0.342
/31255.255.255.2540.0.0.122 (RFC 3021)
/32255.255.255.2550.0.0.011 (host route)

Prefix lengths from /16 to /32 with mask, wildcard and host counts.

Command-line examples

Show your interface address and prefix (Linux)

ip -4 addr show | grep inet

Show subnet mask on Windows

ipconfig | findstr /i "IPv4 Subnet"

Calculate on the command line

ipcalc 192.168.10.0/24

Available on most Linux distributions.

List AWS subnets with their CIDR blocks

aws ec2 describe-subnets --query "Subnets[].[SubnetId,CidrBlock,AvailableIpAddressCount]" --output table

Frequently asked questions

A /27 subnet contains 2^(32 − 27) = 2^5 = 32 IP addresses. Two are reserved (network 192.168.1.0 and broadcast 192.168.1.31 in the example block), leaving 30 usable host addresses; in AWS or Azure, which reserve 5, you can assign 27.

Related Engineering Guides