ToolGrid — Product & Engineering
Leads product strategy, technical architecture, and implementation of the core platform that powers ToolGrid calculators.
Loading...
Preparing your workspace
Calculate subnet masks, network addresses, host ranges, and VLSM strategies for IP networks with professional network planning tools. Converts between CIDR notation and subnet masks, determines usable host addresses, calculates broadcast addresses, and optimizes IP address allocation. Essential for network administrators designing enterprise networks and troubleshooting connectivity issues.
Note: AI can make mistakes, so please double-check it.
Network
10.0.0.0
Usable Range
10.0.0.1 - 10.0.0.62
Broadcast
10.0.0.63
Mask
255.255.255.192
Usable Hosts
62
Wildcard
0.0.0.63
Network
10.0.0.64
Usable Range
10.0.0.65 - 10.0.0.94
Broadcast
10.0.0.95
Mask
255.255.255.224
Usable Hosts
30
Wildcard
0.0.0.31
Network
10.0.0.96
Usable Range
10.0.0.97 - 10.0.0.110
Broadcast
10.0.0.111
Mask
255.255.255.240
Usable Hosts
14
Wildcard
0.0.0.15
Get network design insights
Click "Get Insights" to analyze your network configuration.
Download a server-built CSV with each segment's network, mask, ranges, and masks for documentation or change control.
CSV export is available on paid plans. View pricing
Common questions about this tool
Enter an IP address and subnet mask (or CIDR notation like /24), and the calculator determines the network address, broadcast address, usable host range, number of hosts, and all subnet information.
VLSM (Variable Length Subnet Masking) allows different subnet sizes in the same network. The calculator helps you plan VLSM strategies by calculating optimal subnet sizes for different network segments, maximizing IP address efficiency.
Yes, enter the subnet mask or CIDR notation, and the calculator shows the total number of IP addresses, usable host addresses (excluding network and broadcast), and the host range for that subnet.
CIDR notation (like /24) is a shorthand way to represent subnet masks. /24 means 24 bits are used for the network portion. The calculator converts between CIDR notation and traditional subnet mask format (like 255.255.255.0).
Absolutely. Network administrators use it for IP address planning, subnet design, troubleshooting network issues, understanding network topology, and optimizing IP address allocation in enterprise networks.
Enter a base IPv4 network such as 10.0.0.0 and choose a CIDR prefix with the slider. Then define one or more segments with host counts (for example Management 10, Workstations 50, Servers 20). The tool validates inputs and calls its subnet planner to carve that address space into concrete subnets, showing network address, usable range, broadcast, mask, wildcard and binary mask for each segment.
For every planned segment it displays the network address with CIDR, subnet mask, wildcard mask, broadcast address and a human-readable usable host range. It also shows total and usable host counts per subnet plus a binary representation of the mask. A visual allocation bar summarizes how many hosts are used versus the total capacity of the base network so you can see utilization at a glance.
Yes. Under the Config Templates tab, each subnet includes a ready-made Cisco IOS snippet and a basic Linux Netplan block. The Cisco example uses an interface subnumber, description and ip address with the calculated mask, while the Netplan snippet shows the interface and CIDR notation. These outputs are static text templates based on the computed addresses; the tool does not push configs to devices.
The current implementation validates and plans only IPv4 address space. It expects dotted-decimal IPv4 input like 192.168.1.0 and CIDR prefixes between the defined MIN_CIDR and MAX_CIDR constants. IPv6 parsing, /64 planning and related features are not implemented, so IPv6 addresses will fail validation and cannot be used in the calculator.
An AI assistant panel labeled Network Architect can analyze the current NetworkPlan object, which includes base network, CIDR, subnets and utilization figures. When you open it, the tool sends that structured plan to a backend Gemini service under the subnet-calculator identifier and renders the returned suggestions or commentary. AI output is advisory only and does not change the calculated subnets or any configuration templates.
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:
Learn what this tool does, when to use it, and how it fits into your workflow.
This tool splits a base IP network into smaller subnets using variable-length subnet masking (VLSM). You enter a base IP address and a CIDR prefix (for example 10.0.0.0/24). You then add one or more segments: each segment has a name and a number of hosts needed. The tool allocates a subnet for each segment, sorted from largest to smallest, and shows the network address, broadcast address, usable range, subnet mask, CIDR, and usable host count for each. It shows a bar of how the address space is used and can show config snippets for Cisco IOS and Linux Netplan. If the base network is too small for all segments, it reports that address space is exhausted. An optional AI analysis can give short insights on your plan.
Network planners often need to divide one big network into several smaller ones. Each part needs a different number of hosts. Doing it by hand you must pick a subnet size for each part (a power of two that fits the hosts plus network and broadcast), assign addresses one after another, and work out the mask and range for each. One mistake and addresses overlap or you run out of space. This tool does the allocation for you. You list the segments and how many hosts each needs. It picks the smallest block that fits each, allocates in order (largest first), and shows all the details. It does not decode a single IP and mask; it plans many subnets from one base network.
The tool is for network administrators, students, and anyone planning IP subnets. You need a basic idea of IP addresses and CIDR. You enter the base network, add segments with host counts, and read the results. A first-time user can get started in a few steps.
An IPv4 address is 32 bits. A CIDR prefix (for example /24) means the first 24 bits are the network part and the rest are the host part. So /24 gives 2 to the power of (32 minus 24) equals 256 addresses in that subnet. Two of those are reserved: the first is the network address, the last is the broadcast address. So you have 254 usable host addresses. To split a bigger network (for example 10.0.0.0/24) into smaller subnets, you use a longer prefix for each part: /25 gives 128 addresses, /26 gives 64, and so on. Each subnet must start on a boundary that matches its size. Variable-length subnet masking (VLSM) means different subnets can have different sizes (different CIDR values) in the same parent network.
Planning by hand you must decide the size for each segment. For n hosts you need at least n plus 2 addresses (network and broadcast). The smallest block that fits is the next power of two above n plus 2. So 10 hosts need 12, and the next power of two is 16; that segment gets a /28 (32 minus 4 equals 28, because 2 to the 4 is 16). You then assign the first 16 addresses to that subnet, the next block to the next segment, and so on. If you assign in the wrong order you can waste space. This tool sorts segments by host count (largest first), picks the block size for each, and allocates in order. It shows network address, broadcast, usable range, subnet mask, CIDR, total and usable hosts, binary mask, and wildcard mask for each subnet. If the total space needed exceeds the base network size, it stops and reports address space exhausted.
The base network must be a valid IPv4 address. The base CIDR must be between 1 and 30. Total address space in the base is 2 to the power of (32 minus base CIDR). Segments are sorted by host count descending (largest first). For each segment, the tool computes the smallest power of two that is at least (host count plus 2). That power determines the block size (2 to that power) and the subnet CIDR (32 minus that power). The first subnet starts at the base network address (as an integer). The next starts at the previous start plus the previous block size, and so on. If for a segment (current offset plus block size) is greater than the total base space, the tool returns an error and the list of subnets allocated so far.
For each allocated subnet: network address is base plus offset (as IP); broadcast is network plus block size minus 1; usable range is network plus 1 to broadcast minus 1; subnet mask is derived from the subnet CIDR (32 minus CIDR zero bits); wildcard mask is the inverse of the subnet mask; binary mask is the subnet mask in binary with dots between octets. Usable hosts equals block size minus 2. The allocation bar uses the same block sizes; total length is the base space; each subnet is a segment of the bar; remaining space is labeled free space.
Assumptions: IPv4 only; base network is the first address of the block (no check that it is actually a network address); segments are allocated in order from the start of the base; no overlap or gap handling beyond sequential allocation.
Use a base IP that is the start of your block (e.g. 10.0.0.0 for a /24). Set the base CIDR to the size of the block you are allowed to split. Add segments in any order; the tool sorts by host count. Give each segment a clear name so the details and configs are easy to match. If you see address space exhausted, increase the base size (e.g. /23) or reduce host counts or remove segments. Use the config templates as a starting point; adjust interface names and other settings for your gear.
The tool supports IPv4 only, not IPv6. CIDR is limited to 1 through 30; /31 and /32 are not used. Maximum 50 segments; host count per segment has an upper limit. The tool does not decode a single IP and mask to show network and broadcast; it only plans multiple subnets from one base. The AI analysis is optional and may be unavailable. Results are not saved; refresh clears the page. For critical networks, verify addresses and masks with another source or device.
If the plan looks wrong, check that the base IP is valid and the base CIDR matches your actual block. Ensure host counts are correct (each segment needs at least 1). Use the allocation bar to see if a lot of space is left or if it is full. If you need more segments, add them and see if address space is still enough.
Articles and guides to get more from this tool
You are a network administrator setting up an office network. Your company has been assigned the IP address block 192.168.1.0/24. You need t…
Read full articleSummary: Calculate subnet masks, network addresses, host ranges, and VLSM strategies for IP networks with professional network planning tools. Converts between CIDR notation and subnet masks, determines usable host addresses, calculates broadcast addresses, and optimizes IP address allocation. Essential for network administrators designing enterprise networks and troubleshooting connectivity issues.