How to Use an IP Subnet Calculator
Enter an IP network in CIDR notation and calculate it to see its normalized boundaries, address totals, host range, and classifications. Leaving the field empty uses `192.168.1.0/24`.
Enter an IP network in CIDR notation and calculate it to see its normalized boundaries, address totals, host range, and classifications. Leaving the field empty uses 192.168.1.0/24.
Understand the calculator before starting
An IP subnet calculator converts an IP address and CIDR prefix into structured network details. It can return the normalized network and broadcast addresses, mask information, prefix length, host-range values, address counts, and classifications for the supplied network text. The tool calculates from that text, and its network access is disabled, so the result is a description of the entered value rather than a connectivity check.
Use it when you need to inspect CIDR structure, compare subnet sizes, or review the range represented by a prefix. The network field is optional: leaving it blank uses 192.168.1.0/24. A CIDR value combines an IP address with a slash and prefix length, such as 10.0.0.0/8 or 2001:db8::/32. Results identify IPv4 or IPv6, with IPv4 output also providing subnet-bit information and a binary netmask.
Enter a CIDR value and inspect the output
- Open the IP Subnet Calculator.
- In the network field, enter an IP address followed by its CIDR prefix. For example, enter
10.0.0.0/8. To use the preset value, leave the field empty. - Start the calculation after checking that the address and prefix form one value.
- Read the returned network address, broadcast address, mask details, prefix length, host range, and address totals. For IPv4, also review subnet-bit information and the binary netmask. For IPv6, use the identified version and inspect the fields returned for that network.
- Review the private, global, and multicast classifications calculated for the parsed network.
- Compare the entered address with the returned network boundary if the address contains host bits. The calculator parses such input non-strictly and normalizes it to the corresponding network boundary while retaining the CIDR prefix.
- If the entry is malformed, read the returned error information and correct the address or prefix before using the result. A successful operation status alone does not confirm that the supplied text was valid.
Interpret boundaries, counts, and classifications
Treat the network address and broadcast address as the calculated boundaries of the selected network. The prefix length identifies the network portion, while the total address count describes the size represented by that prefix. Host count is separate: it equals the total address count minus two, with zero as the lower limit. A small range can therefore show zero hosts, and the first and last host fields can each show N/A when no host is available.
Normalization matters when host bits appear in the entered address. The returned network address may differ from the address you typed, even though the supplied prefix remains unchanged. For 10.0.0.0/8, the result shape contains IPv4 classification, a normalized /8 prefix, network and broadcast fields, mask details, host-range fields, and 16,777,216 total addresses. The reported host count is 16,777,214.
Use the classification values as computed properties of the supplied network text. They do not establish reachability, ownership, connectivity, security, or suitability for a network design.
Worked example
A network administrator checks the size and boundaries represented by the 10.0.0.0/8 CIDR network before reviewing its address range.
Enter 10.0.0.0/8 in the network field, then start the calculation and inspect the returned fields described above without treating them as a connectivity test.
The result includes IPv4 classification, a normalized /8 prefix, network and broadcast fields, mask details, host-range fields, 16,777,216 total addresses, and 16,777,214 reported hosts.
Limitations
- The result contains calculations and classifications from supplied network text; it does not establish reachability, ownership, connectivity, security, or design suitability.
Common errors
- A malformed network string can return an error message while the operation remains marked successful. Correct the IP address or CIDR format, then calculate again instead of relying on that status.
FAQ
Can I use the calculator without entering a network?
Yes, the field is optional. If you leave it empty, the calculator uses 192.168.1.0/24; entering a value makes the calculation use that network text.
Does the calculator support IPv6?
Yes, a valid IPv4 or IPv6 network with a CIDR prefix is supported. IPv4 results additionally include subnet-bit information and a binary netmask.
Why is the returned network address different?
If host bits are present, the calculator normalizes the address to its corresponding network boundary while retaining the prefix. Check the returned network address before reading the range.