Common prefix sizes

CIDRNetmaskAddressesUsable hosts
/8255.0.0.016,777,21616,777,214
/16255.255.0.065,53665,534
/22255.255.252.01,0241,022
/24255.255.255.0256254
/26255.255.255.1926462
/28255.255.255.2401614
/30255.255.255.25242
/31255.255.255.25422 (RFC 3021)
/32255.255.255.25511 (single host)

Related tools

Identify who operates a network with the IP lookup (geolocation, ASN, VPN and Tor detection), browse ASN pages, or check which ports are open on your own IP.

Frequently Asked Questions

What does CIDR notation like /24 mean?

The number after the slash is how many bits of the address identify the network. A /24 fixes the first 24 bits, leaving 8 bits for hosts: 256 addresses, of which 254 are usable (network and broadcast addresses are reserved).

How many usable hosts does a subnet have?

2^(32 minus prefix) minus 2, because the first address names the network and the last is the broadcast. Exceptions: a /31 has 2 usable addresses (point-to-point links, RFC 3021) and a /32 is a single host.

Is anything sent to a server?

No. The calculation runs entirely in your browser with JavaScript; the addresses you type are never transmitted or stored.