How an IPv4 subnet calculator works
CIDR notation combines an IPv4 address with a prefix: 192.168.1.42/24. The prefix tells you how many of the 32 address bits belong to the network. A /24 leaves eight host bits, or 256 addresses, and corresponds to the mask 255.255.255.0.
Network, broadcast and usable host addresses
The network address identifies the subnet. The broadcast address reaches all hosts on a conventional IPv4 broadcast domain. For typical subnets from /0 through /30, the first and last addresses are reserved as network and broadcast addresses. A /31 is frequently used for point-to-point links, where both addresses are available; a /32 identifies one address. Your provider or equipment may apply other policies.
Why divide a subnet?
Subnetting lets you assign smaller ranges to VLANs, teams or isolated services. For example, splitting 192.168.1.0/24 into /26 blocks creates four 64-address ranges. Calculate the original subnet above, then select the new prefix to preview the networks and ranges.
What this tool does not check
It does not test whether an IP is allocated, reachable, owned by you, routed over the internet or available for your organization to use. Network planning also requires address inventory, router configuration, firewall policy and authoritative allocation data.
Related: Public vs private IP addresses and IPv6 address calculator.