Network security

/26 Subnet Mask Explained: 255.255.255.192, 64 Addresses, 62 Hosts

A /26 is one of the most useful subnet sizes: big enough for a small office or a VLAN, small enough to carve a network into four tidy pieces. Here is the math, worked out step by step.

Cysoro Security TeamPublished · 7 min read
192.168.1.73 / 26 Network .64Hosts 62Range .65–.126Broadcast .127 255.255.255.192/ 26 NETWORK SECURITY /26 subnet mask 64 addresses. 62 hosts. Four per /24.
Quick answer

A /26 subnet mask is 255.255.255.192. It means the first 26 of an IPv4 address's 32 bits identify the network and the last 6 bits identify hosts, giving 64 addresses in total and 62 usable hosts, because the network address and the broadcast address cannot be assigned to a device.

Key takeaways

  • A /26 mask is 255.255.255.192, with 64 addresses and 62 usable hosts per subnet.
  • Subnets fall on multiples of 64 in the last octet: 0, 64, 128 and 192.
  • Splitting a /24 into /26 subnets gives four subnets of 62 usable hosts each.

A /26 is one of the handiest subnet sizes in networking: big enough for a small office, a classroom or a camera VLAN, and small enough to carve a network into four tidy pieces. It shows up constantly in firewall rules, VPN configurations and exam questions — and the math behind it is just counting bits.

What is a /26 subnet mask?

A /26 subnet mask is 255.255.255.192. The number after the slash is the prefix length: it counts how many of the 32 bits in an IPv4 address identify the network. In a /26, the first 26 bits are the network part and the last 6 bits are the host part.

A subnet mask writes the same information as a dotted-decimal address: network bits are set to 1 and host bits are set to 0. A /26 is 26 ones followed by 6 zeros.

In binary that is 11111111.11111111.11111111.11000000 — and 11000000 in the last octet is 192. That is why /26 and 255.255.255.192 are the same fact in two notations. CIDR, the system that replaced classful addressing, is defined in RFC 4632.

How many hosts does a /26 have?

A /26 subnet has 64 addresses in total and 62 usable hosts. The host part has 6 bits, and 2 to the power of 6 is 64, so the block holds 64 addresses.

Two of them are reserved in ordinary IPv4 subnets: the first address names the network itself, and the last address is the broadcast address. Neither can be assigned to a device, so 64 minus 2 leaves 62 usable hosts.

A /26 splits 32 bits: 26 network, 6 host 26 network bits — fixed for the whole subnet 6 host bits Mask: 11111111 . 11111111 . 11111111 . 11000000 Decimal: 255 . 255 . 255 . 192 2⁶ = 64 addresses − 2 reserved = 62 usable hostsReserved: the network address (all host bits 0) and the broadcast address (all host bits 1).
A /26 has 6 host bits, so 64 addresses, minus the network and broadcast addresses, leaves 62 usable hosts. Illustration by Cysoro.

The general formula is 2 raised to the power of (32 minus the prefix), minus 2. For a /26 that is 2^(32-26) - 2 = 2^6 - 2 = 62. The same formula gives 254 usable hosts for a /24 and 126 for a /25.

How does a /26 compare to nearby subnet sizes?

Each step up in prefix length halves the block; each step down doubles it. This table shows the sizes network engineers meet most often, all from the same formula.

PrefixSubnet maskTotal addressesUsable hostsTypical use
/24255.255.255.0256254A whole small network
/25255.255.255.128128126A large department
/26255.255.255.1926462Small office, VLAN, camera network
/27255.255.255.2243230Small team, point-to-point links
/28255.255.255.2401614Tiny segment, lab network
/29255.255.255.24886Smallest practical LAN
/30255.255.255.25242Router-to-router link

The octet values worth memorizing are 128, 192, 224, 240, 248, 252, 254 and 255. Each step adds one network bit and halves the block.

Worked example: what subnet is 192.168.1.73/26 in?

The one number you need is the block size: 256 minus the interesting mask octet — the one that is neither 255 nor 0. For a /26 that is 256 - 192 = 64, so subnets start at multiples of 64 in the last octet: 0, 64, 128 and 192.

  1. Find the block size: 256 - 192 = 64.
  2. Find the network address: 73 falls between 64 and 128, so round down to 64. The network address is 192.168.1.64.
  3. Find the broadcast address: one below the next boundary (128), so the broadcast is 192.168.1.127.
  4. Find the usable range: everything between the network and broadcast addresses: 192.168.1.65 to 192.168.1.126 — 62 addresses.

