/26 subnet explained: usable addresses and address ranges

Share

A `/26` subnet is a 64-address IPv4 block with 62 usable host addresses. The subnet mask is `255.255.255.192`, and the main job is to find the network address, broadcast address, and usable range from that block. If you’re handed a router config or a subnetting question, `/26` tells you the network uses 26 bits and leaves 6 bits for hosts. That makes the block size 64 addresses, with the first address reserved as the network address and the last reserved as the broadcast address.

What a /26 subnet actually means

CIDR notation /26 tells you how many bits are fixed for the network portion of an IPv4 address. IPv4 has 32 bits total, so /26 leaves 6 host bits. Six host bits means 2^6 = 64 addresses in the subnet.

That’s the key idea: a /26 is one block of 64 consecutive IPv4 addresses. The first address in the block is the network address, the last address is the broadcast address, and the 62 addresses in between are the ones you can assign to hosts.

So if you see /26, think “64-address block, 62 usable hosts.”

How many IPs you get in a /26

A /26 subnet has 64 total IP addresses.

Out of those 64:

  • 1 address is the network address
  • 1 address is the broadcast address
  • 62 addresses are usable host addresses

That’s why people often describe /26 as supporting 62 devices, even though the subnet itself contains 64 addresses. The network and broadcast addresses are part of the block, but you don’t assign them to devices.

For example, if your subnet is 192.168.1.0/26, the usable host count is still 62. The exact usable range changes with the network address, but the count does not.

What the subnet mask looks like

The dotted-decimal subnet mask for /26 is 255.255.255.192.

That last octet, 192, is what gives you the 64-address block size. In the final octet, 192 means the subnet mask leaves 6 bits for hosts because 192 in binary is 11000000.

A quick way to connect the mask to the block size is this:

  • /24 has 256 addresses
  • /25 splits that into 2 blocks of 128
  • /26 splits that into 4 blocks of 64

So if you already know the mask is 255.255.255.192, you can also know the subnet size is 64 addresses without doing the full bit math.

How to find the range in a real example

Say you have 192.168.1.0/26.

Start with the block size. A /26 block has 64 addresses, so the ranges in a 192.168.1.0/24 network step by 64 in the last octet:

  • 192.168.1.0 - 192.168.1.63
  • 192.168.1.64 - 192.168.1.127
  • 192.168.1.128 - 192.168.1.191
  • 192.168.1.192 - 192.168.1.255

For 192.168.1.0/26, the details are:

  • Network address: 192.168.1.0
  • Usable range: 192.168.1.1 through 192.168.1.62
  • Broadcast address: 192.168.1.63

That’s the full block. If you were configuring a device inside this subnet, any address from 192.168.1.1 to 192.168.1.62 would fit, as long as it doesn’t conflict with something already in use.

If the subnet were 192.168.1.64/26, the network would be 192.168.1.64, the broadcast would be 192.168.1.127, and the usable range would be 192.168.1.65 through 192.168.1.126.

Where a /26 fits and why people use it

A /26 is a good fit when you need a small-to-medium subnet and want some room above a tiny lab network. It’s common in small office VLANs, test networks, printer or device segments, and point-of-sale networks where you want a limited number of hosts in one broadcast domain.

It can also be useful when you want to split a larger network into several evenly sized pieces. For example, one /24 can be divided into four /26 subnets, which makes planning easier if you need separate groups for users, guests, servers, or devices.

People use /26 because it gives a tidy number of usable addresses without wasting as many IPs as a /24. It’s not the right choice for every case, but it’s a common one when 62 usable addresses is enough.

It does not fit every subnetting problem. If you need more than 62 usable hosts in one network, a /26 is too small. If you need fewer hosts and want to save address space, a smaller block may make more sense.

The mistakes people make with /26

The most common mistake is mixing up total addresses with usable addresses. A /26 has 64 addresses, but only 62 of them can go on hosts.

Another common mistake is getting the block size wrong. For /26, the subnet jumps by 64, not by 26. In the last octet, the subnet boundaries are 0, 64, 128, 192.

People also confuse the first and last addresses in the block. The first address is the network address, and the last address is the broadcast address. Neither one should be assigned to a device.

A final error is assuming the usable range always starts at .1 and ends at .254. That only happens in a /24. With /26, the usable range depends on which 64-address block you’re in.

Quick check before you configure it

Before you put a /26 into a router, switch, or firewall, use this simple check:

  • Confirm the mask is 255.255.255.192
  • Confirm the subnet size is 64 addresses
  • Find the network boundary by counting in steps of 64
  • Make sure the address you plan to assign is not the network address or broadcast address
  • Make sure the gateway IP is inside the usable range

If you want a fast sanity check, take the last octet and see which block it belongs to. For example, 1 through 62 belongs to 192.168.1.0/26, 65 through 126 belongs to 192.168.1.64/26, and so on.

If your numbers line up with those boundaries, your subnet math is probably right.

A network technician is checking a router at a desk with a laptop.

Conclusion

If you remember just one thing, make it this: a `/26` is a 64-address block with 62 usable host addresses. The subnet mask is `255.255.255.192`, and the block boundaries move in steps of 64. Use that to check the network address, broadcast address, and usable range before you paste anything into a config.

Frequently Asked Questions

Is a /26 always 62 usable hosts?

Yes, for standard IPv4 subnetting, a /26 always has 64 total addresses and 62 usable host addresses.

What is the first usable IP in a /26?

It depends on the network address. The first usable IP is always the network address plus 1.

How do I find the next /26 subnet?

Add 64 to the last octet of the current network address, as long as you are staying within the same larger network block.