ToolGrid — Product & Engineering
Leads product strategy, technical architecture, and implementation of the core platform that powers ToolGrid calculators.
Loading...
Preparing your workspace
Calculate IP address ranges, network addresses, broadcast addresses, usable host ranges, and subnet details from IP addresses and CIDR notation. Supports cloud provider reserved IPs (AWS, Azure, GCP) and provides detailed network information.
Note: AI can make mistakes, so please double-check it.
Common questions about this tool
Enter an IP address and CIDR notation (like 192.168.1.0/24). The calculator determines the network address, broadcast address, usable host range, subnet mask, wildcard mask, and total number of hosts in the network.
CIDR (Classless Inter-Domain Routing) notation combines an IP address with a prefix length (like /24). The number after the slash indicates how many bits are used for the network portion. /24 means 24 bits for network, 8 bits for hosts (256 addresses).
The calculator shows network address (first IP), broadcast address (last IP), usable host range (excluding network and broadcast), subnet mask, wildcard mask, total hosts, usable hosts, and binary representations. It also accounts for cloud provider reserved IPs.
Cloud providers (AWS, Azure, GCP) reserve some IPs in each subnet for their services (like .0 for network, .1 for gateway, .2-.3 for DNS). The calculator shows both theoretical and actual usable IPs after accounting for these reservations.
Yes, change the CIDR prefix to calculate different subnet sizes. Smaller prefixes (like /16) create larger networks with more hosts, while larger prefixes (like /28) create smaller networks. The calculator works with any valid CIDR prefix from /0 to /32.
Type an IPv4 address with a slash prefix length, such as `192.168.1.0/24`, and click Calculate Range; the tool parses the input, validates the IP and CIDR, then converts them to integers to compute the network address, broadcast address, and usable host range. It shows you the first and last usable IPs, total and usable host counts, and lets you copy the full summary in a text block for documentation or firewall rules.
When you enter a `/24` network (for example `10.0.5.0/24`), the calculator derives `2^(32‑24) = 256` total addresses and displays that as Total Hosts. It also shows the usable host count (typically 254 for standard subnets, excluding network and broadcast) and highlights the exact usable range between the first and last host rows so you can see which addresses are assignable.
The app converts the prefix length to a 32‑bit mask with the correct number of leading 1‑bits, then renders it in dot‑decimal form under Subnet Mask and as a binary string under Binary Subnet Mask. So if you enter something like `/20`, you immediately see `255.255.240.0` plus its 32‑bit binary representation, which you can copy directly into router or firewall configuration.
For standard networks it computes the network and broadcast addresses and then treats everything in between as usable, adjusting edge cases like /31 and /32 where all IPs may be usable. The UI exposes both the raw Total Hosts (`2^(32‑CIDR)`) and a separate Usable Hosts figure, and shows the corresponding first and last usable IP fields so you can quickly confirm what is actually assignable.
You can toggle cloud context to AWS VPC, Azure VNet, or Google Cloud, and the calculator adjusts the usable range by subtracting provider‑specific reserved addresses at the start and end of the block. It also lists these reserved IPs in a Cloud Reserved IP Addresses section (for example, AWS reserving the first four and last one), so you can see exactly which addresses are kept for gateways, DNS, and metadata instead of guessing.
Paid feature: batch CIDR calculation up to 15 ranges (free: 3). Upgrade
No recent activity
Enter an IP address and CIDR suffix to see the full network breakdown.
Verified content & sources
This tool's content and its supporting explanations have been created and reviewed by subject-matter experts. Calculations and logic are based on established research sources.
Scope: interactive tool, explanatory content, and related articles.
ToolGrid — Product & Engineering
Leads product strategy, technical architecture, and implementation of the core platform that powers ToolGrid calculators.
ToolGrid — Research & Content
Conducts research, designs calculation methodologies, and produces explanatory content to ensure accurate, practical, and trustworthy tool outputs.
Based on 1 research source:
We’ll add articles and guides here soon. Check back for tips and best practices.