DeveloperTool 15
Subnet Calculator
Work out a network range and host count from an address and prefix without a spreadsheet.
Subnet Calculator
92 / 232Result
WaitingRun the tool and the result appears here. Copy it or download it — nothing leaves this tab.
Privacy
Everything you type stays in this tab and is processed by JavaScript on your device. Nothing is uploaded, logged or stored on a server.
How to use it
Add ipv4 and cidr in the field above. Nothing is uploaded while you type.
Press “Calculate subnet”. The network details appears in the result panel instantly.
Copy the network details or download the file, then close the tab.
When to use it
Network planning
Size a subnet and confirm how many usable hosts it provides.
Firewall rules
Get the network and broadcast addresses needed for a rule.
Troubleshooting
Check whether two addresses sit on the same subnet.
Questions
Does it support IPv6?
No. This calculator handles IPv4 only.
Why do /31 and /32 show no broadcast?
Those prefixes are point-to-point or single-host cases, so there is no separate usable broadcast address.
Does this tool upload my data?
No. Everything runs in this browser tab with JavaScript, so ipv4 and cidr never leaves your device.
How many usable hosts does a /24 subnet have?
254. The 256 addresses include the network and broadcast addresses, which cannot be assigned. A /25 gives 126 usable hosts, and each step down halves the count after the two reserved addresses.
Why does a /31 have no broadcast address?
It is reserved for point-to-point links, where two addresses are both usable and there is no broadcast. A /32 is a single host route. Both are exceptions to the usual network-and-broadcast rule.