ToolGrid β Product & Engineering
Leads product strategy, technical architecture, and implementation of the core platform that powers ToolGrid calculators.
AI Credits in development β stay tuned!AI Credits & Points System: Currently in active development. We're building something powerful β stay tuned for updates!
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.
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.
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.