So 192.168.1.73 and 192.168.1.100 are on the same subnet, but 192.168.1.130 is not: it sits in 192.168.1.128/26, and traffic to it must go through a router. The same method works for any address — try 10.20.30.40/26: the block starts at 10.20.30.0, the broadcast is 10.20.30.63, and usable hosts run from 10.20.30.1 to 10.20.30.62.

One /24 splits into four /26 subnets 192.168.1.0/26hosts .1 – .62broadcast .63 192.168.1.64/26hosts .65 – .126broadcast .127 192.168.1.128/26hosts .129 – .190broadcast .191 192.168.1.192/26hosts .193 – .254broadcast .255 Each /26 keeps 62 usable hosts. Splitting borrows 2 host bits, giving 2² = 4 subnets.Example use: .0/26 servers · .64/26 staff · .128/26 guests · .192/26 cameras. 192.168.1.73 lives in the second subnet: network .64, broadcast .127.
Splitting a /24 into /26 subnets gives four blocks of 64 addresses. Illustration by Cysoro.

How do you split a /24 into /26 subnets?

Splitting a network means borrowing host bits for the network part, as described in RFC 950, the original subnetting standard.

Going from /24 to /26 borrows two bits, which gives 2^2 = 4 subnets of 64 addresses each. This is the classic way to divide one office network into separate segments — for example, servers, staff, guests and cameras.

SubnetNetworkUsable rangeBroadcastExample use
1192.168.1.0/26.1 to .62.63Servers
2192.168.1.64/26.65 to .126.127Staff
3192.168.1.128/26.129 to .190.191Guests
4192.168.1.192/26.193 to .254.255Cameras

Each segment gets its own broadcast domain and, with a router or a Layer 3 switch between them, its own firewall rules. A guest device on 192.168.1.150 cannot reach a server on 192.168.1.10 without passing a rule that allows it — which, for guest traffic, it should not.

What is the wildcard mask for a /26?

The wildcard mask is the bitwise inverse of the subnet mask: a 1 bit means "this bit can be anything" and a 0 bit means "this bit must match". Subtract each mask octet from 255, so the wildcard for a /26 is 0.0.0.63. Cisco access lists and OSPF network statements use wildcard masks instead of subnet masks.

For example, this access list matches the whole 192.168.1.64/26 subnet:

access-list 10 permit 192.168.1.64 0.0.0.63

That one line matches 192.168.1.64 through 192.168.1.127 — exactly the 64 addresses in the subnet. A common mistake is writing the subnet mask (255.255.255.192) where a wildcard mask belongs; the two are inverses, and swapping them matches the wrong addresses entirely.

How do you calculate any /26 subnet?

You do not need a calculator for a /26, but a repeatable method helps under pressure. Take 10.1.5.200/26 as the example.

  1. Prefix to mask: /26 is 255.255.255.192 — three full 255 octets (24 bits) plus 192, the top two bits of the last octet.
  2. Count the addresses: 32 - 26 = 6 host bits, so the block holds 2^6 = 64 addresses.
  3. Find the network address: the block size is 64, so boundaries are 0, 64, 128 and 192. 200 falls between 192 and 256, so the network is 10.1.5.192.
  4. Find the broadcast and range: the broadcast is one below the next boundary: 10.1.5.255. Usable hosts are 10.1.5.193 to 10.1.5.254 — 62 addresses.

You can verify any of these numbers with the ipcalc command on Linux or macOS, or with Python. To see the address your own connection uses today, try our what is my IP tool: python3 -c "import ipaddress; print(ipaddress.ip_network('192.168.1.73/26', strict=False))" prints the network, and the ip_network object gives you the broadcast address and host range too.

Common mistakes with /26 subnets

