Subnet and CIDR basics: how do you read a subnet calculator result?
A subnet calculator takes an address and a prefix length (CIDR notation like /24) and returns the network address, the broadcast address (IPv4 only), the usable host range between them, and the total host count, because the prefix length is what splits any IP address into a fixed network portion and a variable host portion that together define exactly which addresses belong to that subnet.
By AdminKit team, Netbase JSC · Updated October 29, 2026
What CIDR notation actually encodes
Before CIDR (Classless Inter-domain Routing), IPv4 addresses were divided into rigid classes (A, B, C) with fixed-size networks, which wasted huge amounts of address space on organizations that needed something in between. CIDR replaced that with a single, flexible idea: write the prefix length directly after the address, as in 192.168.1.0/24, where the number states exactly how many of the address’s leading bits are fixed as the “network” portion. Every bit after that prefix length is the “host” portion — free to vary across every device on that subnet. A /24 fixes 24 bits and leaves 8 free, giving 2^8 = 256 total addresses; a /28 fixes 28 bits and leaves only 4 free, giving 2^4 = 16 addresses. AdminKit’s subnet calculator does this arithmetic for you, entirely in your browser, for both IPv4 and IPv6.
Reading an IPv4 result
For IPv4, a subnet calculator result has four parts worth understanding:
- Network address — the first address in the range, with every host bit set to zero. This identifies the subnet as a whole; it isn’t assignable to an individual device.
- Broadcast address — the last address in the range, with every host bit set to one, reserved for sending a single message to every host on the subnet simultaneously. Also not assignable to a device.
- Usable host range — every address between the network and broadcast addresses, which is the actual pool of addresses you can assign to devices.
- Host count — how many usable addresses that range contains, always 2 less than the subnet’s total address count (to exclude the network and broadcast addresses), except for the two cases below.
The two standard exceptions are worth knowing: a /31 subnet, defined by RFC 3021 specifically for point-to-point links between two routers, treats both of its two addresses as usable, since a link with exactly two endpoints has no meaningful broadcast domain to reserve an address for. A /32 is a single host route with no subnet structure at all.
Reading an IPv6 result
IPv6 changes two things. First, there’s no broadcast address at all — IPv6 dropped broadcast in favor of multicast for one-to-many traffic, so a calculator doesn’t subtract one from the usable range the way it does for IPv4. Second, subnet sizes in IPv6 are conventionally far larger than IPv4 ever used: a /64 is the standard size for any subnet that devices connect to directly, giving 2^64 addresses — a number large enough that address exhaustion within a single subnet is not a practical concern, ever. That size isn’t arbitrary generosity; it’s a structural requirement of Stateless Address Autoconfiguration (SLAAC), which depends on a 64-bit host portion for a device to generate its own address without a DHCP server. See IPv6 and home devices: why no NAT means a firewall for what that large, directly-routable address space means for securing each device individually, since there’s no NAT boundary hiding them behind a single shared address the way IPv4 commonly does.
Why subnetting matters beyond the math
Subnetting isn’t just an arithmetic exercise — it’s how networks are segmented for both operational and security reasons. Splitting one large address block into smaller subnets lets an organization isolate a guest Wi-Fi network from internal servers, give each office location its own routable segment, or separate IoT devices from the rest of a network so a compromise in one segment doesn’t automatically expose the others. The same CIDR math also determines whether a given address falls inside a reserved range worth recognizing on sight: the private ranges defined by RFC 1918 (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), or the 100.64.0.0/10 block ISPs use for carrier-grade NAT — see what is CGNAT? for why an address in that specific range behaves differently from an ordinary private IP.
Using the calculator in practice
- Enter an address with a prefix (
192.168.1.0/24) or a dotted mask (10.0.0.0/255.255.0.0) for IPv4, or an address with a prefix (2001:db8::/64) for IPv6, in AdminKit’s subnet calculator. - Check the usable range before assigning addresses — accidentally assigning the network or broadcast address to a device is a classic, avoidable IPv4 misconfiguration.
- Remember it’s arithmetic, not a live scan — it tells you which addresses belong to a subnet on paper, not which ones are actually in use; pair it with your router’s connected-device list or a reachability check for that.
- For IPv6, expect a /64 by default unless you have a specific reason to subdivide it further, since most consumer and enterprise equipment assumes a /64 per subnet for SLAAC to work correctly.
This guide is general information, not a security audit of your specific network — see our disclaimer for what AdminKit's guidance does and does not commit to.
Frequently asked questions
What does the /24 in an address like 192.168.1.0/24 mean?
The number after the slash is the prefix length — how many of the address's leading bits are fixed as the network portion, defined by CIDR (RFC 4632). /24 means the first 24 bits (the first three of four octets in IPv4) identify the network, leaving the remaining 8 bits to identify individual hosts within it, giving 256 total addresses in that /24.
Why are the network and broadcast addresses not usable by a device?
The network address (all host bits set to zero) identifies the subnet itself, and the broadcast address (all host bits set to one) is reserved for sending a message to every host on that subnet at once — neither represents a single, addressable device, so both are excluded from the usable range. The one standard exception is a /31 subnet (RFC 3021), defined specifically for point-to-point links, where both addresses in the pair are usable since there's no broadcast domain with only two hosts.
Does IPv6 have a broadcast address like IPv4?
No — IPv6 has no broadcast concept at all; it uses multicast instead for one-to-many delivery. That's one reason IPv6 subnets don't subtract a broadcast address from their usable range the way IPv4 does, and why an IPv6 /64 subnet's entire address space (2^64 addresses) is, in principle, available to hosts.
Why is a /64 the standard IPv6 subnet size, when it's vastly larger than any network needs?
A /64 is sized for Stateless Address Autoconfiguration (SLAAC, RFC 4862), which lets a device generate its own address within the subnet without a DHCP server, using an interface identifier that occupies the remaining 64 bits. That mechanism assumes a 64-bit host portion; using a smaller host portion would break SLAAC for devices on that subnet, which is why /64 is the near-universal convention for any subnet IPv6 devices actually connect to, regardless of how few devices are on it.
Can a subnet calculator tell me whether an address is actually in use on my network?
No — it's pure address-plan arithmetic: given an address and prefix, it computes which addresses mathematically belong to that subnet. It has no visibility into which of those addresses are actually assigned to a live device; confirming that requires a separate reachability check, such as a ping sweep or your router's connected-devices list, not a subnet calculation.
Want AdminKit to watch this for you?
Free checks tell you the state today. Protective DNS and monitoring tell you when it changes.
Talk to an expert
Huy Nguyen (David), Founder & CEO, Netbase JSC
Ask whether this fix applies to your setup, or get a second pair of eyes on your DNS and mail records.