IPV4 SUBNET CALCULATOR
IPv4 CIDR and subnet calculator
Address boundaries, calculated clearly.
On this page
Input
This tool performs IPv4 arithmetic without external DNS Lookups. Inputs and results are not stored in URLs, search history, or a database.
Results
Explanation and notes
- For /0–/30, the host count is total addresses minus two. Special-purpose reservations and device restrictions can reduce actual assignability or connectivity.
- A /31 is treated as a two-address point-to-point link under RFC 3021, with no subnet-directed broadcast. Both endpoints must support it.
- A /32 represents one address or a host route. The traditional total-minus-two count is clamped to zero and shown separately.
- CIDR membership includes network and broadcast addresses. Membership and placement within the model’s host range are shown separately.
- Range conversion returns a minimal exact CIDR cover without including addresses outside your range.
- Special-purpose categories follow the IANA registry and related specifications. Reachability is not tested, including for ordinary unicast candidates.
IANA IPv4 Special-Purpose Address Space · RFC 3021 · Classification data checked: 2026-10-17