tip
~/geeksubnet/masks/26

/26 subnet mask: 255.255.255.192

Every value on this page is reproducible in the calculator.

The /26 prefix means the first 26 bits of the address identify the network and the remaining 6 identify the host. Written out, the mask is 255.255.255.192, in binary 11111111.11111111.11111111.11000000, and its Cisco wildcard or inverse form is 0.0.0.63. It covers 64 addresses, of which 62 can be given to hosts.

/26 at a glance

CIDR prefix/26
Subnet mask255.255.255.192
Mask in binary11111111.11111111.11111111.11000000
Wildcard (inverse) mask0.0.0.63
Host bits6
Total addresses64
Usable hosts62
Block size (magic number)64 in octet 4

Every /26 inside 192.168.1.0/24

A 192.168.1.0/24 splits into exactly 4 subnets of this size.

NetworkFirst hostLast hostBroadcast
192.168.1.0/26192.168.1.1192.168.1.62192.168.1.63
192.168.1.64/26192.168.1.65192.168.1.126192.168.1.127
192.168.1.128/26192.168.1.129192.168.1.190192.168.1.191
192.168.1.192/26192.168.1.193192.168.1.254192.168.1.255

The magic number for /26

Take the interesting octet of the mask, the one that is neither 255 nor 0. For /26 that is 192 in octet 4. Subtract it from 256:

256 - 192 = 64

That is the block size. Every /26 network address is a multiple of 64 in octet 4, so you can list them by counting: 0, 64, 128, 192, and so on. No binary needed once you know the number.

Where a /26 shows up in practice

A /26 gives 62 usable addresses, four to a /24. It is the workhorse of departmental addressing: one floor, one team, one small office. Big enough that nobody complains, small enough that a /24 covers four of them.

Frequently asked questions

How many hosts are in a /26?

A /26 holds 64 addresses in total. After reserving the network and broadcast addresses, 62 are usable by hosts.

What is the subnet mask for /26?

The /26 subnet mask is 255.255.255.192 in dotted-decimal notation.

What is the wildcard mask for /26?

The wildcard mask, also called the inverse mask, is 0.0.0.63. It is the bitwise inverse of 255.255.255.192 and is what Cisco access lists and OSPF network statements expect.

What is /26 in binary?

The /26 mask written out bit by bit is 11111111.11111111.11111111.11000000: 26 ones followed by 6 zeros.

How many /26 subnets fit in a /24?

A /24 splits into 4 subnets of /26.

Neighbouring masks: /25 is one bit shorter and holds twice as many addresses. /27 is one bit longer and holds half as many.
full cheat sheet subnetting basics open the calculator