← All tools

Usable Host Calculator

Enter prefix length. Get usable host count instantly.

Usable hosts254
Total addresses256

How to read the result

Usable = 2^(32−prefix) − 2. /31 = 2 (RFC 3021), /32 = 1.

Example

/24 → 254 usable, 256 total

FAQ

Why minus 2?

Network and broadcast addresses cannot be assigned to hosts.