IPv4 subnet calculator

Turn an IP/prefix into the network, broadcast, netmask, wildcard, usable host range and host count — and see whether it is private, CGNAT, link-local or public.

Network—
Broadcast—
Netmask—
Wildcard—
Usable host range—
Usable hosts—
Total addresses—
Address type—

Computed locally in your browser — nothing is sent anywhere. · Try:

What this shows

  • Network & broadcast — the first and last address of the block.
  • Netmask & wildcard — dotted-decimal mask and its inverse (as used by ACLs).
  • Usable range & count — first/last assignable address and how many hosts fit.
  • Type — private (RFC 1918), CGNAT, link-local, multicast, loopback or public.

Related reading: how NAT traversal worksand segmenting a home network.