The /26 subnet

A /26 subnet uses the mask 255.255.255.192 and holds 64 addresses, 62 of them usable.

/26
Prefix length
255.255.255.192
Subnet mask
0.0.0.63
Wildcard mask
62
Usable hosts

A /26 splits a /24 into smaller pieces: 64 addresses and 62 usable hosts, with the mask 255.255.255.192. It is a tidy size for a small VLAN, a DMZ, or a rack of servers.

Right-sizing a subnet to a /26 avoids wasting a full /24 on a handful of hosts. The wildcard mask 0.0.0.63 is the form you use in access lists and firewall rules to match this range.

Below you can see the exact network, broadcast, and host range for any /26 you enter, calculated instantly in your browser.

Calculate a /26 network

Accepts CIDR (192.0.2.0/24), IP + mask (192.0.2.0 255.255.255.0), or a bare IP (defaults to /24).

Network address192.0.2.0
Usable host range192.0.2.1 - 192.0.2.62
Broadcast address192.0.2.63
Usable hosts62
Subnet mask255.255.255.192
Wildcard mask0.0.0.63
CIDR notation192.0.2.0/26
Total addresses64
IP (binary)11000000.00000000.00000010.00000000
Mask (binary)11111111.11111111.11111111.11000000
Try:

Example: 192.0.2.0/26

Taking 192.0.2.0/26 as a worked example, the block breaks down like this:

Network address192.0.2.0
Usable range192.0.2.1 - 192.0.2.62
Broadcast address192.0.2.63
Total addresses64
Usable hosts62
Size1/4 of a class C block

Frequently asked questions

What is the subnet mask for a /26?

A /26 uses the subnet mask 255.255.255.192. Its wildcard mask, used in access lists, is 0.0.0.63.

How many hosts are in a /26 subnet?

A /26 has 64 total addresses and 62 usable hosts (the total minus the network and broadcast addresses, except for /31 and /32).

What is a /26 used for?

Small subnet. It is equivalent to 1/4 of a class C block.

How do I calculate a /26 network?

Set the host bits to zero for the network address and to one for the broadcast address. The calculator on this page does it for any /26 block you enter.