IP CIDR Calculator

Calculate network details from CIDR notation: netmask, broadcast, first/last host, total addresses, binary representation.

Developer Tools
Ad
Common subnets

Common use cases

Frequently asked questions

What does /24 mean?

24 bits of the 32-bit IPv4 address are network bits, leaving 8 bits for hosts. So /24 contains 2⁸ = 256 addresses, with 254 usable hosts (network and broadcast are reserved).

Why does /31 only have 2 hosts?

For point-to-point links (RFC 3021), /31 networks skip the network/broadcast reservation and use both addresses for hosts.

Related tools