IPv4 subnet calculator
Calculate the network, broadcast, usable address range and host count from an IPv4 address with a CIDR prefix or subnet mask.
Plan IPv4 subnets by host count, inspect usable ranges and free blocks, and export the allocations as CSV.
One subnet per line: name = hosts, or just a host count. Up to 100 subnets.
Unallocated CIDR blocks
Divide a parent network among departments or device groups with different capacity requirements.
Enter an IPv4 parent network with a CIDR prefix, then add up to 100 lines of name=hosts, such as LAN=100. A host count alone also works. Subnets are allocated from largest to smallest; review usable host ranges, spare capacity and remaining CIDR blocks, then copy or download the CSV.
Ordinary subnets reserve a network and broadcast address by default. Enable the /31 and /32 option to use those prefixes for two-host and single-host requests. Insufficient space produces an error rather than a partial plan. No network configuration is changed.
Ordinary subnets reserve both. Enable /31 and /32 support for two-host and single-host requests. Allocation runs largest first and stops if the parent network lacks space.
Each subnet is rounded up to a power-of-two block after reserving its network and broadcast addresses. Two requests for 100 hosts each use two /25 blocks and consume the entire /24. Use a larger parent network or reduce the requests; unused host slots inside a subnet are not unallocated blocks.
Your choice about analytics
We use Umami to measure page visits. Analytics is optional, and your tools work either way.
Your current setting allows analytics.
Your current setting does not allow analytics.
The analytics service has changed. Refresh the page after finishing your current work to apply the new settings.
Your browser is sending a Do Not Track or Global Privacy Control signal. Analytics will remain off.
We use Umami to understand which pages people visit and how they find this site. You can decline or change your choice at any time. All site features will still work.
Your choice is saved in this browser for six months. Analytics does not upload files or content you enter in our tools.
Privacy Policy
Comments
0