A /26 subnet mask is 255.255.255.192, with 64 addresses and 62 usable hosts.
| CIDR prefix | /26 |
|---|---|
| Subnet mask | 255.255.255.192 |
| Subnet mask (binary) | 11111111.11111111.11111111.11000000 |
| Wildcard mask | 0.0.0.63 |
| Network bits / host bits | 26 / 6 |
| Total addresses | 64 |
| Usable hosts | 62 |
| /26 subnets in a /8 | 262,144 |
| /26 subnets in a /16 | 1,024 |
| /26 subnets in a /24 | 4 |
The mask ends 2 bits into octet 4, so blocks step in increments of 64 in that octet. A quarter of a /24, giving four subnets of 62 usable hosts each.
| Network | First usable host | Last usable host | 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 |
A /26 subnet mask is 255.255.255.192. In binary that is 11111111.11111111.11111111.11000000: 26 network bits followed by 6 host bits. The wildcard mask is 0.0.0.63.
A /26 holds 64 addresses in total. Subtracting the network and broadcast addresses leaves 62 usable hosts.
A /24 divides into 4 subnets of size /26, because each extra mask bit doubles the number of subnets.
Calculate this over HTTP: curl https://networkcalc.com/api/ip/192.168.1.0/26.
See the Subnet Calculator API.