How we worked it out
Updated as you change the numbers.
- /26 leaves 6 host bits: 2^6 = 64 addresses.
- Network = address with the host bits cleared; broadcast = all host bits set. The two are not usable for hosts (except in /31 and /32).
Method and assumptions
An IPv4 address is 32 bits; the prefix length says how many leading bits identify the network. The rest identify hosts. In /31 point-to-point links (RFC 3021) both addresses are usable.
Questions
How many hosts does a /26 have?
62 usable hosts out of 64 addresses.
Sources
Method and figures checked on . Every worked answer on this page is covered by an automated test. Found a mistake? Tell us.