Toolman

/26 subnet

A /26 has a subnet mask of 255.255.255.192 and 62 usable hosts.

The numbers

Prefix length/26
Subnet mask255.255.255.192
Wildcard mask0.0.0.63
Network bits26
Host bits6
Total addresses64
Usable hosts62
/24 networks contained

Where a /26 is used

A quarter of a /24, 62 hosts. Common for a segment that will not grow: a DMZ, a management network, a set of printers.

Why the usable count is what it is

A /26 leaves 6 bits for hosts, giving 26 = 64 addresses. Two of those cannot be assigned to a machine: the one with all host bits set to zero is the network address, which names the subnet itself, and the one with all host bits set to one is the broadcast address. That leaves 62.

Binary layout

mask   11111111.11111111.11111111.11000000
       ^^^^^^^^^^^^^^^^^^^^^^^^^^      
       26 network bits, 6 host bits

Splitting and combining

PrefixUsable hostsRelationship
Twice the size/25126Two /26 networks combine into one /25
This network/2662
Half the size/2730One /26 splits into two /27 networks
A quarter/2814Four /28 networks fit in a /26

Frequently asked questions

How many hosts are in a /26?

64 addresses in total, of which 62 are usable. The first is the network address and the last is the broadcast address, so two are always lost.

What is the subnet mask for /26?

255.255.255.192. The prefix length is the count of leading 1 bits in the mask, so /26 is 26 ones followed by 6 zeros.

What is the wildcard mask for /26?

0.0.0.63 — the bitwise inverse of the subnet mask. Cisco access lists and OSPF network statements take the wildcard rather than the mask; a zero bit must match and a one bit is ignored.

How does a /26 compare to a /24?

A /26 is smaller: 4 of them fit inside one /24.

Other prefix lengths

All prefix lengths · Subnet calculator