CIDR Notation: Classless Inter-Domain Routing notation represents IP networks with a network address and prefix length (e.g., /24 means 24 bits for network, 8 bits for hosts).
Private Networks: RFC 1918 defines private IP address ranges that are not routable on the public internet.
Usable Hosts: Total addresses minus network and broadcast addresses (N/A for /31 and /32 networks).
ℹ️ About IP Range Calculator
Use this IPv4 range calculator to expand CIDR notation, compare explicit start and end addresses, and test whether a host address belongs to a subnet. CIDR writes a network as an IPv4 address plus a prefix length, such as 192.168.1.0/24; the prefix length identifies the high-order network bits described by RFC 4632, while the underlying 32-bit IPv4 address format comes from RFC 791.
What the Calculator Returns
CIDR and Subnet Details
- Network address: the first address after the subnet mask is applied.
- Broadcast address: the traditional last address in the IPv4 subnet.
- Subnet mask: the dotted-decimal form of the CIDR prefix.
- Wildcard mask: the inverse mask often used in access-control rules.
- Total and usable hosts: total addresses plus the classic host range when network and broadcast addresses are excluded.
Range and Membership Checks
- Count every address between two IPv4 endpoints, inclusive.
- Generate a bounded list of addresses from a CIDR block.
- Check whether an address such as
10.0.0.25is inside a block such as10.0.0.0/24. - Validate dotted-decimal IPv4 octets and prefix lengths from
/0through/32. - Identify historical Class A, B, C, D, and E labels for quick legacy documentation checks.
Practical Examples
192.168.1.0/24 contains 256 total addresses, with 192.168.1.1 through 192.168.1.254 as the classic usable host range.
10.20.30.10 to 10.20.30.25 is 16 addresses, useful when checking allowlists or denylist ranges.
172.16.5.20 is inside 172.16.0.0/12, while 172.32.0.1 is outside that private range.
Private and Special IPv4 Blocks
The calculator flags the three private-use ranges reserved by RFC 1918. Private addresses are valid inside local networks, VPNs, labs, and NAT environments, but they are not globally routed on the public Internet.
10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255
Other addresses, including loopback, link-local, benchmarking, documentation, multicast, and shared carrier-grade NAT space, have special handling in the IANA IPv4 Special-Purpose Address Registry. This page performs address math; it does not prove that an address is publicly reachable.
Common Use Cases
- Network planning: choose subnet sizes, document gateway ranges, and avoid overlapping allocations.
- Firewall and ACL review: confirm whether a rule covers the intended address span before applying it.
- DHCP configuration: reserve network, broadcast, gateway, and static addresses before choosing a pool.
- Troubleshooting: verify whether two devices should be on the same layer-3 segment.
- Inventory cleanup: generate a short candidate IP list for lab, asset, or allowlist checks without scanning the network.
Limitations and Notes
- This calculator is IPv4-only. IPv6 prefixes use a 128-bit address space and different notation rules.
- Address lists are intentionally bounded in the interface, so large networks such as
10.0.0.0/8show a sample rather than millions of rows. - The usable-host count follows the classic network-and-broadcast convention. On point-to-point links, RFC 3021 allows
/31prefixes to use both addresses as host addresses, which may differ from the displayed classic count. - Historical network classes are shown for context only. Modern IPv4 routing and allocation are based on CIDR prefixes, not fixed classful boundaries.
- The page calculates ranges and membership locally in the browser; it does not ping, scan, geolocate, or contact the addresses you enter.
API Usage Example:
POST /api/tools/network/ip-range-calculator
Content-Type: application/json
{
"operation": "cidr",
"cidr": "192.168.1.0/24"
}