What Is CIDR Notation?
CIDR (Classless Inter-Domain Routing) notation, like 192.168.1.0/24, packs both an IP address and a subnet mask into one compact form. The number after the slash is the prefix length - how many leading bits of the address are fixed as the "network" portion. A /24 means the first 24 bits (three full octets) identify the network, leaving 8 bits (256 addresses) for hosts within it. Everything this tool computes - network address, broadcast address, usable host range, subnet mask - falls directly out of that one number using pure binary math, no external lookup needed.
IPv6 uses the exact same CIDR concept but with 128-bit addresses instead of 32-bit, so prefixes commonly range up to /64 or /128 rather than /32.
What This Calculator Shows
Frequently Asked Questions
No - every calculation (network address, broadcast, host range, masks) is pure binary arithmetic done in your browser's JavaScript. Nothing about your IP or network is looked up externally or sent anywhere.
The tool defaults to /24 for IPv4 addresses and /64 for IPv6 addresses (the most common real-world defaults) if you leave off the "/prefix" part.
A /32 is a single host address with no room for a network/broadcast split. A /31 (2 addresses) is a special case defined by RFC 3021 for point-to-point links, where both addresses are usable as hosts instead of being reserved.
It handles standard expanded and "::"-compressed notation with up to one "::" per address (per the IPv6 spec), which covers the vast majority of real-world addresses - embedded IPv4 (like ::ffff:192.0.2.1) and zone-index suffixes (%eth0) are not parsed.