Subnet Calculator
Calculate IPv4 CIDR subnets, masks, ranges and host counts, inspect binary details, or split a network into power-of-two subnets.
Calculate IPv4 CIDR subnets, masks, ranges and host counts, inspect binary details, or split a network into power-of-two subnets.
- Prepare your input
Choose the relevant options using the controls below.
- Run your task
Adjust the controls below and inspect the preview.
- Use the result
Check the result, then use the available copy or download controls.
IP Address & Subnet
Subnet count (power of 2, 2–256)
Network Information
CIDR Quick Reference
Subnet Calculator
Enter an IPv4 address with a CIDR prefix or a contiguous subnet mask to calculate the network, broadcast, wildcard mask, host range, host count and binary values. The tool also classifies common address types such as private, loopback, link-local, documentation and multicast; the classification is informational and does not prove reachability.
Use the split view to divide the calculated network into 2–256 equal subnets. The split count must be a power of two and the resulting prefix cannot exceed /32. /31 and /32 use the tool’s point-to-point and host rules, so their usable-host values differ from ordinary networks. Copy the complete result or reset the calculator for another range.
Features
- Calculate IPv4 network, broadcast, wildcard mask, ranges and host counts from CIDR or a mask.
- Inspect binary address/mask details and address-type classification.
- Split a network into 2–256 equal power-of-two subnets when the new prefix fits.
- Copy the calculated summary or reset the inputs.
How to use
- Enter an IPv4 address and choose CIDR prefix or subnet-mask mode.
- Review the network, broadcast, host range, counts and binary values.
- Open split mode, choose a valid power-of-two count and inspect each resulting subnet.
- Copy the summary and verify the range against your network plan.