CIDR reference · IPv4

The /26 CIDR block

64 addresses, 62 usable, subnet mask 255.255.255.192.

/26 · 255.255.255.192 Open in the calculator

64 addresses, 62 usable, mask 255.255.255.192. A /24 contains four /26s: .0, .64, .128 and .192.

Key numbers

Prefix length/26 (26 network bits, 6 host bits)
Subnet mask255.255.255.192
Mask in binary11111111.11111111.11111111.11000000
Wildcard mask0.0.0.63
Total addresses64
Usable hosts62 (total minus network and broadcast)
Fits in a /244 times
Block sizeIncrements of 64 in octet 4

Example ranges

Private (RFC 1918) blocks of this size. Click one to open it in the calculator.

BlockFirst addressLast addressUsable hosts
10.0.0.0/2610.0.0.010.0.0.6310.0.0.1 – 10.0.0.62
172.16.0.0/26172.16.0.0172.16.0.63172.16.0.1 – 172.16.0.62
192.168.0.0/26192.168.0.0192.168.0.63192.168.0.1 – 192.168.0.62

Usable addresses in the cloud

Cloud providers reserve a few addresses in every subnet for the router, DNS and future use, so the usable count is lower than the formula gives.

ProviderUsable in a /26Notes
AWS VPC subnet59Allowed (/16 to /28). AWS reserves the first four addresses and the last one.
Azure virtual network subnet59Allowed. Azure reserves the first four addresses and the last one.
Google Cloud subnet60Allowed. Google Cloud reserves the first two and the last two addresses.

How the numbers are derived

An IPv4 address has 32 bits. A /26 uses 26 of them for the network, leaving 6 host bits, so the block has 26 = 64 addresses. The first address (all host bits 0) is the network address and the last (all host bits 1) is the broadcast address, which leaves 62 for hosts. The subnet mask is 26 ones followed by 6 zeros, written in dotted decimal as 255.255.255.192; the wildcard mask 0.0.0.63 is its inverse, used in Cisco ACLs and OSPF configuration.

FAQ

How many hosts can a /26 have?

64 addresses in total, of which 62 are usable after removing the network and broadcast addresses. Cloud providers reserve a few more: 59 usable in AWS and Azure, 60 in Google Cloud.

How many /26 subnets fit in a /24?

4. A /24 has 256 addresses and a /26 has 64, so 256 ÷ 64 = 4 blocks.