What is a subnet and CIDR notation?
A subnet is a block of IP addresses that share the same leading bits. CIDR notation writes the block as an address plus the number of fixed bits, so 192.168.1.0/24 means the first 24 bits identify the network and the last 8 bits number up to 256 addresses. The first address is the network itself and the last is the broadcast address, which leaves 254 usable hosts. Network engineers, cloud architects (AWS VPC, Azure, GCP) and anyone writing firewall rules use these numbers every day.
Features
- • IPv4 with CIDR prefix or dotted netmask, plus IPv6 prefixes
- • Network, broadcast, usable host range, wildcard mask and address class
- • Detects private, CGNAT, loopback, link-local, multicast and documentation ranges
- • Binary, hex and integer views of the address and mask
- • Split a block into smaller subnets and a /8 to /32 cheat sheet
Calculated locally
All subnet math runs in your browser. Internal IP ranges you type are never sent to a server or logged.