How to calculate a subnet
1. Enter IP / CIDR
Type something like 192.168.1.130/26 — or pick the mask from the dropdown.
2. Read the results
Network, broadcast, first and last usable host, host count, wildcard and full binary view.
3. Copy what you need
Every value has one-click copy — ready for configs and documentation.
Subnetting splits a network into smaller ranges: the prefix length (/26) says how many bits identify the network, and the rest address hosts. A /26 leaves 6 host bits → 64 addresses, 62 usable (network and broadcast are reserved). Common sizes: /24 = 254 hosts (the classic LAN), /30 = 2 hosts (point-to-point links), /32 = a single host route. Check your public address with What Is My IP, or do the binary math by hand with the Number Base Converter.