Network Calculators · Free tool

Subnet Calculator

Enter any IP address with or without a CIDR prefix — get the network, broadcast, mask, wildcard, usable host range, and class instantly.

CIDR quick reference

How to use the subnet calculator

  1. Type an IP with a prefix (e.g. 192.168.1.10/24) or without one (defaults to /24). IPv6 addresses work too.
  2. Read the network and broadcast addresses, mask and wildcard, and the usable host range.
  3. Check the address class and type (public, private, loopback, CGNAT).
  4. Use the quick-reference table to compare common prefix lengths.

About this tool

Subnetting divides an address block into smaller networks by extending the mask. The network address identifies the subnet, the broadcast reaches every host inside it, and everything between is usable host space — minus two traditional exceptions (/31 and /32 links, per RFC 3021).

This calculator handles both protocol families: full CIDR math for IPv4 and prefix summaries for IPv6. All computation happens in your browser; the results update as you type.

Frequently asked questions

Why are 2 addresses always subtracted?

The lowest address (network) and highest (broadcast) are reserved in classic subnetting. /31 point-to-point links and /32 hosts are the standard exceptions.

What is a wildcard mask?

The inverse of the subnet mask, used in ACL syntax on routers and firewalls (e.g. 0.0.0.255 for a /24).

How many hosts fit in a /26?

64 total addresses, 62 usable — handy for small office LANs or VM clusters.

Looking for more? Browse the full tools library, read the site FAQ, or contact us.