Most /26 errors come from treating the last octet as decimal instead of binary. The blocks are 64 addresses wide, not 100, so a subnet never starts at .100 or ends at .199.

  • Counting 64 usable hosts: there are 64 addresses but only 62 usable — the network and broadcast addresses are reserved.
  • Assigning the network address to a host: giving a device the address 192.168.1.64 in a /26 breaks its connectivity, because other hosts treat that address as the network itself.
  • Assigning the broadcast address: the same problem at the other end — 192.168.1.127 is not a host.
  • Mixing up the mask and the wildcard: 255.255.255.192 is the mask; 0.0.0.63 is the wildcard. They are inverses.
  • Assuming /26 fits 64 devices: if you need 60 hosts plus a gateway, a printer and room to grow, a /26 is already too small — use a /25.
  • Forgetting the gateway needs an address too: the router's address comes out of the same 62 usable hosts.
Leave room to growA subnet that is exactly full today is a renumbering project tomorrow. If you expect more than about 50 devices in a segment, choose a /25 (126 usable hosts) instead of squeezing into a /26.

When should you use a /26?

A /26 is the right size when a segment needs roughly 30 to 60 hosts and you want to keep broadcast traffic and security boundaries tight.

If that segment is a home network, our guide to how to secure your Wi-Fi covers the router settings that sit alongside your subnet plan.

Typical uses are a small office floor, a VLAN for IP cameras, a guest network, a lab, or one department in a larger building. It is also the standard answer when an exam or a firewall rule asks for "about 50 hosts".

It is the wrong size for a network that might grow past 62 hosts, for a DHCP pool with many short-lived devices such as phones and laptops, and for router-to-router links, where a /30 (2 usable hosts) or a /31 is the right tool.

Choosing the subnet size is a capacity decision: count the hosts you have, add the gateway and any reserved addresses, add headroom for growth, and pick the smallest prefix that still fits.

The bottom line

A /26 subnet mask is 255.255.255.192: 64 addresses, 62 usable hosts, with subnets falling on multiples of 64. Learn the block-size trick — 256 minus the mask octet — and you can find any /26 network, broadcast and host range in seconds, without a calculator.

If you are planning the network those subnets will live on, the practical next step is working out how many ports and VLANs the hardware needs. Our guide to the best network switch for home covers the switches — including smart models with VLAN support — that make subnetting at home actually work.

Frequently asked questions

What is a /26 subnet mask?

A /26 subnet mask is 255.255.255.192. The /26 means 26 of the 32 bits in an IPv4 address identify the network, leaving 6 bits for hosts. It is the same fact written two ways: CIDR notation (/26) and dotted-decimal mask notation (255.255.255.192).

How many hosts are in a /26 subnet?

A /26 subnet has 64 addresses in total and 62 usable hosts. The formula is 2 to the power of 6 host bits, which is 64, minus 2 for the network address and the broadcast address, which cannot be assigned to a device.

What is the broadcast address of 192.168.1.73/26?

The broadcast address is 192.168.1.127. The address 192.168.1.73 falls in the subnet starting at 192.168.1.64, and the broadcast is one below the next boundary at 192.168.1.128, so it is 192.168.1.127.

How many /26 subnets fit in a /24?

Four. A /24 has 256 addresses; dividing it into blocks of 64 gives four /26 subnets, starting at .0, .64, .128 and .192, each with 62 usable hosts.

What is the wildcard mask for a /26?

The wildcard mask for a /26 is 0.0.0.63. It is the bitwise inverse of the subnet mask 255.255.255.192, and it is used in Cisco access lists and OSPF network statements to match the 64 addresses in the subnet.

When should I use a /26 instead of a /24?

Use a /26 when you need about 50 hosts or fewer in one segment and want to split a larger network into separate broadcast domains — for example, separating staff, guests, servers and cameras. If you need more than 62 hosts, a /26 is too small and you need a /25 or a /24.

Is a /26 the same as 255.255.255.192 in IPv6?

No. IPv6 also uses prefix notation, but a /26 in IPv6 would mean something completely different, and IPv6 subnets are normally /64 for a LAN. The mask 255.255.255.192 and the 64-address block apply to IPv4 only.

Sources

  1. IETF — RFC 4632: Classless Inter-domain Routing (CIDR)
  2. IETF — RFC 950: Internet Standard Subnetting Procedure
  3. IETF — RFC 791: Internet Protocol
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against RFC 4632 (CIDR), RFC 950 (subnetting) and RFC 791 (IPv4), with every worked example verified by hand calculation.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free