/26 subnet (255.255.255.192)
Everything about a /26 network: mask, wildcard, number of hosts, example ranges and when to use it.
| Prefix (CIDR) | /26 |
|---|---|
| Subnet mask | 255.255.255.192 |
| Wildcard mask | 0.0.0.63 |
| Total addresses | 64 |
| Usable hosts | 62 |
| Block size | 64 in the fourth octet |
| Mask in binary | 11111111.11111111.11111111.11000000 |
What is a /26 used for?
Small office VLANs, printers, cameras or a department with up to 62 devices. 4 subnets of /26 fit in one /24.
How the numbers are worked out
/26 means the first 26 bits of the address are the network part, leaving 6 bits for hosts. 26 = 64 addresses. Take away 2 for the network and broadcast addresses and you get 62 usable hosts.
The mask has 26 ones followed by 6 zeros. The wildcard mask is the opposite: 255.255.255.255 minus the subnet mask, 0.0.0.63.
Example /26 networks
| Network | Usable range | Broadcast |
|---|---|---|
192.168.1.0/26 | 192.168.1.1 – 192.168.1.62 | 192.168.1.63 |
192.168.1.64/26 | 192.168.1.65 – 192.168.1.126 | 192.168.1.127 |
192.168.1.128/26 | 192.168.1.129 – 192.168.1.190 | 192.168.1.191 |
192.168.1.192/26 | 192.168.1.193 – 192.168.1.254 | 192.168.1.255 |
Each next /26 network starts 64 addresses after the previous one. Work out any address with the free subnet calculator, or split a network into different sizes with the VLSM planner.
Frequently asked questions
How many hosts are in a /26 subnet?
A /26 has 64 addresses in total and 62 usable hosts. The first address is the network address and the last is the broadcast address.
What is the subnet mask for /26?
The subnet mask for /26 is 255.255.255.192, and the wildcard mask (used in Cisco ACLs and OSPF) is 0.0.0.63.
What is a /26 subnet used for?
Small office VLANs, printers, cameras or a department with up to 62 devices.
Other prefix sizes
Learn more: subnetting in your head, subnetting step by step and the subnetting cheat sheet.