IPv4 Subnet

CIDR calculator: network, broadcast, mask, host range and class.

Loading tool…

About this tool

Enter an address and prefix length in CIDR notation to get the network and broadcast addresses, subnet mask, wildcard mask, usable host range and total host count, plus the address scope (private, loopback, link-local or public).

Edge cases follow the standards: /31 point-to-point links report two usable addresses per RFC 3021 and /32 host routes report one, rather than the negative counts some calculators produce.