/18 subnet (255.255.192.0)
Everything about a /18 network: mask, wildcard, number of hosts, example ranges and when to use it.
| Prefix (CIDR) | /18 |
|---|---|
| Subnet mask | 255.255.192.0 |
| Wildcard mask | 0.0.63.255 |
| Total addresses | 16,384 |
| Usable hosts | 16,382 |
| Block size | 64 in the third octet |
| Mask in binary | 11111111.11111111.11000000.00000000 |
What is a /18 used for?
Cloud VPC ranges and route summaries for big sites. A /18 contains 64 /24 networks.
How the numbers are worked out
/18 means the first 18 bits of the address are the network part, leaving 14 bits for hosts. 214 = 16,384 addresses. Take away 2 for the network and broadcast addresses and you get 16,382 usable hosts.
The mask has 18 ones followed by 14 zeros. The wildcard mask is the opposite: 255.255.255.255 minus the subnet mask, 0.0.63.255.
Example /18 networks
| Network | Usable range | Broadcast |
|---|---|---|
10.0.0.0/18 | 10.0.0.1 – 10.0.63.254 | 10.0.63.255 |
10.0.64.0/18 | 10.0.64.1 – 10.0.127.254 | 10.0.127.255 |
10.0.128.0/18 | 10.0.128.1 – 10.0.191.254 | 10.0.191.255 |
10.0.192.0/18 | 10.0.192.1 – 10.0.255.254 | 10.0.255.255 |
Each next /18 network starts 16,384 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 /18 subnet?
A /18 has 16,384 addresses in total and 16,382 usable hosts. The first address is the network address and the last is the broadcast address.
What is the subnet mask for /18?
The subnet mask for /18 is 255.255.192.0, and the wildcard mask (used in Cisco ACLs and OSPF) is 0.0.63.255.
What is a /18 subnet used for?
Cloud VPC ranges and route summaries for big sites.
Other prefix sizes
Learn more: subnetting in your head, subnetting step by step and the subnetting cheat sheet.